How to run Apple Diagnostics on your Mac

To run Apple Diagnostics on a Mac with Apple silicon, shut it down, press and hold the power button until you see Options, release it, then press and hold Command-D until the Mac restarts. On an Intel Mac, turn it on and at once press and hold the D key until a progress bar or a language list appears. The test takes a few minutes and ends with “No issues found” or a reference code such as PPF001.

Apple Diagnostics is a hardware test built into every Mac. It checks the logic board, memory, power, fans, the battery and other parts, and it runs outside macOS, so it works even when macOS won’t start. It’s the right first step when a Mac shuts down on its own, won’t charge, runs a fan at full speed for no reason, or shows a strange screen. It isn’t a full health check: it looks for parts that have failed, not for parts that are wearing out.

Before you start

  1. Save your work and quit your apps. The Mac restarts into the test.
  2. Disconnect everything except the essentials: a keyboard, a mouse or trackpad, a display and Ethernet if you use it. Remove external drives, hubs, docks and printers. A faulty accessory can make a healthy Mac fail, and Apple asks for them to be unplugged.
  3. Put the Mac on a hard, flat surface with good air flow, plugged into power. A MacBook should be charging for the whole test.
  4. Know which chip your Mac has. Choose Apple menu ▸ About This Mac. A line that starts with Chip (Apple M1, M2, M3, M4 or later) means Apple silicon. A line that starts with Processor (Intel Core i5, i7, i9) means Intel. The steps differ.

Run Apple Diagnostics on a Mac with Apple silicon

  1. Choose Apple menu ▸ Shut Down and wait until the screen is fully dark.
  2. Press and hold the power button (Touch ID on a MacBook). Keep holding it as the Mac turns on.
  3. Release it when you see Options, the gear beside your startup disk, under “Loading startup options.”
  4. Press and hold Command-D (⌘D) until the Mac restarts.
  5. If asked, choose a language and join a Wi-Fi network. Accept the terms if they appear.
  6. Wait for the progress bar. The test takes a few minutes.
  7. Read the result: No issues found, or one or more reference codes with a short description. Write the codes down.

Run Apple Diagnostics on an Intel Mac

  1. Choose Apple menu ▸ Shut Down, or Restart.
  2. As the Mac turns on, at once press and hold the D key.
  3. Release it when a progress bar appears, or when you’re asked to choose a language.
  4. Wait for the test to finish, a few minutes.
  5. Write down any reference codes.

If holding D does nothing, the built-in copy may be missing or damaged. Restart and hold Option-D instead: the Mac loads Apple Diagnostics over the internet, so it needs a Wi-Fi or Ethernet connection.

When the test is done

Apple Diagnostics shows its results on the same screen: No issues found, or each issue with a short description and a reference code. On some versions of macOS it first asks you to choose a test, such as one for the display, the keyboard or the trackpad. Write the codes down, or take a photo of the screen with your phone, before you restart. From there you can run the test again, restart into macOS, or shut down, and where it’s offered, open Apple’s support page with your codes to arrange a repair.

A clean result means no part failed during the test. It doesn’t rule out a problem that comes and goes, or one that only shows up under heavy use or heat.

What the reference codes mean

Every result ends in a code of three letters and three digits. The first letters say which part is involved. These are the ones you’re most likely to see, in Apple’s own words from its reference codes page, read on November 26, 2026:

Code What Apple says it means
ADP000 No issues found
PPT002, PPT003 The battery will need to be replaced soon. It works normally but holds less charge than when new
PPT004, PPT006 The battery requires service. The Mac can still be used until it’s checked
PPT007 The battery needs to be replaced
PPT021 The battery’s charge is too low to complete the test: charge it and run it again
PPF001, PPF003, PPF004 There may be an issue with the fan
PPM001 There may be an issue with a memory module
PPM002 to PPM016 There may be an issue with the onboard memory
VDH001 to VDH004 There may be an issue with a storage device
VDH005 Unable to start macOS Recovery
VFD001 to VFD007 There may be an issue with the display or graphics processor
CNW001, CNW003 to CNW006, CNW009 There may be an issue with the Wi-Fi hardware
NDL001, NDL002 There may be an issue with the Bluetooth hardware
NDT001 to NDT006 There may be an issue with the Thunderbolt hardware
PFM001 to PFM007 There may be an issue with the System Management Controller (SMC)
PPP001 to PPP008 There may be an issue with the power adapter
PPP020 No power adapter was detected
NNN001 A serial number was not detected

Apple’s reference codes page lists every code and the next step for each. Codes that say “may be an issue” usually mean a visit to Apple or an Apple Authorized Service Provider. A battery code on a MacBook usually matches Service Recommended in System Settings ▸ Battery.

What Apple Diagnostics can’t see

Apple Diagnostics answers one question: has a part failed right now? A Mac can pass it and still be in trouble:

  • A drive that is wearing out. An SSD reports how much of its rated life it has used and how many errors it has logged. Diagnostics passes a drive until it fails outright; System Information shows only S.M.A.R.T. Status: Verified.
  • Crashes and hangs. Apps that quit unexpectedly, freezes and restarts after a problem are kept in macOS’s logs, not tested.
  • Heat over time. A test of a few minutes on a cool Mac won’t show a fan that can’t keep up on a hot afternoon.
  • Backups, security and updates. Whether Time Machine has run lately, whether FileVault and the firewall are on, and whether updates are waiting are settings, not hardware.
Brello’s Security sheet on a sample Mac: FileVault on, Firewall off with Open Firewall Settings, System Integrity Protection on and Gatekeeper on, each with what it means, Why it matters and Read from macOS.
Settings a hardware test can’t see, read by Brello’s checkup: FileVault, the firewall, System Integrity Protection and Gatekeeper.
Brello’s Storage sheet on a sample Mac: free space 219.73 GB of 994.66 GB, drive health Verified, drive wear 4% of its rated life, 21 TB written over its life, spare blocks 100% and 2 sudden power losses, each from the drive’s own health log.
The drive’s own health log, read by Brello: wear, data written, spare blocks and sudden power losses, each with where macOS reports it. A drive can pass Apple Diagnostics with any of these getting worse.

What we measured on our own iMac

We checked this on the iMac we build Brello on (24-inch, Apple M4, macOS 27.0.1, a 1 TB Apple SSD) on November 26, 2026. Three tools, three different answers about the same drive:

  • System Information (Apple menu ▸ About This Mac ▸ More Info…, then System Report… at the bottom of the window, then NVMExpress in the sidebar) says S.M.A.R.T. status: Verified. That’s all it says.
  • smartctl (smartctl -a disk0, from smartmontools via Homebrew) reads the drive’s own log: Percentage Used 3%, Available Spare 100%, Data Units Written 75.2 TB, Unsafe Shutdowns 17, Media and Data Integrity Errors 0.
  • Brello’s Health shows the same log in plain words, without Terminal: drive wear 3% of its rated life, spare blocks 100%, and 17 sudden power losses, each with where macOS reports it.

Apple Diagnostics would pass this drive, correctly: nothing has failed. The point is what the pass doesn’t show. A drive at 3% wear with no errors is young. The same pass on a drive at 90% wear, or with its error count climbing, would read exactly the same.

Questions

How long does Apple Diagnostics take? A few minutes. Over the internet on an Intel Mac (Option-D), add the download time.

Does Apple Diagnostics erase anything? No. It tests hardware and doesn’t touch your files or macOS.

What does ADP000 mean? No issues were found. Your hardware passed every test Apple Diagnostics runs.

Can I run Apple Diagnostics without a keyboard? No. You need a keyboard connected, wired or Bluetooth, to start it.

Is Apple Diagnostics the same as Disk Utility’s First Aid? No. First Aid checks and repairs the file system on a disk. Apple Diagnostics tests hardware. Use both when a Mac misbehaves.

Checking the rest with Brello

Brello’s Health page runs a checkup inside macOS, in seconds and without a restart, and covers what the hardware test leaves out. It reads the drive’s own wear log (shown as how much of its rated life it has used), counts app crashes, hangs and restarts after a problem over the last 30 days, and checks the battery, sleep, startup items, FileVault, the firewall and System Integrity Protection, updates, backups and Wi-Fi. Each card says what it found in a plain sentence, and the score keeps its history, so you can see a change. Its Sensors card shows temperatures by part and fan speeds, with their history. It reads and never writes, so it can’t harm anything, and nothing it reads leaves your Mac. When the checkup points at hardware, Apple Diagnostics is the next step. How to check your Mac’s health.

Brello’s Full Checkup runs that checkup with everything else Brello checks, startup items, junk and your forgotten files included, in one click and one report. It can’t run Apple Diagnostics for you: no app can, because the test runs from startup, outside macOS.

Brello's Health page, with a score of 87 and cards for Performance, Memory, Storage with the drive's wear at 4% of its rated life, Battery, Sleep and energy, Stability with no crashes in 30 days, Startup, Security and Updates.
Brello’s checkup reads what Apple Diagnostics can’t see from its test screen, like the drive’s own wear log and the last 30 days of crashes and hangs.

Checked on macOS 27.0.1 (iMac, Apple M4), November 26, 2026. Menu names can change with a macOS update.

Sources: Use Apple Diagnostics to test your Mac (Apple Support); Apple Diagnostics reference codes (Apple Support); Startup key combinations for Mac (Apple Support).