Gmail’s 25 MB limit — what Google actually publishes
Google’s personal Gmail help page, “Send attachments with your Gmail message,” is unambiguous: “For personal Gmail accounts, the limit is 25 MB.” If the total attachment size is greater than that limit, “Gmail automatically removes the attachment and adds it as a Google Drive link in the email.” That is why a 28 MB PDF may appear to “send” from Gmail — the recipient gets a link, not the file inside the message. Some portals, lawyers, and records offices will not follow a Drive link, or cannot open it.
Work and school accounts are different. The same Gmail help page says your Google Workspace administrator sets sending and receiving limits. Google Workspace’s sending-limits article publishes the defaults: 25 MB for Business and Education editions, and up to 50 MB for Enterprise Plus on the web version of Gmail. The footnote on that table matters more than the headline number: “These values are the limits on the total size of the message content and attachments before encoding.”
So Gmail, on a personal account or a typical Workspace edition, can accept a 20 MB or even a 24 MB PDF as an attachment. That is not a promise the message will arrive. The bounce often happens on the other side of the conversation.
Why a 20 MB PDF can still bounce
A PDF on disk is binary. SMTP email usually encodes that binary as Base64 (RFC 2045) so it can travel as text. The rule is mechanical: every 3 bytes become 4 characters, a 33% increase, or about 1.33× the size in Finder. MIME line wrapping can push the on-the-wire size a little higher, closer to 1.37×. A 20 MB PDF is about 26.7 MB after Base64, before you count headers or a short message body.
If the recipient’s server enforces a 25 MB message limit, 26.7 MB does not fit. Outlook.com’s official sending-limits page says “The attachment size limit for files is 25 MB.” A related Microsoft help page is more specific about the email itself: “The size limit for an email in Outlook.com is 25 MB. This includes all text, inserted and attached files.” Yahoo Mail publishes a 25 MB cap on the sum of attached files, incoming and outgoing. iCloud Mail is tighter still: 20 MB for incoming and outgoing messages, unless Mail Drop is turned on.
Corporate Exchange is not automatically a 25 MB wall. Microsoft’s current Exchange Online defaults are 35 MB to send and 36 MB to receive, and administrators can set per-mailbox limits from 1 MB to 150 MB. Those figures already include encoding: Microsoft documents that “Base64 encoding can increase the size of binary data by approximately 33 percent,” and that “the message size limit isn’t the same as the attachment size limit.” A 20 MB PDF will usually clear a default Exchange Online mailbox. It can still fail at a recipient whose admin set a 25 MB or 10 MB cap, or whose mail passes through a gateway that still enforces 25 MB on the encoded message. The lowest limit in the path is the one that counts.
The 18 MB rule When the file has to arrive as an attachment at a mailbox that may enforce a 25 MB message limit, aim at 18 MB on disk — 96% of 25 ÷ 4/3. After Base64, 18 MB is about 24 MB, which leaves a little room for headers. The PDF size-limits cheat sheet applies the same math to iCloud Mail (14.4 MB for a 20 MB message cap) and to Exchange Online’s default send limit (25.2 MB).
Step 1: Check the file, including the encoded size
Finder’s Get Info window reports the size on disk. That is the number Gmail is looking at when it decides whether to attach the file or turn it into a Drive link. It is not the number every recipient server will use.
Drop the PDF into the free PDF Bloat Check. Nothing is uploaded. You will see the file size, an estimated email transmission size (~1.33× after Base64), how much of the file is embedded images, and whether it already clears 5, 10, 20, and 25 MB caps — including those encoded estimates. If the file is already under 18 MB, and the encoded estimate is under 25 MB, you may not need to compress it at all.
If the PDF is a scan — a Continuity Camera packet, a 300 or 600 DPI export, a multi-page form — the bloat is almost always in the image streams. That is a different problem from a 40-page text contract, and it is why Preview’s stock filter goes wrong. See How to Compress a Scanned PDF on a Mac Without Making the Text Unreadable.
Step 2: Preview, ColorSync, or a target cap
Apple documents a built-in path in Preview: File → Export, then “Reduce File Size,” or a Quartz filter you set up in ColorSync Utility. The stock Reduce File Size filter is a single recipe. It does not aim at 18 MB or 25 MB. Independent inspections of that filter, and the copy you can open in ColorSync Utility on your Mac, show a tight image-size cap — widely observed as 512 pixels on a side — plus heavy JPEG compression. On a scanned packet it often produces an unreadable smear that is far smaller than you needed. On a text-heavy PDF it may barely move the needle, or flatten live text you wanted to keep selectable.
A custom ColorSync / Quartz filter is the free, local way to take back some control. You can raise the image resolution and JPEG quality, export a new copy, and weigh it in Finder. It still cannot aim at a cap. You guess, export, weigh, and repeat. The walkthrough is in How to Compress a PDF on a Mac and in Apple’s ColorSync guide. For why the stock filter smears fine print, see Why Mac Preview’s “Reduce File Size” Makes PDFs Blurry.
Web uploaders will sometimes offer a “target size” slider. The file leaves the machine. For a public flyer that may be acceptable. For a contract, a medical form, or a job packet, compress it on the Mac.
Step 3: Aim at 18 MB, not 25
If you only need to stay under Gmail’s own 25 MB attachment limit, a 24 MB file will usually attach. If you need the file to arrive as an attachment at a recipient who may be on Outlook.com, Yahoo Mail, or a 25 MB corporate gateway, that is not enough. Aim at 18 MB.
- Set a 25 MB target, and expect the app to aim at 18 MB when the job is “will this email actually arrive?” UnderMB’s 25 MB preset uses a 96% margin on the advertised cap (24 MB) for Gmail’s own limit. When the constraint is a 25 MB encoded message, use a custom target of 18 MB — 96% of 25 ÷ 4/3.
- Drop the PDF in and wait for a result under the cap. The compressor should work toward that raw size — typically by searching image resolution and JPEG quality — and leave live, selectable text as text rather than flattening it into a picture of text.
- Preview a page before you save, at zoom. Check fine print, signatures, and any photo. If 18 MB made a dense scan softer than you can accept, see the scanned PDF guide before you reach for Preview’s stock filter.
- Save a new copy. Leave the original alone. Confirm the new size in Finder and, if you want the encoded estimate, in PDF Bloat Check. Do not delete the original until the message has arrived, or the recipient has confirmed they can open the file.
Drive links versus attachments If a Drive link is acceptable, Gmail will already create one for you above 25 MB. The work in this guide is for the cases where the file has to travel inside the message — a records office, a form that rejects cloud links, or a recipient whose mail system will not open Drive.
Which path to use — a direct comparison
| Method | Aims at 18 MB? | Stays on your Mac? | Quality control | Typical miss |
|---|---|---|---|---|
| Preview, Reduce File Size | No | Yes | None — one fixed filter | Still over 18 MB, or an unreadable sub-1 MB scan |
| Custom ColorSync / Quartz filter | No — you guess, export, weigh, repeat | Yes | You set resolution and JPEG quality | Takes several exports; no encoded-size estimate |
| Gmail’s Drive auto-link | No — it bypasses the 25 MB cap | The file is stored in Drive | The original is unchanged | The recipient gets a link, not an attachment |
| Web uploaders | Sometimes, as a slider or “target” | No — the file leaves the machine | Varies; often a preview on their site | Privacy, and a funnel into a paid plan |
| UnderMB (local app) | Yes — a custom 18 MB cap, or a 25 MB preset with a 96% margin | Yes | Before/After zoom inspector; original left alone; live text stays text | Does one job; it is not a full PDF editor |
A broader look at Preview, PDF Squeezer, Acrobat, PDF Expert, and web tools is in The Best PDF Compressor for Mac in 2026. The general email walkthrough, including iCloud Mail’s 20 MB cap, is in How to shrink a PDF so it actually sends. Official caps for other services are in the PDF size-limits cheat sheet.
Frequently asked questions
What is Gmail’s official PDF attachment limit?
For personal Gmail accounts, Google publishes a 25 MB attachment limit. If the total is over that, Gmail removes the file and inserts a Google Drive link. Work and school accounts use limits set by the Workspace administrator; the documented defaults are 25 MB for Business and Education editions, and up to 50 MB for Enterprise Plus on the web version of Gmail. See Google’s attachment help.
Why does a 20 MB PDF bounce if Gmail’s limit is 25 MB?
Gmail can accept a 20 MB attachment because its limit is measured on the file, and Google Workspace documents those limits as applying before encoding. Email usually carries a PDF as Base64, about a 33% increase, so 20 MB becomes about 26.7 MB on the wire. A recipient whose server enforces a 25 MB message limit — Outlook.com publishes a 25 MB email size that includes text and attachments — can still reject it. The size-limits cheat sheet walks through the math.
Should I aim at 25 MB or 18 MB?
Aim at 18 MB if the file has to arrive as an attachment and the recipient might be on a 25 MB message-limit server. 18 MB is 96% of 25 ÷ 4/3, so the encoded message is about 24 MB. If you only need to stay under Gmail’s own 25 MB attachment cap and a Drive link is acceptable above that, a 24 MB file will usually attach.
Is Exchange or Outlook always a 25 MB wall?
No. Outlook.com publishes a 25 MB limit. Exchange Online’s current defaults are 35 MB to send and 36 MB to receive, and administrators can set 1 MB to 150 MB. Those Exchange Online figures already include encoding. A 20 MB PDF will usually clear a default Exchange Online mailbox and can still fail at a recipient with a tighter admin or gateway cap.
How do I check the encoded size of a PDF on a Mac?
Finder reports the size on disk. The free PDF Bloat Check on this site reads the file in your browser only (0 bytes uploaded) and shows an estimated email transmission size of about 1.33× after Base64, plus pass/fail against 5, 10, 20, and 25 MB caps.
Will Preview’s Reduce File Size get a PDF under 18 MB for Gmail?
Sometimes, but not on purpose. The stock filter does not aim at 18 MB or 25 MB. On a scanned packet it often produces an unreadable smear; on a text-heavy PDF it may barely move the size. A custom ColorSync filter is the free local alternative, still without a target cap.
Is it safe to upload a Gmail attachment to a website to compress it?
For a public flyer, maybe. For a contract, a job packet, or anything confidential, compress it on your Mac. Web tools are also often a funnel into a paid plan.