What This Error Means
F21 on a MacBook Pro is not an official Apple error code. Apple never published an ‘F21’ for macOS or Apple Diagnostics.
If you are seeing ‘F21’ on the screen and the Mac will not boot, something low‑level bailed out before macOS could start — usually the internal drive, its cable, or the logic board.
So treat ‘F21’ as a generic ‘hardware/boot failure’ flag, not a software pop‑up you can click away.
Official Fix
- Kill the power: hold the power button for about 10 seconds until the Mac is completely off.
- Unplug everything that is not the charger: USB, Thunderbolt, HDMI, SD card, hubs, docks, external drives. Then try to boot again. If F21 only shows up with some device attached, that device or its cable is the real problem.
- Reset the power controller (SMC).
Intel MacBook Pro: from off, hold Shift + Control + Option on the left side and the power button for 10 seconds, release, then press power again.
Apple silicon (M1/M2/M3): just leave it shut down for 30 seconds, then turn it back on; SMC reset is built in. - Reset NVRAM / PRAM (Intel only): from off, hold Option + Command + P + R, then press power and keep holding the keys for about 20 seconds before letting go.
- Try macOS Recovery.
Apple silicon: hold the power button until you see ‘Loading startup options’, then pick ‘Options’ and hit Continue.
Intel: power on and immediately hold Command + R.
In Recovery, open Disk Utility, select the internal disk, and run First Aid. If it reports errors and fixes them, reboot and test. If it cannot repair or the disk does not show up, note that. - Run Apple Diagnostics.
Apple silicon: from shutdown, hold the power button until startup options appear, then press Command + D.
Intel: from shutdown, press power and immediately hold D.
Let the test finish and write down any reference codes it gives. - If Recovery cannot see the internal disk, or Diagnostics reports storage or logic board faults, the official Apple path is hardware replacement: internal drive on older models, or the entire logic board on newer machines with soldered storage.
- If Diagnostics finds nothing but the Mac still refuses to boot cleanly and keeps flashing F21, Apple will ignore the F21 text and treat it as a generic no‑boot case, then quote you for drive or logic board replacement.
The Technician’s Trick
Blunt truth: Apple does not have a special meaning for ‘F21’. When I see it in the wild, I ignore the code and chase the real failure: storage, cable, board, or some dumb accessory.
- Test it bare. Pull every cable and dongle, then try a startup while holding Option to bring up the boot picker. If you only see an external disk and not the internal one, the internal drive or its cable is toast.
- Boot from an external drive. Grab a USB or USB‑C SSD with macOS on it, plug it in, hold Option at boot, and pick the external. If the Mac runs fine that way, ignore F21 and replace the internal drive or, on 2012–2015 SATA models, the cheap flex cable first.
- Cheap win on older unibody Pros (2012–2015): pop the bottom cover, reseat the SATA cable at both ends. If there is any crease or burn mark, just replace the cable. That cable fails way more often than the logic board.
- Check for heat or fan weirdness. Fans screaming, then a black screen and F21 hint that the board is tripping on thermal or power. Blow the vents out, make sure nothing metal is stuck in the ports, then test again. If it still dies, you are looking at a board job.
- If it will not show any internal or external boot options, no chime, no Recovery, and F21 is all you see, treat the code as noise. That is a dead or dying logic board, and no amount of key combos will save it.
Is It Worth Fixing? (The Financial Verdict)
- ✅ Fix: Machine under about 6 years old, or any age where it still boots from an external drive and you only need a new SSD or SATA cable. Parts are cheap and the Mac still has life.
- ⚠️ Debatable: 2015–2017 Intel MacBook Pro that needs a logic board. Do the math if the quote is under roughly half the cost of a good used replacement and you rely on Intel‑only software.
- ❌ Replace: Very old (pre‑2014) or liquid‑damaged units with board faults, or any Mac where the repair quote lands near the price of a newer used MacBook Pro with better performance and support.
Parts You Might Need
- Replacement SSD or NVMe drive – Find Replacement SSD or NVMe drive on Amazon
- MacBook Pro SATA hard drive cable (2012–2015 models) – Find MacBook Pro SATA hard drive cable on Amazon
- MacBook Pro cooling fan – Find MacBook Pro cooling fan on Amazon
- MacBook Pro logic board (used or refurbished) – Find MacBook Pro logic board on Amazon
- Pentalobe and Torx screwdriver set for MacBook – Find Pentalobe and Torx screwdriver set on Amazon
- External USB‑C or USB 3.0 SSD for emergency boot – Find External USB‑C or USB 3.0 SSD on Amazon