macOS Error Code 13050: How to Fix It

Medium 30-90 minutes Medium Severity Verified June 2026
Error Code
13050
Brand
macOS
Product Type
operating_system
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
30-90 minutes
macOS Error Code 13050 is triggered when the Apple File System (APFS) detects corruption in a file or directory on your storage drive. This can happen due to an unexpected shutdown, a failing drive, or a botched macOS update. While it is a medium-severity issue, acting quickly is important to prevent data loss and stop corruption from spreading to other parts of the volume.
Ad

Tools You'll Need

How to Fix Error Code 13050

  1. Back Up Your Data Immediately

    Do NOT attempt any repair steps without a current backup. File corruption can worsen during repair attempts if the drive is failing.
  2. Run First Aid in Disk Utility

    Do not force-quit Disk Utility or shut down your Mac while First Aid is running. Interrupting this process can worsen corruption.
  3. Run First Aid From macOS Recovery Mode

  4. Use fsck_apfs in Terminal for Deep Repair

    Using the wrong disk identifier can affect the wrong drive. Double-check the identifier in the 'diskutil list' output before running fsck_apfs.
  5. Check for Drive Hardware Issues With S.M.A.R.T. Status

    A failing S.M.A.R.T. status is a hardware emergency. Back up all data immediately and do not rely on repair tools to resolve hardware-level drive failure.
  6. Reinstall macOS Over the Existing System

    Ensure you have a complete backup before reinstalling macOS. While this process is designed to preserve data, unexpected issues can result in data loss.
  7. Erase and Restore From Backup (Last Resort)

    Erasing the drive permanently deletes all data on it. Only proceed if you have a verified, complete backup and all other steps have failed.
Ad

When to Call a Professional

Contact Apple Support or visit an Apple Authorized Service Provider if your drive's S.M.A.R.T. status shows 'Failing,' if fsck_apfs reports unresolvable errors after multiple passes, if you are unable to access Recovery Mode, or if the error persists after a full erase and reinstall. A technician can perform professional data recovery from a failing drive and replace the internal storage if needed. Data recovery from a physically damaged drive typically requires specialized equipment and should not be attempted at home.

Frequently Asked Questions

What causes macOS Error Code 13050?
Error Code 13050 is caused by APFS detecting corruption in the file system. Common causes include an unexpected shutdown or power loss while data was being written, a failing or aging SSD or hard drive, a crashed or interrupted macOS update, faulty memory (RAM) causing write errors, or malware. Identifying and fixing the root cause is just as important as repairing the file system itself.
Will I lose my files fixing Error Code 13050?
Running First Aid or fsck_apfs typically does not delete personal files — these tools repair the file system structure. However, if corruption has damaged specific files, those files may be unrecoverable regardless of what repair tool you use. A reinstall over an existing system also preserves personal data in most cases. An erase-and-restore will remove all data, which is why creating a backup before any repair attempt is critical.
Can I fix macOS Error Code 13050 without Recovery Mode?
You can try running First Aid in Disk Utility while booted normally for non-startup drives. However, for corruption on your main startup volume, Recovery Mode is strongly recommended because it allows macOS to unmount or partially unmount the drive, enabling deeper and more effective repairs. Normal-mode First Aid on the startup disk is limited in what it can fix.
How long does fsck_apfs take to run?
The time depends on the size of your drive and the extent of corruption. On a typical 500 GB SSD, fsck_apfs usually completes within 5 to 20 minutes. Larger drives (1 TB or more) or drives with significant corruption can take 30 minutes or longer. Do not interrupt the process — let it run to completion even if it appears to stall.
How do I prevent macOS Error Code 13050 in the future?
To reduce the risk of APFS corruption, always shut down your Mac properly rather than cutting power abruptly. Keep macOS updated, as Apple regularly patches APFS bugs. Use Time Machine or another backup solution consistently so you always have a recovery point. Avoid filling your startup drive to capacity — keep at least 10-15% free space. Periodically check your drive's S.M.A.R.T. status in Disk Utility, and replace aging drives proactively before they fail completely.