social-media

Twitter picture size limit: exact specs and best practices

For photos and graphics on X (formerly Twitter), the platform uses clear, practical limits to balance image quality with performance and accessibility. Images that fit within th...

Mara Ellison
Twitter picture size limit: exact specs and best practices

What are the current Twitter image requirements

For photos and graphics on X (formerly Twitter), the platform uses clear, practical limits to balance image quality with performance and accessibility. Images that fit within the official limits upload cleanly, display consistently across devices, and avoid unexpected cropping or heavy compression. Below are the verified technical limits, recommended sizes, and practical tips you can use right away when preparing images for posts, headers, and profile pictures.

Photo attachments in tweets

For standard tweet images (photos you attach to a post), X specifies maximum dimensions and file size to ensure reliable delivery and a consistent timeline experience. These limits also affect how images display in timelines and detail panes, and they help reduce load times on slower connections.

Attribute Verified Detail Source Type
Maximum width 4096 pixels Platform specification
Maximum height 4096 pixels Platform specification
Maximum file size 5 MB Platform specification
Supported formats JPEG, PNG, GIF (non-animated), WebP Platform documentation

To avoid automatic resizing, quality loss, or cropping, aim for dimensions that fit neatly inside the limits while matching common aspect ratios used in the timeline and detail views. Higher resolutions within the limits give you more flexibility for responsive layouts, but very large files are downscaled anyway, so balance quality with efficiency.

  • Aspect ratio 16:9 (widescreen timeline): 1280×720 px or 1920×1080 px
  • Aspect ratio 1.91:1 (optimal for timeline and shared links): 1200×628 px
  • Aspect ratio 1:1 (center-aligned cards): 1200×1200 px
  • Aspect ratio 3:2 (photo-style posts): 800×1200 px (portrait) or 1200×800 px (landscape)

Keep the important content away from edges, because timelines may crop images differently on desktop and mobile. Text or key visuals placed within the central area are more likely to remain visible after automatic cropping.

Image cropping behavior on X

X applies automatic cropping in several places, and these crops depend on aspect ratio and placement. Understanding these patterns helps you compose images so critical content is preserved regardless of where and how the post is seen.

Aspect ratios and how they are cropped

Aspect ratio Typical use Visible region notes
4:3 Standard photos, infographics Minimal cropping in timelines; safe for most content
16:9 Videos and widescreen imageryMay be letterboxed or cropped in some views
1.91:1 Shared links and summary cards Favored by the platform; often used in timeline previews
1:1 Centered cards and profile images Symmetrical framing; minimal distortion
2:3 Mobile-friendly portrait posts Used in profile-like placements and detail panes

When in doubt, use a 1.91:1 or 4:3 frame for broad compatibility, and keep essential visuals and text toward the center. If you include text that must remain readable, test how it looks on both desktop and mobile before posting.

Header (banner) image limits on X

Your profile banner is separate from tweet images and has its own recommended dimensions. The platform scales banners to fit multiple devices, and X provides an in-tool preview so you can check how your image will look before you save it.

d>2 MB
Attribute Verified Detail Source Type
Recommended dimensions 1500×500 px Platform guidance
Minimum width 600 px Platform guidance
Maximum file size Platform specification
Supported formats JPEG, PNG, WEBP, GIF (non-animated) Platform documentation

Design banners with important elements centered, because the visible area changes on different screen sizes and on mobile the sides may be clipped. Avoid placing key messages or logos too close to the edges.

Profile picture requirements and best practices

Your profile photo appears across timelines, notifications, and in small avatar slots, so clarity at small sizes is essential. X resizes and compresses avatars to a consistent display size, and it also offers automatic transparency for certain PNG images in some contexts.

\n d>4 MB
Attribute Verified DetailSource Type
Recommended dimensions 400×400 px (square) Platform guidance
Minimum side length 200 px Platform guidance
Maximum file size Platform specification
Aspect ratio 1:1 (square) Display behavior
Supported formatsJPEG, PNG, GIF (non-animated), WebP Platform documentation

For best results, use a high-contrast, recognizable image and place the key subject in the center. Export as PNG if you need transparency or clean edges; export as JPEG for photographic detail. Test how it looks at small sizes by reducing it to 100×100 px locally to verify readability.

File format guidance and compression tips

Choosing the right format and balancing quality vs. file size helps your images load quickly and look sharp. X recompresses uploaded images to optimize delivery, so starting with a reasonably sized file reduces the chance of visible artifacts.

  • JPEG: Best for photographs and complex imagery. Aim for high-quality settings to limit compression artifacts; file size usually well under 5 MB at recommended dimensions.
  • PNG: Good for graphics, text, and images requiring transparency. PNG can be larger than JPEG at similar dimensions; if file size is an issue, consider converting to WebP.
  • WebP: Offers strong compression with minimal quality loss and supports transparency. Supported across X; a safe modern choice when compatibility with older tools isn’t required.
  • GIF (non-animated): Accepted but generally less efficient than PNG or WebP for static graphics. Use only when you specifically need animated content.

Before uploading, resize and compress your image locally using a trusted editor or export preset so it fits within the 5 MB cap and uses one of the supported formats. This reduces processing time on X’s side and improves how your image looks after compression.

Accessibility and alt text considerations

Clear image dimensions and proper formatting support accessibility. X allows you to add alt text to images in tweets, and alt text is essential for screen reader users and for contexts where images are turned off or fail to load. Including concise, descriptive text improves reach and ensures your visual content is understandable to everyone.

When creating your alt text, focus on the essential information and any relevant context provided by surrounding text. Avoid redundant phrases like “image of” or “picture of” unless the visual content is critical to the meaning. Alt text also helps your content appear in accessible search experiences and contributes to a more inclusive timeline.

Related Reading

More pages in this topic cluster.

How to Check Recent Likes on Instagram: A Clear, Step-by-Step Guide

On Instagram, a recent like indicates that an account has engaged with a post by tapping the like button. This activity can appear in a post’s engagement count and, depending...

Read next
Understanding Adult Snapchat Accounts: Types, Uses, and Verification Best Practices

Adult Snapchat accounts are user profiles on the Snapchat platform that share content intended for a mature audience, typically marked for users aged 18 and older. These account...

Read next
Can You Capitalize Hashtags: A Clear Guide to Capitalization and Style

You can capitalize hashtags to improve readability and professionalism, and the choice follows clear conventions rather than rigid universal rules. Capitalizing each major word...

Read next