Gmail attachment size limit
Gmail lets you attach up to 25 MB per email. Anything bigger is turned into a Google Drive link instead of a real attachment.
The limits
| What | Limit | Notes |
|---|---|---|
| Attachments per emailAll files in one message count together. | 25 MB total | All files in one message count together. |
| ReceivingMessages larger than this bounce back to the sender. | 50 MB | Messages larger than this bounce back to the sender. |
| Larger filesGmail adds a Drive link automatically; the recipient needs access to open it. | Google Drive link | Gmail adds a Drive link automatically; the recipient needs access to open it. |
What the 25 MB actually measures
Google's help page gives one number for personal accounts: 25 MB of attachments per email. It is a total for the whole message, not a per-file allowance, so a 12 MB PDF plus a 14 MB video already goes over even though each file looks small on its own.
The less obvious part is that the limit is checked against the encoded message, not the files sitting on your disk. Email can only carry text, so every attachment is converted to a text form before it travels. Google's own Workspace documentation says this encoding adds about 37 percent. In practice that means roughly 18 MB of real files is the most you can count on fitting into a 25 MB message, which is why our buttons below aim for 18 MB rather than 24.
Work and school accounts are different. On Google Workspace the administrator sets both the sending and the receiving limit, so a company Gmail address may accept more or less than a personal one. Google's Workspace page lists receiving limits of 50 MB on Enterprise Standard and 70 MB on Enterprise Plus, measured after encoding.
What Gmail does when you go over
Gmail does not show a hard error when the attachments are too big. Instead it quietly removes the file from the message and inserts a Google Drive link in its place. The email still sends, but the person on the other end receives a link, not a file.
That swap has a few side effects worth knowing before you hit Send:
- The file now lives in your Drive and counts toward your Google storage, which is shared by Gmail, Drive and Photos.
- Gmail checks whether each recipient can open the file. If they cannot, it asks you to change the sharing setting before sending.
- If you keep the file private, people without a Google Account, or who got the email through a mailing list, will not be able to open it.
- Files created in Google Docs, Sheets, Slides or Forms can only ever be sent as a Drive link, never as a real attachment.
- When your Google storage is full, Gmail cannot send or receive attachments at all, whatever their size.
When a link is not good enough
A Drive link is fine between friends. It is a problem when the receiving side wants the file itself: job portals that forward applications, school offices that print what arrives, or anyone whose company blocks Google Drive. In those cases it is better to shrink the file until it fits as a real attachment.
Our order of attack for a message that will not fit:
- Scanned PDFs are usually the biggest offenders. Run them through /compress-pdf-to-1mb set to 18 MB, which is what the first button below does.
- Phone videos: use /compress-video with an 18 MB target. A minute of 1080p phone footage is often 100 MB or more, so for long clips trim first with /trim-video.
- Several photos: /compress-image handles up to 50 at once and keeps the pixel size, so they still look sharp when opened.
- Many files of mixed types: put them in one archive with /create-zip only after compressing each one, since zipping already compressed PDFs, JPGs or MP4s saves almost nothing.
Files Gmail refuses regardless of size
Size is not the only reason an attachment fails. Gmail blocks executable and script file types such as .exe, .bat, .js, .msi, .apk, .iso, .dmg and dozens more, and it also blocks them when they are inside a .zip or other archive. Password-protected archives with files inside are blocked too, because Gmail cannot scan them. Renaming the extension does not help. Google suggests uploading the file to Drive and sending it as a Drive attachment instead.
Our test: a 12-page scan that Gmail would have turned into a link
A 12-page A4 test PDF we made from full-page colour scans at 300 DPI (54.48 MB). We opened /compress-pdf-to-1mb with the Gmail button preset (maximum 18 MB, safe KB counting) in headless Chromium, with page-to-image conversion and black and white both left off.
| File size | 54.48 MB | 9.81 MB |
| Under Gmail's 25 MB after encoding? | No, Drive link | Yes, about 13.4 MB encoded |
| What changed | Original scans | Images re-saved at 80% quality, max 2400 px |
| Time in the browser | About 11 seconds |
The tool stopped well under the 18 MB target because it does not degrade a file more than needed: the first quality step already fitted. All 12 pages stayed in colour and the text on them was still easy to read at full size.
Error messages and what to do
Your file is replaced by a Google Drive link while composing
The attachments in the message add up to more than 25 MB.
Remove the link, compress the file to 18 MB or less and attach it again, or keep the link and check its sharing setting.
"Gmail's adding files"
A file is still uploading from another device or tab.
Wait for the upload to finish, or remove the attachment that is still uploading to send right away.
"Couldn't send message"
One or more files did not upload to Drive, for example because your storage is full or the connection is slow.
Remove and re-add the attachment. If your storage is full, free space first.
"This message was blocked because its content presents a potential security issue"
The message contains a blocked file type, possibly inside a zip, or a password-protected archive.
Share the file from Drive instead, or send a format Gmail accepts such as PDF.
Questions people ask
Does the 25 MB limit apply in the Gmail app on my phone too?
Yes. The limit belongs to the account, not to the app, so the Android, iPhone and web versions all apply the same 25 MB per email for personal accounts.
Can I send two 20 MB files in two separate emails?
Yes. The limit is per message, so splitting files across several emails works. For one large PDF, /split-pdf can cut it into parts under 18 MB each.
Also checked for this guide
Make your file fit
Each button opens the tool already set to this limit. Files are processed in your browser.
Good to know
- The 25 MB limit is for everything in the message, so three 10 MB photos will not fit.
- Email encoding adds about a third on top of the file size, so a 20 MB file can still be refused. Aim for 18 MB or less.
- Recruiters and school offices often prefer a real attachment over a Drive link. Compress the file instead of linking it when you can.
Sources
- Google: Send attachments with your Gmail message Official page
- Checked on 2026-11-08. Limits change; if a figure looks out of date, use the report button on any tool page.