The Mastodon Profile Header size (1500×500px)
The Mastodon Profile Header size is 1500×500 pixels (3:1 aspect ratio). Upload your image above and Pixohub resizes it to exactly that, in your browser.
The Mastodon profile header is the wide banner across the top of your profile, and Mastodon's own documentation says uploads are downscaled to 1500 × 500 pixels, a 3:1 shape. Mastodon is decentralised, so your profile can be viewed from many different servers and apps, but the 1500 × 500 size is set by the software itself, so it's the size to design at.
That 3:1 banner shape gives you a horizontal strip to set the tone of your profile, but the way Mastodon lays out the page affects it: your circular avatar overlaps the lower-left of the header, and profile text can sit over the banner in some clients. Because of that, keep important elements like text or a logo toward the center-right and away from the bottom-left, where the avatar and metadata will cover them.
Each server can set its own media limits, and the documented header cap is 2 MB, so exporting a clean 1500 × 500 gives the best chance of a sharp result rather than a soft or oddly cropped banner. A calm, on-brand image that complements your avatar makes the profile feel considered, which matters on a platform where your header is part of how people decide to follow you.
Official Mastodon profile header specs
Mastodon's official user documentation (docs.joinmastodon.org, "Setting up your profile") says the header can be a WEBP, PNG, GIF or JPG up to 2 MB and will be downscaled to 1500 × 500 pixels. The avatar has a matching rule: up to 2 MB, scaled to 400 × 400.
Those numbers apply to Mastodon itself. Other fediverse software (and modified Mastodon forks some instances run) can display headers with different crops or allow different limits, and third-party apps such as Ivory, Ice Cubes or Tusky each lay the profile out their own way.
| Spec | Value |
|---|---|
| Size | 1500 × 500 px — uploads are downscaled to this (Mastodon docs) |
| Aspect ratio | 3:1 |
| Max file size | 2 MB |
| Formats | WEBP, PNG, GIF or JPG |
| Animated GIFs | Supported; viewers who disable autoplay see a still |
| Avatar overlap | Avatar overlaps the lower-left of the header in the default web interface |
Last updated · Source: Mastodon documentation
What 1500×500 does to a real photo
Cropping to 3:1 left 44% of the landscape photo and 25% of the portrait photo — each a band across the middle, so the top and bottom of the scene are gone. Since the avatar sits over the lower-left, a subject centred or to the right of that band shows best.
Both PNGs (1.5 MB and 1.8 MB) are under Mastodon's 2 MB header cap, though not by much, and a server may set a lower limit. The JPGs, at 159 KB and 226 KB, leave plenty of room, so choose JPG for photo headers.
We ran this page on two iPhone photos from our test set, one landscape and one portrait, with the default settings (crop to fill), then saved the same result as a JPG at 85% quality.
| Photo | Original | Kept after crop | PNG result | JPG result |
|---|---|---|---|---|
| Portrait iPhone photo | 3024 × 4032, 4.7 MB | 25% | 1.8 MB | 226 KB |
| Landscape iPhone photo | 4032 × 3024, 1.4 MB | 44% | 1.5 MB | 159 KB |
Last updated
What Mastodon says about uploads
From Mastodon's own help and developer pages, checked 24 October 2026. Each point links to the page it comes from.
What happens after upload
- Mastodon downscales the header image to 1500 x 500. docs.joinmastodon.org
- Profile avatars (WEBP, PNG, GIF or JPG, up to 2 MB) are downscaled to 400 x 400. docs.joinmastodon.org
- Post images are downscaled to 8.3 megapixels (about 3840 x 2160). docs.joinmastodon.org
- Animated GIFs in posts (up to 16 MB) are converted to soundless MP4s and must be under 1 MP (1280 x 720). docs.joinmastodon.org
How it crops and displays
- A focal point can be set on post media so preview thumbnails look better when they are not shown at 16:9. docs.joinmastodon.org
Upload limits
- The profile header can be a WEBP, PNG, GIF or JPG image up to 2 MB. docs.joinmastodon.org
- Post attachments (not the header): images in PNG, JPG, HEIF, WEBP or AVIF up to 16 MB. docs.joinmastodon.org
- Each Mastodon server publishes its own limits via the API: maximum image size in bytes and maximum pixel count (width x height); limits can differ per server. docs.joinmastodon.org
Why 1500×500 pixels?
Because Mastodon downscales headers to 1500 × 500, that is the largest size anyone will ever see. Uploading exactly that size means Mastodon doesn't resample your image, so text and edges stay as you designed them.
Starting at 3:1 also matches the shape used by X, so one design can serve both profiles.
Common upload problems and how to fix them
"File is too big" on a header under 1500 × 500
The 2 MB cap is the limit, not the dimensions. A 1500 × 500 photo saved as PNG can exceed it. Save as JPG or compress it.
Animated header is huge or rejected
Animated GIFs count against the same 2 MB limit. Reduce frames and colors, or use a static image.
Header is cropped differently in your app
Mobile apps often show the header shorter than 3:1. Keep important elements within the middle band of the height.
Avatar covers your text
In the web interface the avatar overlaps the lower-left of the header. Put words toward the right or center.
More things to know about Mastodon
- Your header is shown on your profile on your own server and, once fetched, on every server that displays your account.
- Profile changes federate to other servers gradually, so remote instances may show your old header for a while.
- Instance admins can set their own media policies; check your server's rules if an upload is rejected.
- The same 1500 × 500 artwork fits an X header.