How to fix Mac error -36 (I/O failure) on an MBOX file
On a Mac, error -36 is an input/output failure reading or writing the file, often from leftover AppleDouble metadata files on a non-Mac drive, or a bad disk sector. Jump to your situation below or work through the methods in order.
By Neeraj Singh ~6 min Updated Jun 2026 90% found this helpful
Error message
Error -36: an I/O error occurred. The Finder could not complete the operation because some data could not be read or written.
Summary
On macOS, error -36 is an input/output error, the system could not fully read or write the file. With an MBOX file it most often appears when the file has been on a non-Mac volume (a Windows-formatted drive, a network share or a USB stick) that scattered hidden AppleDouble files (the ._ companion files macOS uses to store metadata) and they have become inconsistent. It can also mean a genuine bad sector on the drive. The classic fix is the dot_clean command, which merges and clears those ._ metadata files so the Finder can read the real file cleanly. Beyond that, copying the MBOX to a healthy local APFS or HFS+ drive and running a disk check resolves the hardware and filesystem causes.
What this error means
Error -36 is macOS reporting that a read or write did not complete. It is not specific to email, but MBOX files hit it often because they travel between systems during migration, and that travel is where the trouble starts.
The usual trigger is AppleDouble metadata. When a Mac writes to a non-Mac drive it creates hidden ._ files alongside each real file to hold Mac-specific attributes. If those get out of sync or partly copied, the Finder chokes on the pair and returns -36. Merging them with dot_clean, or moving the file to a native Mac drive, clears it.
Common causes
Inconsistent AppleDouble (._) metadata files from a non-Mac volume.
The file lives on a Windows-formatted drive, USB stick or network share.
A bad sector on the source drive.
An interrupted or incomplete earlier copy.
Filesystem errors on the volume.
Permissions problems on the file.
Expert insight
“Error -36 looks like the disk is dying, but for MBOX files it is usually those little ._ ghost files that macOS leaves on non-Mac drives. The file came off a Windows stick or a NAS, the metadata twins got out of step, and the Finder refuses to read the pair. One command, dot_clean on the folder, merges and clears them and the copy goes through. If that does not do it, I get the file onto a real Mac drive and run a disk check.”
Manager, Tech Support & Operations · 19+ years fixing Windows and system errors
✓ How to fix it
Method 1
Run dot_clean on the folder
1Open Terminal and run dot_clean on the folder that holds the MBOX file:
dot_clean /path/to/folder/containing/mbox
2This merges and clears the hidden ._ AppleDouble files that cause -36.
3Then retry the read or copy.
Method 2
Copy to a healthy local drive
1Copy the MBOX file to a local APFS or HFS+ drive rather than working off a USB stick or network share.
2Native Mac storage avoids the AppleDouble mismatch entirely.
3Import from the local copy.
Method 3
Check the disk
1Run First Aid on the volume in Disk Utility to find and repair filesystem errors and bad sectors.
2If errors are found, recover the file to a known-good drive first.
3Then retry.
Method 4
Fix permissions
1Check the file's permissions with Get Info and make sure your account can read it.
2Repair permissions if needed.
3Then import.
For an MBOX file, error -36 is usually the hidden ._ AppleDouble metadata from a non-Mac drive, so dot_clean is the first and most effective fix. Getting the file onto a native APFS or HFS+ drive avoids the problem entirely. Reach for a disk check only if dot_clean and a clean copy do not clear it, since then a real disk fault is likely.
Frequently asked questions
What does Mac error -36 mean?
It is an input/output error, macOS could not fully read or write the file. With MBOX files it usually comes from inconsistent AppleDouble metadata on a non-Mac drive, or a bad sector.
What is dot_clean and how do I use it?
dot_clean merges and removes the hidden ._ AppleDouble files macOS creates on non-Mac volumes. Run dot_clean followed by the path to the folder holding the MBOX file in Terminal, then retry.
Why does it happen on a USB stick or NAS?
Non-Mac drives store Mac metadata in separate ._ files. If those get out of sync or partly copied, the Finder cannot read the pair and returns -36. Copying to a Mac-native drive avoids it.
Could it be a failing disk?
Yes. If dot_clean and a clean copy do not help, run First Aid in Disk Utility. A genuine bad sector or filesystem error will need the disk repaired and the file recovered.
How do I avoid error -36 during migration?
Work from a local APFS or HFS+ drive rather than a Windows-formatted stick or network share, which prevents the AppleDouble mismatch that causes the error.
Still not working?
If dot_clean and a disk check do not help and the copy still fails at the same point, the MBOX file has a damaged region on the source media. Use a tool like ditto or rsync that can continue past errors to salvage as much of the file as possible to a healthy drive, then import that copy. You can also submit your error to us for a tailored fix.