Documentation

JustForwarding help

How to Change the Microsoft 365 Max Message Size

This article explains how to change the maximum message size in Microsoft 365 for one user, several users, or all users. The default is 25 MB; the maximum is 150 MB.


Limitations

  • Encoding makes messages up to 33% larger in transit, so the practical maximum is about 112 MB even with a 150 MB limit.
  • Clients have their own limits: Outlook Web App allows 112 MB, and Outlook for iOS/Android allows 33 MB attachments.
  • Changes take 15 to 30 minutes to apply.

What the limit covers

The limit applies to sent and received messages, including the body and all attachments.


When to change it

Increase when:

  • Users regularly send or receive large attachments, such as photos or videos.
  • You are migrating to Microsoft 365 with MailMigrata and the old account has messages over 25 MB.
  • Recipients' systems accept larger messages.

Decrease when:

  • You want to stop users sending very large files by email.
  • You do not want mailboxes used as file storage.
  • You often send to systems with smaller limits.

Errors when a message is too large

Microsoft 365 rejects the message, and the sender sees an error such as:

  • Maximum size of appendable message has been exceeded
  • Attachment size exceeds the allowable limit
  • 552: Message size exceeds the maximum permitted (wording varies by system)

Large messages during migration

Messages over 25 MB may fail to copy into Microsoft 365. The migration log shows a line such as:

INBOX/841 {42026170} could not append ... Error: Maximum size of appendable message has been exceeded

To fix it:

  1. Raise the maximum message size using one of the methods below.
  2. Wait about 30 minutes for Microsoft to apply the change.
  3. In MailMigrata, open the migration, select Options, and click Sync Now.

Option 1: Exchange Admin Center (one user)

  1. Sign in to admin.exchange.microsoft.com as an administrator.
  2. Click Recipients → Mailboxes.
  3. Select the user's mailbox.
  4. On the Mailbox tab, click Manage message size restriction.
  5. Enter the limit in KB for Sent messages maximum size and Received messages maximum size. 153600 KB = 150 MB. A KB to MB converter helps with other values.
  6. Click Save.

Option 2: Exchange Admin Center (several users)

  1. Sign in to admin.exchange.microsoft.com as an administrator.
  2. Go to Recipients → Mailboxes.
  3. Hold Ctrl and click to select several mailboxes.
  4. Click Mailflow settings → Message size restriction.
  5. Enter the limits in KB, up to 153600 KB.
  6. Click Save.

Option 3: PowerShell (one, several, or all users)

PowerShell is faster for 100 or more accounts.

  1. Open PowerShell and enter your Microsoft 365 admin credentials:
    $Cred = Get-Credential
    
  2. Connect to Exchange Online:
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection
    Import-PSSession $Session
    
  3. Run the command you need:
    • One mailbox:
      Set-Mailbox -Identity your@email.com -MaxSendSize 150MB -MaxReceiveSize 150MB
      
    • Several mailboxes:
      ("user1@email.com", "user2@email.com", "user3@email.com") | % {Set-Mailbox -Identity $_ -MaxSendSize 150MB -MaxReceiveSize 150MB}
      
    • All existing mailboxes (75 MB example):
      Get-Mailbox | Set-Mailbox -MaxSendSize 75MB -MaxReceiveSize 75MB
      
    • Default for new mailboxes:
      Get-MailboxPlan | Set-MailboxPlan -MaxSendSize 150MB -MaxReceiveSize 150MB
      
  4. Wait 15 to 30 minutes for the changes to apply.

FAQ

I set 150 MB, but cannot receive messages over 112 MB.
BASE64/MIME encoding makes messages up to 33% larger in transit, so the effective maximum is about 112 MB.

Does 150 MB work in every email client?

Should I always use 150 MB?
Only if you are migrating large messages with MailMigrata, regularly exchange large attachments, recipients accept large messages, and your clients support 150 MB. Otherwise, 30 to 50 MB is more reliable.

What is a good limit for most users?
30 to 50 MB. For larger files, share a link from OneDrive, Google Drive, or Dropbox.

How many attachments can one message have?
Up to 250, as long as the total size is within the limit.

Does the limit affect delivery speed?
No, but larger messages take longer to transfer. Recipients with smaller limits may reject them.


Related articles