Slack vs Microsoft Teams

Slack and Microsoft Teams are both commercial products, so the choice turns on existing Microsoft licensing, data residency, export needs and lock-in. A self-hosted option such as Mattermost, Rocket.Chat or Matrix with Element fits better when the organization must control the server, keep history in its own infrastructure or run air-gapped.

On this page

Slack vs Microsoft Teams: when each one fits

Slack fits teams that want a standalone chat product with plan-level export and residency options, and Microsoft Teams fits organizations already licensed for Microsoft 365 with Teams included. If a renewal, a licensing change or a residency rule has forced this decision, the answer turns on four questions: what your current licensing includes, where messages must live, what must be exported and whether your organization must control the server. Start with the license. Microsoft's April 1, 2024 change introduced Microsoft 365 and Office 365 suites without Teams outside the EEA and Switzerland, plus a standalone Teams offering, and suites that include Teams are no longer sold to new subscribers worldwide. Confirm which offer your tenant holds before comparing costs, since a suite without Teams may need a separate Teams purchase.

Export rights differ more than most buyers expect. Every Slack plan can export messages and file links from public channels, but private channels and direct messages require Business+ or Enterprise, and custom exports by member or conversation are Enterprise-only. Slack's export help article sets out these limits. Data residency also requires Business+ or Enterprise, and it keeps messages, canvases, files and search indexes in a chosen region while member profiles, usage and analytics data stay outside it. On the Microsoft side, the Teams Export APIs in Microsoft Graph can pull 1:1, group, meeting and channel messages using admin-approved application permissions, but they need an active Teams license on every user being exported. Ask your compliance lead to list the conversations that must be retained, then test one export from each platform before you sign.

A self-hosted option is the better route when the organization must control the server, for example when a regulator or customer contract requires that chat history, encryption keys and admin access stay in your own data center or cloud account. Mattermost Team Edition is free, open source and self-hosted, aimed at teams under 250 users that do not need single sign-on, and paid editions add SSO, AD/LDAP sync, clustering and compliance export. Rocket.Chat offers a free self-managed Starter workspace for evaluation and small teams, with commercial plans for on-premises and air-gapped deployments. Confirm with each vendor which features your user count requires. Then plan for the work that moves to your team: someone must run the database, apply upgrades and rebuild integrations, tasks the hosted services handle for you today.

Slack vs Microsoft Teams by buying scenario

This table matches Slack and Microsoft Teams to the buying situations that usually trigger a decision, such as a licensing change, a history limit or a residency rule. Read each row for the better fit and the condition that would reverse it. Self-hosted options appear only where their documented features support that row.

Buying scenarioBetter fit and whyWhat flips the answer
Already licensed for a Microsoft 365 suite that includes TeamsMicrosoft Teams. The chat is already paid for in the suite, and your admins already manage those users.The suite no longer includes Teams. Since April 1, 2024, Microsoft has stopped selling suites with Teams to new subscribers worldwide, so confirm the SKU at renewal.
Slack Free workspace nearing its history limitSlack Pro for unlimited history with the least change. Mattermost Team Edition for under 250 users without SSO.Your team needs SSO or 250 or more users. Slack Free content older than one year is permanently deleted, so plan exports early.
EU data residencySelf-hosted Mattermost or Rocket.Chat in your EU datacenter, so profile and usage data stay in your control.Slack Business+ fits if regional storage of messages and files is enough and profile and analytics data may sit outside the region.
Regulated team needing retention and exportMattermost paid editions, which include compliance export, when you want retention and exports under your own control.Teams if Graph exports meet your needs. They need an active license for each exported user and recover deleted messages for up to 21 days.
Air-gapped networkRocket.Chat Commercial, Government or Defense plans, or Element Server Suite Sovereign edition, both documented for disconnected deployments.Only if the network can reach vendor cloud. Slack cannot run without its cloud; confirm any Teams on-premises option with Microsoft.
Small team needing SSO with under 50 usersRocket.Chat Starter, free for up to 50 users, includes LDAP, Active Directory and SSO. Mattermost SSO needs a paid edition.Above 50 users Starter no longer fits. Then compare paid Rocket.Chat plans with a Microsoft 365 suite that already includes Teams.
Moving out later (exit planning)Self-hosted Mattermost, where the Slack migration path moves users, channels, DMs, threads and attachments.Slack if you need integrations to move with you, since Mattermost does not carry integrations, user groups or Slack Connect channels.

How the choice branches from licensing, residency and control

The diagram starts with whether the organization already licenses a Microsoft 365 suite that includes Teams, since Microsoft no longer sells those suites to new subscribers worldwide. It then asks whether data must stay in a region and whether private channels must be exported. On Slack, private channel export requires Business+ or Enterprise. The last branch asks whether the organization must control the server or run air-gapped. A yes sends the decision to Mattermost, Rocket.Chat or Element. Confirm each vendor's region options and export rights in writing before choosing.

Decision path from licensing and residency to control requirements and endpoints.

Slack vs Microsoft Teams side by side on capabilities

This table compares Slack and Microsoft Teams on plan structure, message history, export routes, data residency, admin export access and the EU Data Boundary. Read each row against your current contract and admin settings, since plan tiers and Microsoft licensing changes affect what you can export. Meetings, calling and app ecosystem details are not covered in depth here, so confirm them in each vendor's current documentation.

CapabilitySlackMicrosoft Teams
Plan modelFree, Pro, Business+ and Enterprise+. Enterprise Key Management is an add-on on Business+ and included on Enterprise+.Suites with Teams are no longer sold to new subscribers worldwide. Standalone Teams and suites without Teams have been offered since April 1, 2024.
Message historyFree keeps 90 days of history, and content older than one year is permanently deleted. Pro, Business+ and Enterprise+ keep unlimited history.Retention depends on your tenant policies, so confirm current retention settings with Microsoft. Export APIs can retrieve user-deleted messages for up to 21 days.
Export pathsPublic channel messages and file links on every plan. Private channels and DMs need Business+ or Enterprise.Microsoft Graph Teams Export APIs cover 1:1, group, meeting and channel messages, plus recording and transcript links.
Data residencyBusiness+ or Enterprise only. Messages, canvases, files and search indexes sit in a chosen region; profiles and analytics do not.Confirm the data location of your Teams tenant and which workloads it covers in Microsoft's current documentation.
Export access for adminsPrivate channel and DM exports need Business+ or Enterprise. Custom exports by member or conversation need Enterprise.Admin-approved application permissions are required, and each exported user needs an active Teams license.
EU Data BoundaryCovered through regional data residency on Business+ or Enterprise. Confirm the current region list and scope with Slack.Microsoft announced completion on February 26, 2025 for EU and EFTA customers. Confirm Teams data is in scope for your tenant.
Meetings, calling and appsNot covered in this table. Confirm huddles, calling and app directory terms in Slack's current documentation.Not covered in this table. Confirm meetings, calling and app support in Microsoft's current documentation.

Slack vs Microsoft Teams pricing structure and what drives the bill

Slack prices by workspace plan and add-ons, while Microsoft prices by suite, region and sales availability, so the two bills rarely compare line for line. The cards below show where each bill changes shape and what to get in writing before you sign. Confirm current figures on each vendor's pricing and licensing pages, since they change.

Slack tiers and history limits

Slack's plans are Free, Pro, Business+ and Enterprise+. Free keeps message and file history for a limited window, and Slack states that Free workspace content older than one year is permanently deleted. Pro, Business+ and Enterprise+ offer unlimited message history, so retention requirements can decide the tier before seat count does. Map your records obligations to a tier first, then compare per-user figures within that tier.

Free history window
90 days
Slack pricing

Slack key management and residency

Enterprise Key Management is an add-on on Business+ and is included on Enterprise+. Data residency also requires Business+ or Enterprise and stores messages, canvases, files and search indexes in a chosen region such as Frankfurt, Paris, London or Tokyo. Member profiles, usage and analytics data stay outside that region, so a residency review should classify each data type separately. Ask the vendor in writing which data stays where and how key custody is handled.

Slack data residency

Microsoft suites without Teams

Microsoft introduced Microsoft 365 and Office 365 suites without Teams outside the EEA and Switzerland, alongside a standalone Teams offering. The same suite name can therefore carry different chat rights depending on where the buying entity or users sit. Confirm in writing whether the quoted SKU includes Teams and which location rule applies. Do not assume that a suite includes Teams because it includes Office applications.

Standalone Teams effective
April 1, 2024
Microsoft licensing news

Suites with Teams withdrawn

Existing suites with Teams are no longer sold to new subscribers worldwide. If you are renewing, adding seats or buying for a new subsidiary, the Teams-inclusive SKU you used before may not be orderable. Ask your reseller or Microsoft which replacement SKU covers the same features, whether it changes mid-term seat additions, and how true-up charges are calculated. Get those answers in the quote, because verbal assurances are hard to enforce at renewal.

Teams licenses that exit depends on

Teams Export APIs in Microsoft Graph can export 1:1, group, meeting and channel messages, plus meeting recording and transcript links, using admin-approved application permissions. Each exported user must hold an active Teams license, so reclaiming a leaver's license before the export runs can cut off their data. Deleted messages remain retrievable only for a limited window, after which they are hard deleted. Schedule the export before license reclamation in any offboarding plan.

Deleted message export
21 days
Teams Export APIs

Questions for a written quote

Ask each vendor for line items by SKU, tier and add-on, with the billing unit stated as per user, per workspace or per tenant. Ask whether Teams is included, which region rule applies, how mid-term seat additions and true-ups are billed, and what happens to history retention and export rights if you drop a tier. Request the term, renewal pricing terms and exit terms in writing. Compare quotes only on the same unit and feature set.

When a self-hosted option fits better than both

Neither Slack nor Microsoft Teams is the right answer when messages and servers must stay in your own infrastructure, when the network is air-gapped, or when you need to avoid depending on a vendor's licensing and export terms. Three self-hosted families cover these cases. Mattermost runs as a single Linux binary with PostgreSQL as its database. Rocket.Chat offers a free self-managed Starter workspace, plus Commercial, Government and Defense plans for on-premises, air-gapped and sovereign deployments. Matrix with Element Server Suite comes as a free AGPL Community edition, a Pro edition and a Sovereign edition for air-gapped deployments. Pick the constraint that binds hardest first, because it decides which of these three families is worth a proof of concept.

Licensing decides which edition you actually run, so read it before sizing anything. Mattermost Team Edition is free and MIT-licensed as compiled by Mattermost, aimed at teams under 250 users that do not need single sign-on. SSO, AD/LDAP sync, clustering and compliance export sit in paid Professional, Enterprise and Enterprise Advanced plans, and the free Entry tier caps channel message history at 10,000 messages. Rocket.Chat's Starter plan allows up to 50 users and includes LDAP, Active Directory and single sign-on, while code under its ee directories falls under an enterprise license. Element relicensed Synapse from Apache 2.0 to AGPLv3 on November 6, 2023, with commercial licenses available from Element. Have counsel confirm which obligations apply to the build and to any code you modify, and confirm which edition covers your air-gapped use, before you commit.

Self-hosting turns a subscription line into components you run, and most of them recur. Infrastructure covers the servers, storage for message history and attachments, backups, TLS and monitoring. Database operations cover PostgreSQL for Mattermost, including backups, patching and failover, and the database requirements of Rocket.Chat and Element Server Suite, which you should confirm with each vendor. Admin time for upgrades recurs, because Mattermost ships a new server version in binary form on the 16th of each month, and Rocket.Chat standard releases get 6 months of support while LTS releases get 12. Mattermost v12.0 support ends on 2027-01-15, so check which line you run now. Paid editions add license fees for SSO, clustering and compliance export, so ask each vendor for a written quote listing edition, user count, support terms and air-gapped or sovereign terms.

Mattermost, Rocket.Chat or Matrix with Element: which self-hosted option fits

Mattermost fits teams that want a Slack-style channel model running as a single Linux binary on PostgreSQL, and that can operate their own upgrades. Team Edition is MIT-licensed as compiled, the source code is available under AGPL v3.0 or a commercial license from Mattermost, Inc., and admin tools and configuration files fall under Apache 2.0.

  • Free limits: Team Edition targets teams under 250 users that do not need single sign-on. The Entry tier caps channel message history at 10,000 messages and omits compliance features and high availability.
  • Paid editions: SSO, AD/LDAP sync, clustering and compliance export sit in the Professional, Enterprise and Enterprise Advanced plans. Confirm which of these your air-gapped or regulated deployment needs.
  • Licensing: Have counsel confirm which AGPL obligations apply if you modify the source.
  • Slack plan: Private channels and direct messages can only be exported on a Business+ or Enterprise Slack plan, so confirm your plan before you start.
  • Import path: Convert the Slack export with mmetl, then load it with mmctl. Users, channels, direct messages, threads and attachments move. See the Mattermost migration guide for the steps.

After import, rebuild integrations, custom emoji images, user groups and Slack Connect channels, since none of these move.

What moving from Slack or Teams to a self-hosted server involves

The sequence starts with confirming what your current plan can export, then moves through inventory, data conversion, server build, a pilot and cutover. It produces a self-hosted workspace with your history, identity controls and a retired source workspace, with each handover checked before the next begins.

  1. Confirm the export plan and scope

    Confirm in writing what your current plan can export before any other work begins. On Slack, every plan exports messages and file links from public channels, but private channels and direct messages need Business+ or Enterprise, and custom exports by member or conversation are Enterprise-only. On Teams, the Export APIs in Microsoft Graph cover 1:1, group, meeting and channel messages, plus meeting recording and transcript links, but they need admin-approved application permissions and an active Teams license on each exported user. Ask each vendor whether it offers a direct import between Slack and Teams, and do not plan around one until the vendor confirms it. The step is done when the workspace owner and the tenant admin have signed off the scope.

  2. Inventory users, channels, integrations and bots

    The workspace admin lists every member, channel, direct message group, integration, bot, slash command, webhook and user group, then marks what the new server must recreate. In Mattermost's documented Slack path, users, channels, direct messages, threads and attachments move, while integrations, custom emoji images, user groups and Slack Connect channels are left out and need a rebuild plan. Record an owner for each bot and webhook, and flag shared channels that involve external organizations. The step closes when the inventory is a reviewed list with an owner and a decision (migrate, rebuild or retire) for every line.

  3. Export and convert the data

    The admin runs the export under the scope approved in the first step and stores the archive in a restricted location inside your own infrastructure. For Slack, convert the export with the importer your chosen server supports, such as mmetl for Mattermost, or use Rocket.Chat's built-in importer, which the documentation suggests feeding files under 15 MB. For Teams, convert the Graph export into the format the target server accepts. Deleted content has a short window: the Teams Export APIs can retrieve messages deleted by users for up to 21 days and messages from deleted teams, channels and users for up to 30 days, so run the export promptly. The step closes when a test import of one sample channel shows matching message counts on both sides.

  4. Stand up the server with SSO and access controls

    Your infrastructure or engineering team deploys the chosen server, such as Mattermost, Rocket.Chat or Matrix with Element, in your own cloud account, data center or air-gapped network, using the database that product requires. Plan identity before users are loaded: single sign-on, directory sync and multi-factor authentication may be limited to paid editions or specific tiers, so confirm which edition provides each control you need. Set team roles, channel permissions, retention, audit logging and admin access, and document the configuration for your security review. The step closes when a test user signs in through your identity provider and the access settings match the approved design.

  5. Run a pilot with a bounded group

    Choose a small group of users and a few channels that reflect heavy real work, such as incident response or customer threads, and run them on the new server for a period the project owner agrees in advance. Test notifications on mobile and desktop, file uploads, search, the rebuilt integrations, and the retention and export behavior your compliance team needs. Log every defect with an owner and a decision to fix or accept it. The pilot closes when the pilot group signs off in writing and no open defect blocks normal use.

  6. Cut over and retire the old workspace

    Announce the cutover date, run a final export of any messages posted during the pilot, switch users to the new server, and set the old workspace to read-only. Keep the export archive under your retention policy, because it becomes the only record of the old workspace. Remove old integrations, revoke the application permissions granted for the Teams Export APIs, and cancel or downgrade the old subscription according to the notice terms in your contract. The step closes when the source is read-only, the archive has been verified and the old subscription has a documented end date.

Questions buyers ask before choosing or moving

How much does Slack cost compared with self-hosted Mattermost?

Slack bills per user on a plan tier, so the total moves with seat count, the tier you choose and any add-ons. Its paid plans are Pro, Business+ and Enterprise+, all with unlimited message history, and Enterprise Key Management is an add-on on Business+ and included on Enterprise+. Teams is typically bought inside a Microsoft 365 or Office 365 subscription, and Microsoft's licensing change effective April 1, 2024 means your bundle may differ from what you bought before, so check your agreement. Self-hosted Mattermost Team Edition is free for teams under 250 users that do not need single sign-on, and SSO, clustering and compliance export sit in paid editions. Self-hosting moves cost to servers, storage, backups, upgrades and admin time, plus any paid edition or support. Get current figures from the official pricing pages and a written quote before you compare totals.

Does Slack Free's 90-day history limit force a plan change?

Not by itself, but the limit sets the deadline for exporting what you need. Slack Free keeps 90 days of message and file history, and Slack states that content on Free workspaces older than one year is permanently deleted, so older history needs an export or a move first. Every plan can export messages and file links from public channels, but private channels and direct messages require Business+ or Enterprise, and custom exports by member or conversation are Enterprise-only. If you must keep private history, the decision point is a plan change or an approved export. Self-hosted options have their own caps: Mattermost Entry limits channel message history to 10,000 messages, and Rocket.Chat Starter allows up to 50 users. Confirm current terms in Slack's help center before you act.

What does a Microsoft Teams export need from admins?

Admins must approve application permissions for the Microsoft Teams Export APIs in Microsoft Graph, and every user whose content is exported must hold an active Teams license. The APIs export 1:1, group, meeting and channel messages, and they also return meeting recording and transcript links. Plan around deletion windows as well: the APIs can retrieve messages deleted by users for up to 21 days, and messages from deleted teams, channels and users for up to 30 days, after which they are hard deleted. Ask your Microsoft 365 administrator to confirm which tenant policies and retention settings apply, and define the batch of teams, channels and users in writing, since a missing license or permission leaves gaps. Run a short test export of one team and review the output before the full run. Microsoft's Learn article lists the exact steps.

How long does a chat migration take and what does it need from us?

Duration depends on the size and shape of the export, and no single timeline fits every workspace. The main drivers are the number of users, channels and files, whether private channels and direct messages are in scope, how many integrations must be rebuilt, and how identity and SSO are mapped. On your side, you need a named owner, a hosting environment you control, export file or API access, a cutover window, and people who can check migrated history. Mattermost moves users, channels, direct messages, threads and attachments from a Slack export, but integrations, custom emoji images, user groups and Slack Connect channels do not move. Rocket.Chat recommends splitting large Slack exports into files under 15 MB. Ask for the timeline in the written scope, along with the assumptions behind it, so you can see which changes would move the date.

Can our own team move from Slack or Teams without a partner?

A capable internal team can run a self-hosted migration alone, but it needs Linux, database and upgrade skills that many teams must build first. Mattermost documents a path that converts a Slack export with mmetl and loads it with mmctl, and Rocket.Chat provides a built-in importer under Manage, Workspace, Import. The ongoing work matters as much as the first load. Mattermost publishes server releases in binary form on the 16th of each month, and Rocket.Chat standard releases are supported for 6 months while LTS releases are supported for 12 months, so someone must schedule upgrades before support ends. Mattermost runs as a single Linux binary with PostgreSQL. Decide who owns backups, patching, user offboarding and incident response before you start. A partner can take part of this under a written scope, and your team can keep the parts it wants to own.

What does a fixed-scope DeployOpen engagement cover?

A fixed-scope DeployOpen engagement covers the work written into the agreed scope, with deliverables and timelines set out in writing before work starts. DeployOpen is a Chainscore Labs company that plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks. If a chat migration is in your written scope, it might include the export and import path, SSO and access control, audit logging, and cutover support, but the exact list is whatever the agreement names. Upgrades, support and continuous testing are available as retainers after the initial scope. DeployOpen does not publish a price list, so the quote follows from the written scope. DeployOpen does not issue audit reports or certifications, so ask your auditor which evidence they need from the rollout.

How DeployOpen helps you evaluate, build and run the alternative

DeployOpen plans, implements and supports a self-hosted team chat platform inside your own infrastructure, so you can compare Slack and Microsoft Teams against options such as Mattermost or Rocket.Chat on your own terms. Work starts with a written scope that covers identity, data handling, plan requirements and migration. Engagements are fixed-scope, and ongoing support is available as a retainer.

How we scope

  • The written scope lists every Slack or Teams workspace, channel type and integration in use before any build starts.
  • It records which Slack plan holds your history, since private channel and DM exports need Business+ or Enterprise.
  • The Teams side confirms admin-approved Graph permissions and active Teams licenses for each user whose messages you need to export.

How we build

  • We implement the chosen platform in your cloud account, data center or air-gapped network, with SSO and audit logging.
  • Slack exports load through the platform's importer, and integrations, user groups and Slack Connect channels are rebuilt by hand.
  • Teams history is pulled through the Graph export APIs under admin approval, then converted and checked against a sample.

How we hand over

  • Handover includes configuration, admin runbooks and the access, logging and retention settings your compliance team asks to review.
  • Each platform's compliance-relevant controls are documented as evidence, while independent auditors decide what they accept.
  • The cutover plan keeps Slack or Teams running until the new workspace passes acceptance testing.

How we support

  • Retainers cover upgrades, backups and continuous testing, so upgrades follow each vendor's release schedule.
  • Rocket.Chat standard releases are supported for six months and LTS releases for twelve, so upgrades need a schedule.
  • Mattermost ships server releases monthly, so the support calendar for your chosen version belongs in the written scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.