Corrupted files on Mac need diagnosis before repair. If one document will not open, protect the original and test a copy in a compatible app. If many files fail, copying stalls, or an external drive disconnects, prioritize a backup and the drive’s condition. Time Machine or an app’s saved versions may restore a usable earlier copy; Disk Utility First Aid checks storage structure, but it cannot recreate missing document contents.

“Corrupted” is often the wording of an app error, not a confirmed diagnosis. A file that is still downloading, a document opened by the wrong program, a changed filename extension, and a failing drive can all produce similar symptoms. No repair command can guarantee that a damaged file’s original contents are recoverable. The safest path is to preserve what remains, collect a little evidence, and choose the least disruptive action.
On this page
Which kind of failure do you have?
| Observed symptom | First comparison | Likely next route |
|---|---|---|
| Only one document fails in one app | Open another known-good document of the same type. | File, format, extension or app-specific issue. |
| Every document of that type fails | Open one in a second compatible app. | App installation, update or file association. |
| Many unrelated files fail or copying stalls | Check whether the drive disconnects or Disk Utility reports trouble. | Storage or file-system problem; preserve data first. |
| Cloud file shows a download or sync status | Check iCloud Drive status and another accessible copy. | Availability or sync issue, not necessarily file damage. |
| Photos opens poorly or a Photos library will not open | Check whether ordinary images open outside the library. | Photos library-specific recovery. |
If the message says an application is damaged or cannot be verified, that is a different problem from a corrupt document. Apple treats app-opening and security warnings separately. Do not disable macOS security controls to “repair” an unfamiliar app or document. Obtain a fresh app from the App Store or its publisher if the app itself is the problem.
1. Protect the original before trying fixes
If the file is readable enough to copy, duplicate it to a healthy location and work on the copy. For an external drive, a second drive is preferable to another folder on the same suspect device. Keep the original filename and extension in a note; record the exact error message and the app that displayed it. Do not repeatedly save over the only copy as you experiment.
- In Finder, select the affected file and open File > Get Info or press Command-I. Record its location, size and filename extension.
- Try to copy it to a healthy drive or another location with sufficient free space. If the copy succeeds, leave the original untouched.
- If copying fails, note whether other files on the same drive also fail and whether the drive vanishes from Finder.
- For a valuable sole copy on a noisy, disconnecting or physically damaged drive, stop repeated scans and writes. Consider a qualified data-recovery service before further repair attempts.
Expected result: you have a separate test copy, or you have identified that the storage device itself is unreliable. The latter changes the priority from “open this document” to “preserve data from this drive.” A mechanical drive making unusual clicking sounds or an SSD that repeatedly disappears should not be treated like a simple app error.
Do not rename a file from one extension to another just to make it open. Apple’s filename extension guidance explains that extensions indicate file type; renaming the suffix does not convert the underlying format. A program that saves the file in the correct format is needed for a true conversion.
2. Check whether the file, format or app is at fault
Work with the test copy. Apple’s Open With instructions let you choose a specific compatible app for a single file without changing the default for every file of that type. Try a known-good file of the same format in the original app, then try the suspect copy in another trusted compatible viewer.
- Check the file’s size in Get Info. A zero-byte file or an unexpectedly tiny download is unlikely to contain the original document.
- Open a known-good file of the same type in the app. If it also fails, update or troubleshoot the app first.
- Control-click the suspect copy, choose Open With, and select a compatible app. Do not choose “Change All” for this one-file test.
- If only the suspect file fails everywhere, search for an earlier version or another copy instead of repeatedly reinstalling the app.
Expected result: a different app opens the copy, or the comparison shows that one file is uniquely affected. A document created by a newer app may not open in an older version; check the creator’s supported formats before calling it corruption. A mismatched extension can also send a valid file to the wrong app. Keep the original intact while you identify the format.
Quick Look can sometimes preview a file in Finder even when the preferred editor fails, but preview success is not proof that every part of the document is intact. If a trusted app opens it, save a new copy with a distinct name and inspect the entire document, including pages, embedded images and attachments. If the app itself fails to launch, Apple’s app-opening guidance is a more relevant path than disk repair.
3. Restore a version from before the damage
A previous good copy is often more reliable than an automated “repair” tool. Time Machine, when it was already configured and has a suitable backup, can restore an older file. Many document apps also keep versions that you can browse. These are separate from changing the file’s extension or asking an editor to invent missing data.
Use Time Machine for an earlier file
- Open the Finder folder where the file normally lives.
- Open Time Machine and navigate to a backup from before the file stopped opening.
- Select the file and restore it. Compare its size and contents with the affected copy.
- If the restored file would overwrite a current file, first move or copy the current version to a safe location.
Apple’s Time Machine restore guide describes the folder-based workflow. It depends on a backup that existed before the problem. If the backup contains the already damaged version, try an older snapshot rather than restoring the same bad copy repeatedly.
Use an app’s document versions
In apps that support macOS document versions, open the document and choose File > Revert To > Browse All Versions. Apple’s version-history guide explains how to inspect earlier states. Holding Option while choosing Restore a Copy can preserve the current document in supported apps. Menus vary by app; if the document cannot open at all, use Time Machine or that app’s own recovery instructions instead.
Expected result: an older version opens and contains the missing or undamaged content. Review its last edits before replacing the current file. Recovery may mean losing changes made after the version’s timestamp, so keep both copies until you know what was recovered.
4. Check iCloud Drive without confusing sync with corruption
If the file is in iCloud Drive, look at its Finder status before deciding the bytes are damaged. An incomplete download, account or network issue can stop a file from opening even when a good cloud copy exists. Check the same file from another signed-in device or iCloud.com if you have access. Avoid moving or deleting the only apparent copy while sync is uncertain.
If a file was deleted, Apple’s iCloud recovery instructions describe a Recently Deleted area and a limited recovery window. That is for deletion, not a guarantee that iCloud can revert every corrupted file to an older good version. Some apps have their own document versions; check the app and service separately.
Expected result: a complete cloud copy downloads and opens, or you discover that the issue is the document itself or the local storage. If iCloud and the Mac both show the same damaged file, look for Time Machine, app versions or another independently saved copy. Sync is useful for availability, but a damaged edit may also sync to other devices.
If Finder specifically shows Waiting to Upload, follow the Waiting to Upload on Mac checks. That label means the item has not yet been stored in iCloud; it does not by itself prove file corruption.
If file errors began with a failed macOS installation or a startup message about required system software, use the Mac critical software update checklist to check the installation path. Protect the original files before any erasing recovery option.
5. Use Disk Utility First Aid for disk-level symptoms
Disk Utility is appropriate when multiple unrelated files misbehave, an external drive has file-system errors, or the Mac reports a storage problem. It is not a document-content reconstruction tool. Apple says First Aid checks formatting and directory structure and cannot detect or repair every disk problem. Back up readable data before running it.
- Copy important readable files to another healthy device, if the drive remains stable enough to do so.
- Open Disk Utility and choose View > Show All Devices.
- Select each volume on the affected device and run First Aid, then the containers, then the device itself, following Apple’s documented order.
- If this is the startup disk, use macOS Recovery as Apple’s instructions direct. Do not erase the disk merely because a single document failed.
- Read the results. If the device is reported as about to fail, back up what you can and replace it. If First Aid cannot repair the device, plan recovery from backup or seek support before destructive steps.
Follow Apple’s Disk Utility First Aid guide for the exact sequence and interpretation. An “OK” result means Disk Utility did not find the disk-structure problem it checks for; it does not prove that the contents of one document are intact. If the drive repeatedly disconnects or makes unusual physical noises, minimize further activity and consider professional recovery rather than repeated repair attempts.
If the external device does not appear at all, use the separate external-hard-drive Mac guide to check connection, cable and power. A missing device is a different symptom from one corrupted document.
6. Repair a Photos library only when the library is affected
If the Photos app cannot open its library or behaves unexpectedly across many images, Apple provides a dedicated Repair Library tool. It is designed for the Photos library database, not an arbitrary JPEG, PDF or Word document. Back up the library first. If an individual image outside Photos is damaged, use the earlier file and backup checks instead.
- Quit Photos completely.
- Make a backup of the Photos library before repair, using Time Machine or another suitable backup location.
- Hold Option-Command while opening Photos from Applications or the Dock.
- Choose Repair in the Repair Library window and wait for the process to finish.
- Check the library and any iCloud Photos sync status afterward; compare important images with a backup if needed.
Apple’s Photos Repair Library guide states the backup prerequisite. It also says a library used with iCloud Photos will be checked against iCloud after repair. Do not start this repair to fix one unrelated file or assume it will restore an image’s pixels if the original image data is damaged.
Choose the next action from the result
| Result | Next action | Why |
|---|---|---|
| One file fails, similar files open | Protect it; check versions and backups. | The app and disk are less likely to be the main cause. |
| All files of one type fail in one app | Try a compatible app and update the original app. | Format or app support is plausible. |
| Several unrelated files fail or copying stalls | Prioritize backup and device assessment. | Storage damage may be broader than one file. |
| Cloud file has an incomplete download | Check sync and an independent copy. | Unavailable bytes are not necessarily corrupted bytes. |
| Photos library will not open | Back up the library; consider its Repair tool. | Library database repair is a distinct process. |
| Disk Utility reports imminent failure | Back up what can be read and replace the device. | Apple says First Aid cannot fix a failing disk. |
When these checks will not recover the file
A zero-byte file without any backup or older version may not contain the lost content. A severely damaged drive can make even copying impossible. Disk Utility cannot manufacture a missing document body, and a generic “file repair” app cannot promise recovery without knowing the format and damage. A file can also be password-protected or created in a format the current app does not support; that needs the correct credentials or software, not disk First Aid.
Stop before erasing a drive, reinstalling macOS, repeatedly writing to a failing device, or following random Terminal commands that rewrite the original. If the only copy is valuable, document the symptoms and ask the device manufacturer, software vendor or a reputable recovery specialist about the least destructive next step.
Frequently asked questions
Can Disk Utility repair a corrupted PDF or Word document?
First Aid checks storage structure. It may resolve a file-system problem, but it does not rebuild the content of an individual PDF or Word file. Use a previous version, backup or the document app’s format-specific recovery path for that file.
Why will a file open on another Mac but not this one?
The second Mac may have a compatible app version, a complete cloud download or a different file association. Compare the actual file sizes and app versions before assuming the bytes are different. Test a copy on the affected Mac with a compatible app.
Does renaming the extension fix corruption?
No. A filename suffix tells macOS which app may open the file; renaming it does not convert the underlying data. Use the creating app’s export or conversion feature if a different format is needed.
What if Time Machine was never enabled?
Check the document app’s version history, iCloud or another backup service, email attachments and copies on other devices. If none exists, the options depend on whether the original is readable and what format it uses. Do not promise recovery from an unavailable backup.
Should I use Photos Repair Library for one bad image?
No. Apple’s tool is for a Photos library problem. A single damaged image should be checked against another copy or an older backup; repairing the entire library is not the first response.
Official sources and next step
- Apple: choose an app to open a file
- Apple: restore files with Time Machine
- Apple: browse document versions
- Apple: Disk Utility First Aid
- Apple: repair a Photos library
Next action: If you have corrupted files on Mac, make a copy if the storage is stable. Then use the symptom table to identify whether this is one document, one app, a cloud availability issue or a broader device problem. Restore from a known-good version before trying invasive repair.


