If you see “Some of your media failed to upload” on Twitter (now X), the fix is usually to reduce the file size or resolution of the images or video, then retry. This error appears when one or more files in your post exceeds Twitter’s upload limits or has an unsupported format, so compressing or converting the file before reposting normally resolves it.
Why Twitter Rejects Media Files
Twitter enforces strict technical limits on every image, GIF, and video you attach to a post. These limits exist to keep the platform fast and to prevent abuse, but they also cause the “media failed to upload” message when you exceed them. The most common reasons are:
- File size too large – Twitter caps images at 5 MB for photos and 15 MB for GIFs on the web, and 5 MB on mobile. Videos are capped at 512 MB for verified accounts and 512 MB for unverified, but the practical limit is often lower because of duration and resolution rules.
- Video duration too long – Standard accounts can upload videos up to 2 minutes and 20 seconds (140 seconds) on the web and 10 minutes on the mobile app. Longer videos get rejected even if the file size is under the cap.
- Resolution too high – Videos must be 1920×1200 pixels or smaller (with a 2:1 aspect ratio maximum). Images must be 4096×4096 pixels or smaller. Anything larger triggers the error.
- Unsupported format – Twitter accepts JPEG, PNG, GIF, WEBP for images, and MP4 or MOV for video. HEIC, BMP, TIFF, or AVI files often fail silently.
- Frame rate or bitrate issues – Videos with very high frame rates (above 60 fps) or extremely high bitrates (above 25 Mbps) can be rejected even if they meet other limits.
How to Fix the Error: Step-by-Step
Follow these steps in order, testing after each one. The first fix works for most people.
- Compress the image or video – Use a free tool like TinyPNG for images or HandBrake for videos. For a quick fix, open the image in any photo editor and “Export” or “Save As” with a lower quality setting (e.g., 80% for JPEG). For video, reduce the resolution to 1280×720 and the bitrate to 8 Mbps.
- Convert the file to a supported format – If your file is HEIC, BMP, or AVI, convert it to JPEG/PNG (images) or MP4 (video). Most operating systems have built-in converters; on Windows, use Paint to save as JPEG, on Mac, use Preview to export as JPEG.
- Trim the video – If your video is longer than 2 minutes 20 seconds, cut it down using your phone’s built-in editor or a free tool like Clipchamp (Windows) or iMovie (Mac).
- Reduce the resolution – For images, resize to 1600×1200 or smaller. For video, use 1280×720 (720p) instead of 4K. This often fixes both size and resolution errors at once.
- Clear the Twitter cache and retry – On the mobile app, go to Settings and Privacy → Data usage → Media storage, then clear the cached media. On the web, close the browser tab and reopen it. A stale cache can cause upload failures even with valid files.
- Try uploading fewer files at once – Twitter allows up to 4 images per post, but uploading 4 large images simultaneously can hit a combined size limit. Upload one by one, or split into multiple posts.
Twitter’s Exact Upload Limits (2024)
Knowing the exact numbers helps you avoid the error before it happens. These are the current limits for standard (free) accounts:
- Images: 5 MB per image, 4096×4096 pixels max, formats: JPEG, PNG, GIF, WEBP.
- GIFs: 15 MB on web, 5 MB on mobile, same pixel limit as images.
- Videos: 512 MB file size, 2 minutes 20 seconds max duration on web, 10 minutes on mobile app. Resolution must be between 32×32 and 1920×1200 pixels, aspect ratio between 1:2 and 2:1. Recommended: 1280×720, 30 fps, H.264 codec, AAC audio.
- Multiple files: Up to 4 images or 1 video per post. Combining images and video in one post is not supported.
Note that Twitter may change these limits without notice, and verified (paid) accounts may have higher video durations. Always check the official Help Center if you are unsure.
Common Misconceptions About the Error
Many users think the error means their internet connection is broken or their account is banned. That is rarely the case. The message specifically refers to the media files, not your network or account status. Here are two common myths:
- “It’s a Twitter outage” – While Twitter does have outages, the “media failed to upload” error is almost always file-specific. If other posts upload fine, it is your file, not the platform.
- “I need to delete and reinstall the app” – Reinstalling rarely helps because the problem is the file itself. Only try this if you have cleared the cache and the error persists across multiple files.
What to Do If the Fixes Don’t Work
If you have compressed, converted, trimmed, and resized, and the error still appears, try these advanced steps:
- Upload from a different device – If you are on mobile, try the web version (twitter.com) or vice versa. Different platforms have slightly different limits and processing pipelines.
- Rename the file – Remove special characters, emojis, or very long names. Some users report that files with non-ASCII characters in the filename fail to upload.
- Check the file extension case – Ensure it is lowercase (.jpg, .mp4) – uppercase extensions (.JPG) sometimes cause issues on Windows.
- Use the Twitter app’s built-in editor – Instead of uploading a pre-edited file, upload the original and use Twitter’s crop/trim tools. This often bypasses format issues.
- Wait a few minutes and retry – Twitter’s media processing servers occasionally have hiccups. A short wait can resolve a temporary server-side issue.
Preventing the Error in the Future
To avoid the error entirely, adopt these habits before uploading:
- Set your phone camera to record video at 1080p or 720p instead of 4K.
- Use a compression app (like Compress or Image Size) as part of your workflow.
- Keep a folder of “Twitter-ready” images that are already resized to 1600×1200 and under 5 MB.
- For videos, use a preset like “Twitter 720p” in HandBrake or Clipchamp.
- If you regularly post long videos, consider a Twitter Blue subscription (if available) or use a video-sharing service and post the link instead.
Frequently Asked Questions
Can I upload a 10-minute video to Twitter?
On the mobile app, yes – the limit is 10 minutes. On the web, the limit is 2 minutes 20 seconds. If you are using the web and your video is longer, either trim it or switch to the mobile app.
Why does my image say “failed to upload” but it’s only 3 MB?
The file size may be under the 5 MB limit, but the pixel dimensions could be too large (over 4096×4096). Also, some image formats like HEIC are not supported even if the size is small. Convert to JPEG and resize to 1600×1200.
Does Twitter compress my videos after upload?
Yes, Twitter re-encodes videos to a lower bitrate and sometimes reduces resolution. This is why you should upload the highest quality file that meets the limits – Twitter will compress it further, and the result will look better than if you uploaded a low-quality file.
Can I upload a video with a 4K resolution?
Twitter’s maximum resolution is 1920×1200, so 4K (3840×2160) is not supported. You must downscale the video to 1080p or 720p before uploading. If you try to upload 4K, you will get the media failed error.
Why does the error only happen on one of my images?
If you are uploading multiple images, one of them may be too large or in an unsupported format. The error message says “some of your media” because it refers to the entire batch. Check each file individually by uploading them one at a time.
Is there a way to upload without the 5 MB limit?
No, the 5 MB limit is fixed for all users. However, you can use a service like Imgur or a link shortener to share larger images – just paste the URL into your tweet instead of attaching the file.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Missing Scroll Bar in Chrome
- Fix Sony Vegas Crashing on Windows 10
- Fix Outlook Sent Items Missing? Quick Solutions
- Hide WhatsApp Channel: Android & iOS Guide
- Slow Context Menu in Windows 11: Fixes
- Declutter Safari on iPhone: 15 Quick Tips