Skip to content
Start free

Email Attachment Size Limits

An email with an attached file is larger than the file. Mail servers limit the size of the whole email, and many company mail servers refuse anything over 10 MB, so a 9 MB PDF can bounce from a server whose limit is 10 MB. This page lists the limits of common mail services, mail server software and email sending services, explains how they’re measured, and shows how to choose the largest file to attach.

We checked each limit against the provider’s own documentation in October 2026. Providers change their limits, and an administrator can set a different one for their organization, so treat these as defaults.

Email is sent as text, so an attached file is encoded with base64 (RFC 2045): every 3 bytes of the file become 4 characters, in lines of at most 76 characters, each followed by a line break. The file takes about 37% more space in the email, and the email’s text and headers add a little more. Providers quote different figures: Google says encoding adds about 37%, and Microsoft says about 33%, which leaves out the line breaks. DocSpring’s emails use shorter lines, which makes an attached PDF 38% larger.

FileEmail, about
5 MB6.9 MB
7 MB9.6 MB
10 MB13.8 MB
18 MB24.8 MB
25 MB34.4 MB

To find the largest file that fits under a limit, divide the limit by 1.38. A 10 MB limit fits a file of about 7.2 MB, and a 25 MB limit a file of about 18 MB.

Mail servers don’t all count a megabyte the same way:

  • Exchange (Server and Online) and Exim count 1 MB as 1,048,576 bytes, so Exchange’s 10 MB is 10,485,760 bytes.
  • Postfix’s default limit is 10,240,000 bytes.
  • Google, Amazon SES, Postmark, SendGrid and Mailgun don’t say.

Count 1 MB as 1,000,000 bytes, the smaller: a file under a limit counted that way is under it however the server counts.

ServiceReceivesSendsSource
Gmail50 MB25 MB of attachmentsGmail Help, Google Workspace Updates
Google Workspace50 MB, after encoding25 MB, before encodingReceiving limits, sending limits
Google Workspace Enterprise Plus70 MB, after encodingUp to 50 MBGoogle Workspace Updates
Microsoft 365 (Exchange Online)36 MB, after encoding35 MB, after encodingExchange Online limits
Outlook.comNot published25 MBMicrosoft Support
Yahoo Mail25 MB25 MBYahoo Help
iCloud Mail20 MB20 MBApple Support
Proton Mail50 MB25 MBProton Support
Zoho Mail40 MB20 to 40 MB, by planZoho Mail limits, plans
Fastmail70 MB70 MBFastmail Help
GMX FreeMail20 MB20 MBGMX
Yandex Mail30 MB25 MBYandex Support

Microsoft 365 administrators can set limits from 1 MB to 150 MB, and Google Workspace Enterprise Plus administrators can let people send from 25 MB to 50 MB. Zoho Mail administrators can set 1 MB to 40 MB. Yahoo, Proton and GMX give their limits as attachment sizes, and don’t say whether they count the encoded email.

A company that runs its own mail server has the server’s default limit unless an administrator changes it:

ServerDefault limitSource
Exchange Server 2016, 2019 and Subscription Edition10 MB, for email it receives from outside too, after encodingMessage size limits in Exchange Server
Postfix10,240,000 bytes (message_size_limit)postconf(5)
Exim50 MB, or 52,428,800 bytes (message_size_limit)Exim specification
SendmailNo limit (MaxMessageSize)Sendmail cf/README

Exchange Server checks email from outside the organization against the organization’s send limit, which is also 10 MB by default. Email security gateways in front of a mail server, such as Mimecast, Proofpoint or Barracuda, have their own limits, and so does every server an email passes through on its way. The smallest limit decides.

ServiceLargest emailSource
Amazon SES (API v2 and SMTP)40 MB, after encodingAmazon SES quotas
Amazon SES (API v1)10 MB, after encodingAmazon SES quotas
Postmark10 MB, after encodingPostmark Support
SendGridUnder 30 MBSendGrid limitations
Mailgun25 MBMailgun documentation

A mail server announces its limit to the servers that connect to it, with the SMTP SIZE extension (RFC 1870). Find the domain’s mail server, connect to it on port 25 and send EHLO: the SIZE line gives the limit in bytes, where 0 means it has no fixed limit.

$ dig +short MX example.com
10 mail.example.com.
$ telnet mail.example.com 25
220 mail.example.com ESMTP
EHLO test.example.org
250-mail.example.com
250-SIZE 10240000
250 8BITMIME
QUIT

Many internet providers block outgoing connections to port 25, so you may need to run this from a server. The limit a server announces is its own: a gateway in front of it, or the mailbox behind it, can have a lower one. A server that refuses an email for its size replies with code 552, and the sender gets a bounce that says the message is too large or exceeds a fixed size limit.

  • When you don’t know which mail services your recipients use, keep attachments under 7 MB. The email stays under 10 MB, the most common company limit. Send larger files as a download link.
  • When every recipient uses Microsoft 365, Gmail or Google Workspace with the default limits, files up to 25 MB arrive: the email is about 34.4 MB.
  • For recipients on iCloud Mail or GMX FreeMail, keep files under about 14 MB, and on Yahoo Mail under about 18 MB.

DocSpring’s email actions email each submission’s PDF to the people who filled in your form or to your team. When an action attaches the PDF, a PDF over its attachment size limit goes as a download link instead. The limit is 7 MB unless you change it, and you can raise it up to 25 MB when everyone the action emails accepts larger emails. See Attachment size limit.