Gmail, Outlook and Yahoo Attachment Size Limits
The Gmail attachment size limit and the other big providers' caps, what happens when you go over, and how to send large photos by link instead.
By Mudasir Ahsan (Founder) · · Updated · 8 min read
Facts checked against official sources on
On this page
The Gmail attachment size limit is 25 MB for personal accounts. Outlook.com also allows 25 MB, Yahoo Mail allows 25 MB in total per message, and the Outlook desktop app sets 20 MB for internet accounts such as Gmail and Outlook.com. None of those numbers is the size of file you can attach. Attachments are encoded before they're sent, which makes them about a third bigger, so a file well under the headline number can still fail. For photos, compressing them or sending a link is usually easier than fighting the limit.
Photo: cottonbro studio on Pexels
Gmail attachment size limit and other providers
| Service | Limit | What happens when you go over | Source |
|---|---|---|---|
| Gmail (personal account) | 25 MB | Gmail removes the attachment and adds it as a Google Drive link instead | Gmail Help |
| Gmail (work or school account) | Set by the Google Workspace administrator, up to 25 MB on Business, Education and Enterprise Standard and up to 50 MB on Enterprise Plus (Gmail on the web only) | Depends on your organization's settings | Gmail Help, Workspace sending limits |
| Outlook.com (web) | 25 MB | Outlook suggests sharing from OneDrive, where shared files can be up to 2 GB | Microsoft Support |
| Outlook desktop app with an internet account (Gmail, Outlook.com) | 20 MB for the whole email | Error message when you attach | Microsoft Support |
| Outlook with an Exchange (business) account | 10 MB by default | Error message; administrators can change the limit | Microsoft Support |
| Yahoo Mail | 25 MB for all attachments in one message, incoming and outgoing | Message cannot be sent or received | Yahoo Help |
Three details on the official pages are easy to miss.
Outlook has two numbers. Microsoft's Outlook.com page gives 25 MB for attachments. Its page about the Outlook app says the limit for internet accounts such as Outlook.com or Gmail is 20 MB and "includes both the size of the attachment and the size of the email." If you use the desktop app, plan for 20 MB.
Limits count the whole message, not each file. Yahoo says plainly that "the sum of all attached files in a single message" counts. Ten 3 MB photos make 30 MB, which is too much, even though no single photo is large.
And the receiver has a limit of their own. Yahoo's applies to incoming mail as well as outgoing. A 24 MB message sent from Gmail to a company with a 10 MB Exchange limit can bounce on their side even though Gmail accepted it. Google Workspace accounts on Enterprise Standard can receive messages of up to 50 MB, and Enterprise Plus up to 70 MB, measured after encoding (Workspace receiving limits). Your provider's number only gets the message out of the door.
How to check the total before you send
On Windows, select all the photos in File Explorer, right-click and choose Properties. The General tab shows the combined size.
On a Mac, select the photos in Finder and press Option-Command-I to open one info window with the total.
On a phone, the easiest check is to try attaching them. If the mail app warns you, or offers to send a smaller version, you're over the limit. That test isn't exact, though, since some apps quietly shrink photos instead of warning you, and then the recipient gets smaller copies than you meant to send.
A total close to the limit should be treated as over it. Encoding is the reason.
Why does a 25 MB file fail at 19 MB?
Email was designed for text, so attachments are turned into text before they travel. The standard method, Base64, is defined in the MIME specification (RFC 2045, section 6.8): every 3 bytes of your file become 4 text characters. In transit the attachment is roughly 33% larger, before counting line breaks and the message itself.
So the stated limit and the file you can send are different numbers. Four characters for every three bytes means only three quarters of the limit is left for the file. Work backwards and the results match what people run into.
| Limit on the encoded message | Largest original file that fits (approx.) |
|---|---|
| 25 MB | about 18.7 MB |
| 20 MB | about 15 MB |
| 10 MB | about 7.5 MB |
Providers don't all document exactly how they measure, so use this table as a guide. Microsoft's wording, that the limit covers the attachment plus the email, is the clearest hint.
My rule is simple. If your photos add up to more than about three quarters of the stated limit, expect trouble and either shrink them or send a link. A 25 MB limit holds about 7 to 9 standard 12 MP phone photos (how we worked that out).
Send photos as a link instead
A link gets around the attachment limit entirely, because the email only carries a line of text. Nothing is encoded and nothing grows by a third. The recipient clicks it and the photo opens in their browser. Their inbox stays small, and it works in any email app.
To send a photo as a link with PictureToLink:
- Open the image uploader and drop in your photos. You can add up to 20 at once, each up to 25 MB, in JPG, PNG, WebP, GIF or AVIF. iPhone HEIC photos work too: they're converted to JPG in your browser before they upload.
- Choose a format from the link menu. Share page suits people best, since it opens a clean page with the photo on it. Copy all gives you every link, one per line.
- Paste the links into your email and send it.
Each upload is compressed and has its location data and other metadata removed before it's stored, so you won't send GPS coordinates by accident. You can have images deleted automatically after 1 hour, 1 day, 7 days or 30 days, and you get a private delete link for each one. Otherwise an image stays online while people keep viewing it and is removed after 12 months without a view. It's a sharing tool, not long-term storage.
One warning. Anyone with the link can see the photo. That's fine for holiday pictures and product shots, but not for passports, bank documents or anything else private. Our guide to sharing photos privately covers what to check before you send a link.
Compress photos before attaching
Sometimes the recipient needs the actual file, say to print it or keep it offline. Then compress the photos so they fit as attachments. Most phone photos are far larger than an email needs.
We measured our own processing on our test photos. Resizing to 1920 pixels on the long side at our "Balanced" quality setting gave these results.
| Sample photo | Original | Resized to 1920 px | Saved |
|---|---|---|---|
| 3024 × 2016 JPG | 1.6 MB | 374 KB | 77.3% |
| 3000 × 2000 JPG | 985 KB | 370 KB | 62.4% |
| 4032 × 2623 JPG | 390 KB | 84 KB | 78.4% |
| 5000 × 3333 JPG (night photo) | 2.28 MB | 110 KB | 95.2% |
Look at the first row against a 25 MB limit. At 1.65 MB each, a dozen of those photos is about 19.7 MB, already past the 18.7 MB that fits. At 374 KB each, the same dozen comes to under 5 MB.
1920 pixels fills a typical laptop or monitor screen, so most people won't notice a difference on screen. Printing is different. Keep a larger version for that.
To compress without uploading anything, use our in-browser image compressor. Pick JPG or WebP, set a maximum width and download the smaller copies. If an online form or a strict mail server asks for a specific size, you can aim for a target such as 100 KB or 200 KB. Our guide on resizing and compressing images for email goes through the settings in more detail.

Two test photos after the Email preset: 985 KB down to 428 KB, and 390 KB down to 98 KB.
Some email apps can shrink photos for you. For classic Outlook for Windows, Microsoft documents an option under File → Info → Image Attachments called Resize large images when I send this message.
The new Outlook has a trap here. You can change the display size of an inserted image but not its file size, Microsoft notes, so dragging a picture smaller on screen does nothing for the limit.
Zipping photos rarely helps either, because JPG, PNG and WebP files are already compressed and a ZIP archive saves very little on top. It can even backfire. Some company mail filters hold back archive attachments for checking, so a ZIP may arrive late or not at all.
Cloud drive links vs image links
Gmail and Outlook both push you towards their own cloud storage when a file is too big, and for some jobs that's the right answer. For photos, the two options compare like this.
| Cloud drive link (Google Drive, OneDrive, Dropbox) | Image link (PictureToLink) | |
|---|---|---|
| Best for | Large files, folders, originals, documents | Quickly showing one or more photos |
| File size | Large; OneDrive shares up to 2 GB from Outlook.com | Up to 25 MB per image |
| Recipient experience | Opens a file viewer; may prompt to sign in or download | Opens the image directly in the browser |
| Account needed | Yes, for the sender | No |
| Original quality | Kept | Compressed and stored at up to 1920 px (choose "High quality" for minimal compression) |
| Location data | Kept unless you remove it | Removed automatically |
| How long it lasts | Until you delete it, subject to your storage | Until you delete it, it expires, or 12 months without views |
For full-resolution originals, raw files, videos or a whole album, use a cloud drive. PictureToLink compresses what you upload, so it's the wrong tool for those. If someone only needs to see a few photos, an image link is quicker for both of you and keeps their inbox clear.
