Office 365 Max Email Size Limit: How to Configure It
In this article
To configure the maximum email size limit in Office 365, you must use the Exchange Admin Center (EAC) to adjust the transport settings or use PowerShell for specific mailbox overrides. This process allows you to increase or decrease the size of messages (including attachments) that can be sent or received by users in your organization, ensuring that large files do not clog the mail flow or exceed recipient limits.
What You'll Need
- Global Administrator or Exchange Administrator permissions.
- Access to the Microsoft 365 Admin Center.
- For advanced configurations, a computer with the Exchange Online PowerShell module installed.
Step-by-Step
Note: Menu labels and paths may differ slightly depending on your specific version of the Microsoft 365 admin interface or regional settings.
Method 1: Using the Exchange Admin Center (Global Settings)
- Log in to the Microsoft 365 Admin Center.
- In the left-hand navigation menu, select Admin centers and then click on Exchange to open the Exchange Admin Center (EAC).
- In the EAC menu, navigate to Mail flow and select Message trace or Receive connectors depending on your version; however, for global size limits, go to Mail flow > Message limits (if available in your current UI) or navigate to the specific mailbox settings.
- To change the limit for a specific user: Go to Recipients > Mailboxes.
- Select the specific user mailbox you wish to modify.
- In the settings panel that opens on the right, look for Mailbox settings or Message size restrictions.
- Click Manage message size restrictions.
- Enter the maximum size for Sent messages and Received messages in kilobytes (KB). For example, 35 MB would be 35840 KB.
- Click Save.
Method 2: Using Exchange Online PowerShell (Bulk or Advanced)
- Open PowerShell as an Administrator.
- Connect to Exchange Online by running the command:
Connect-ExchangeOnline. - Log in with your administrator credentials when prompted.
- To check the current limits for a specific user, use:
Get-Mailbox "UserAlias" | Select MaxSendSize, MaxReceiveSize. - To set a new limit for a specific user, use the following command:
Set-Mailbox "UserAlias" -MaxSendSize 35MB -MaxReceiveSize 35MB. - To apply this limit to all mailboxes in the organization, use:
Get-Mailbox -ResultSize Unlimited | Set-Mailbox -MaxSendSize 35MB -MaxReceiveSize 35MB. - Verify the changes by running the
Get-Mailboxcommand again.
Common Mistakes
- Confusing KB with MB: When using the GUI, limits are often entered in Kilobytes. Entering "35" thinking it is Megabytes will actually limit the email to 35 KB, causing almost all emails to bounce.
- Ignoring the Hard Limit: Microsoft 365 has an absolute maximum limit (typically 150 MB). You cannot exceed this hard limit regardless of the settings you apply.
- Forgetting the Encoding Overhead: Emails use Base64 encoding for attachments, which increases the file size by approximately 33%. If you set a limit of 25 MB, a 20 MB file might actually trigger the limit.
- Applying Only to Send/Receive: Forgetting to update both the send and receive limits can lead to a situation where a user can send a large file but cannot receive one of the same size.
Tips
- Use OneDrive for Large Files: Instead of increasing limits to extreme levels, encourage users to upload large files to OneDrive or SharePoint and share a link. This prevents mail flow delays and avoids issues with external recipients who have smaller limits.
- Standardize Limits: Keep limits consistent across the organization to avoid confusion and troubleshooting tickets regarding why some users can send larger files than others.
- Test with a Small Group: If applying changes via PowerShell to the whole organization, test the command on a single test mailbox first to ensure the syntax is correct.
Troubleshooting
If the changes do not seem to take effect, try the following steps in order:
- Wait for Propagation: Changes in the Microsoft 365 Admin Center can take up to 24 hours to propagate across all servers, though it usually happens much faster.
- Check the Recipient's Limit: If a user can send a large email but the recipient receives a bounce-back (NDR), the problem is likely the recipient's email provider limit, not your Office 365 settings.
- Verify PowerShell Connection: If PowerShell commands fail, ensure you have the latest
ExchangeOnlineManagementmodule installed and that you are connected with a Global Admin account. - Check Transport Rules: Ensure there are no Mail Flow rules (Transport Rules) in the EAC that are specifically blocking or limiting messages based on size, as these rules override individual mailbox settings.
Frequently Asked Questions
What is the absolute maximum email size allowed in Office 365?
The maximum limit that can be configured is 150 MB, but this is the total size of the message including headers and encoding.
Why do my emails bounce even if I increased the limit?
This usually happens because the receiving mail server has a lower limit than yours. Your email must satisfy the limits of both the sender and the receiver.
Does the email size limit include the body text?
Yes, the limit applies to the entire message, including the body, headers, and all attachments.
Can I set different limits for different users?
Yes, you can configure limits on a per-mailbox basis through the Exchange Admin Center or via PowerShell.
Will increasing the limit affect my storage quota?
No, the message size limit controls the size of individual emails, whereas the storage quota controls the total amount of data stored in the mailbox.