Why Your JPG File Won’t Open (and How to Fix It)
Almost every device already opens .jpg files. If yours will not open, the file is usually damaged, is not really a JPG, or your default photo app is broken. Drag the file into a browser tab to see which.
That short test tells you exactly where to look next. The sections below cover each cause and the fix for it.
Why a .jpg that will not open is unusual
JPEG is the most widely supported image format there is. Windows Photos, macOS Preview, every phone, and every web browser open a .jpg with no extra software.
Most other file types cannot make that claim.
The .jpg and .jpeg spellings are the same format, not two different ones.
The extra letter is left over from older systems that only allowed three-letter extensions, and neither version is better.
So when a .jpg refuses to open, the format itself is almost never the problem. Something else is going on, and three causes explain nearly every case.
Test the file in a browser tab first
This ten-second test tells you which side of the problem you are on.
- Open a new tab in any web browser.
- Drag the .jpg file from its folder into that tab.
- See what the browser does with it.
If the browser displays the photo, the file itself is fine and your photo app is the problem. If the browser cannot show it either, the file is genuinely damaged.
Three reasons a .jpg won’t open
Once you know which side of that test you landed on, one of these three causes almost always explains it.
- The file is damaged or incomplete. An interrupted download, a failed transfer from a phone, or a partly recovered file can all leave a .jpg broken. It may show as grey, as half an image, or not at all.
- It is not actually a .jpg. Phones and cameras often save photos as HEIC files, or as RAW files such as .cr2 or .nef. Renaming one of those files to .jpg does not convert it. The file will still refuse to open.
- The default app is broken or missing. The file is fine, but Windows has no app associated with it, or the association points at something that cannot read images.
Windows hides file extensions by default.
So it pays to confirm the real one before assuming anything. The guide on how to show file extensions in Windows walks through it in a minute.
A .heic file renamed to .jpg is still a .heic underneath, no matter what the name says.
Fix the default app on Windows 11
If the browser test showed the file itself is fine, this fix takes less than a minute.
- Right-click the .jpg file.
- Choose Open with.
- Choose another app, then pick Photos from the list.
- Tick the box to always use that app, and confirm.
Windows now opens every .jpg with Photos automatically.
You will not need to repeat these steps for other image files with the same problem. If Photos itself keeps failing, IrfanView and XnView MP are solid free viewers on Windows, and Preview covers the same job on a Mac.
Skip JPEG repair download sites. Most bundle adware, and none of them can rebuild image data the file no longer has. If a browser cannot open it either, get a fresh copy from the original source instead.
If the browser cannot open it either
A file that fails in the browser too is genuinely corrupt, not just mismatched with an app. There is no reliable way to repair a truly damaged JPEG, because the missing data simply is not there anymore.
Go back to wherever the file came from and get a fresh copy instead. Re-download it, ask the sender to send it again, or re-copy it from the camera or phone that took it.
A repair attempt on a genuinely broken file almost never works, no matter what a download site promises.
Frequently asked questions
Short answers to the most common questions about a JPG that won’t open.
What is the difference between .jpg and .jpeg?
None. They are the exact same format under two different spellings, and neither one opens more easily than the other.
Why will my .jpg file not open?
Usually because the file is damaged, it is not really a .jpg, or Windows has lost its default app for photos. The browser test above tells you which one applies.
How do I open a .jpg file on Windows 11?
Right-click it, choose Open with, then Choose another app, and pick Photos. Tick the box to always use that app so the fix sticks for next time.
Can a corrupted .jpg file be recovered?
Usually not. If the missing data was never saved anywhere, no tool can put it back, so getting a fresh copy is the more reliable fix.
My phone photo is .heic and not .jpg, what do I do?
That is normal for iPhone photos, not a broken .jpg. The guide on opening HEIC files and converting them to JPG covers both the view and the convert path.