X (Twitter) Sizes & Dimensions Guide

X (Twitter) image and video sizes for posts, video, the header banner, and your profile photo. PostFast applies them when you schedule.

Auto-optimize for X (Twitter)Try Free

All X (Twitter) Sizes at a GlanceUpdated 2026

Every X (Twitter) content type with its recommended dimensions, aspect ratio, and limits. Tap any content type for the full specification.

Content TypeDimensions (px)Aspect RatioMax File SizeMax Length
Post1200×67516:95MBn/a
Video1280×72016:9512MB140 seconds
Header1500×5003:12MBn/a
Profile Picture400×4001:12MBn/a

Why X (Twitter) sizes matter

X shows media at a limited width in the timeline and crops anything that does not fit a supported ratio, so the preview a follower sees may not match what you uploaded. Video length and file-size limits also differ between standard and Premium accounts. Sizing posts correctly means your image shows in full without an awkward crop.

X (Twitter) content specificationsUpdated 2026

X (Twitter) best practices and common mistakes

Best practices

  • Use 1200x675px (16:9) for post images so they show without cropping.
  • Keep the lower-left of your 1500x500px header clear, where the avatar sits.
  • Compress post images under 5MB to avoid extra re-compression.
  • Upload video as MP4 (H.264) and keep standard-account clips under 140 seconds.
  • Use PNG for graphics with text and JPG for photos.

Common mistakes to avoid

  • Uploading tall or square images that get cropped to a landscape preview.
  • Putting key header content in the lower-left behind the avatar and name.
  • Exceeding the 140-second video limit on a standard account.

Developer Resources

X (Twitter) API Guides

Learn how to schedule X (Twitter) content programmatically via API

Frequently asked questions about X (Twitter) sizes

What are the X (Twitter) image and video sizes in 2026?

X (Twitter) sizes by content type: Post 1200×675px, Video 1280×720px, Header 1500×500px, Profile Picture 400×400px. See the table above for the aspect ratio, file size, and supported formats of each one.

What is the best image size for X (Twitter)?

The recommended image size for X (Twitter) is 1200×675px (16:9), used for posts. Upload at this size to avoid cropping and limit compression.

What aspect ratios does X (Twitter) use?

X (Twitter) uses 16:9 for posts and videos, 3:1 for headers, and 1:1 for profile pictures.

How long can X (Twitter) videos be?

On X (Twitter), Video up to 140 seconds.

What file formats does X (Twitter) support?

Across its content types, X (Twitter) supports JPG, JPEG, PNG, WEBP, GIF, MP4, and MOV. Use JPG for photos, PNG for graphics with text, and MP4 for video.

Does X compress uploaded images?

X may compress images larger than about 5MB and re-encodes most uploads. Posting a PNG or a well-optimized JPG at 1200x675px and under 5MB gives the cleanest result in the timeline.

What size is the X (Twitter) header image?

The X header (banner) is 1500x500px (3:1). Your round profile photo and display name sit over the lower-left corner, so keep that area clear of important content.

Sizes for other platforms

Perfect X (Twitter) Posts Every Time

Never worry about X (Twitter) dimensions again. PostFast automatically optimizes your content for maximum engagement.

Start Free Trial
✓ Auto-resize✓ Schedule posts