Skip to content
>_ TrueFileSize.com

Email attachment size limits in 2026

Every email provider enforces its own attachment size cap, and most encode attachments in a way that adds 30%+ overhead. This reference table lists the current send and receive limits for major providers — and links to real sample files you can use to validate your app’s upload flow against each limit.

Provider-by-provider limits

Send = max size you can compose and send · Receive = max size your inbox accepts. All sizes are after MIME encoding unless noted.

ProviderSend limitReceive limitTest with

Gmail

Files larger than 25 MB are uploaded to Google Drive automatically and shared as a link. Gmail counts MIME-encoded size, so the practical limit on raw files is ~17–18 MB.

25 MB50 MB10MB sample files

Outlook (Office 365)

Default send limit is 20 MB for personal accounts and up to 150 MB on Microsoft 365, configurable by administrators. Exchange Server admins can also set custom limits.

20 MB150 MB (admin-configurable)10MB sample files

Outlook.com (Hotmail)

Larger files are offered as a OneDrive link. The hard cap on a single attachment is 20 MB, regardless of how many files are attached.

20 MB20 MB5MB sample files

Yahoo Mail

All attachments combined must stay under 25 MB. Yahoo offers cloud-link sharing for larger files via integrated services.

25 MB25 MB10MB sample files

iCloud Mail

Mail Drop kicks in for attachments over 20 MB and supports up to 5 GB, hosted for 30 days. Useful for sending video and large archives.

20 MB20 MB10MB sample files

ProtonMail

Up to 100 attachments per message. Encrypted attachments add overhead so plan for headroom under the 25 MB cap.

25 MB25 MB10MB sample files

Zoho Mail

Free plans cap at 20 MB. Paid Zoho Workplace plans support attachments up to 1 GB via Zoho WorkDrive integration.

20 MB (free), 1 GB (paid)40 MB100MB sample files

AOL Mail

Combined attachment size cannot exceed 25 MB. Older AOL Mail apps have lower limits — test on the modern web client.

25 MB25 MB10MB sample files

Why your 24 MB file gets rejected at a 25 MB limit

Email attachments are MIME-encoded as base64, which inflates raw binary data by roughly 33%. A 20 MB file becomes ~27 MB on the wire. Most providers measure the encoded size, so the practical limit on a raw file you attach is well below the advertised number. Plan validation against the encoded size:

// Rough rule of thumb
const PROVIDER_LIMIT_MB = 25;
const SAFE_RAW_LIMIT_MB = Math.floor(PROVIDER_LIMIT_MB / 1.37);
// SAFE_RAW_LIMIT_MB === 18

Test your upload validation with real sample files

Don’t rely on a synthesized File blob in your tests — use real sample files at the boundary sizes:

What to do when files exceed the limit

Major providers integrate their own cloud storage — Gmail with Google Drive, Outlook with OneDrive, iCloud with Mail Drop — and replace the attachment with a share link. For your own apps, the standard pattern is the same: upload to S3/R2/GCS, generate a time-limited signed URL, and email the link instead of the file. Validate the cutoff client-side first to give users an actionable error before the upload starts.

Frequently Asked Questions

What is the most common email attachment size limit?
20 MB to 25 MB is the standard for major providers. Gmail, Yahoo, ProtonMail, and AOL all sit at 25 MB; Outlook and iCloud at 20 MB. Build your app's upload validation with 20 MB as the safe ceiling for direct attachment.
Why does my 24 MB file get rejected by Gmail?
Email attachments are MIME base64-encoded, which adds about 33% overhead. A 24 MB raw file becomes ~32 MB encoded, exceeding Gmail's 25 MB cap. As a rule, keep raw files under ~18 MB to avoid edge-case failures.
How do I test attachment-size handling in my app?
Use real sample files at the exact boundary sizes — 5 MB, 10 MB, 20 MB, 25 MB. TrueFileSize hosts files where the size truly matches the filename, so your validation tests aren't off by 40%.
What if I need to send files larger than the limit?
Most providers integrate cloud storage to handle this: Gmail uses Drive, Outlook uses OneDrive, iCloud uses Mail Drop. For your own apps, generate a signed link to S3/R2/GCS and send the link instead of the file.
Are these limits the same for SMTP relays?
No. SMTP relay services (SendGrid, Mailgun, Amazon SES, Postmark) have their own caps — typically 20–30 MB. Always check the destination mailbox limit too: a 30 MB email accepted by your relay will still bounce at a 25 MB Gmail recipient.