Microsoft Teams: View code blocks on mobile
Microsoft Teams mobile app will support improved viewing of code blocks with syntax highlighting, line numbers, and scrollable containers starting February 2026. This feature is enabled by default, requires no admin action, and allows users to view code blocks sent from desktop or web clients on iOS and Android devices.

Introduction
We’re introducing improved support for viewing code blocks in the Microsoft Teams mobile app for iOS and Android. This update responds to customer feedback from technical and developer-focused teams who rely on accurate, readable code formatting when collaborating on the go.
When this will happen
- Public Preview: We will begin rolling out in early February 2026 and expect to complete by mid-February 2026.
- General Availability (Worldwide): We will begin rolling out in mid-February 2026 and expect to complete by late February 2026.
How this will affect your organization
Who is affected: All users of the Microsoft Teams mobile app on iOS and Android.
What will happen:
- Users will be able to view code blocks sent from Teams desktop or web clients directly on mobile devices.
- Code blocks will appear as a message object (similar to a file preview) optimized for small screens:

- Tapping the preview will open a full-screen reader that includes:
- Syntax highlighting
- Line numbers
- Scrollable containers for long snippets
- No admin controls are added with this update.
- This feature is enabled by default and requires no configuration.
- There is no impact to existing messaging workflows or policies.
What you can do to prepare
Compliance considerations
- No admin action is required. The feature will roll out automatically.
- Optional actions:
- Notify developer or technical user groups who may benefit from this improvement.
- Update internal documentation if you maintain guidance on using code blocks in Teams.
- Review Microsoft Teams documentation for more about code block formatting.
No compliance considerations identified. Review as appropriate for your organization.
Message ID: MC1223820

HANDS ON tek
M365 Admin


