Apple Diagnostics Error Code (AHT)

Apple

Apple Diagnostics (formerly Apple Hardware Test) returns an error code after running hardware diagnostics at startup, indicating a specific hardware component failure.

Check your exact device first. Codes and procedures vary by model and software version. Back up important files before recovery. Stop if a device is overheating, smells burnt, or has a swollen battery.

CHOOSE HOW YOU WORK

Clear help. Useful detail.

Start with the checks below. Tick a step after you try it, and keep a note of what changed. You can stop as soon as the original task works.

What can cause it?

  • Hardware component failure as indicated by the error code prefix
  • Overheating causing thermal sensor errors
  • Physical damage from drop or liquid exposure

What to try

Work through one step at a time
Your troubleshooting progress0 steps tried
  1. Note the Exact Error Code

    Apple Diagnostics error codes follow patterns: PPP (component) + NNN (number). Note the full code, for example: VDH002 (hard drive issue), NDT004 (Wi-Fi module issue), PFM006 (memory issue).

  2. Common Error Prefix Reference

    PPP = power, NDT = network/Wi-Fi, PFM/MEM = memory/RAM, VDH/HDD = storage drive, GPU/VID = graphics, FAN = cooling fan, ADP = power adapter, TMP = temperature sensor.

  3. Run Multiple Times

    Run Apple Diagnostics again (hold D at startup on Intel, or hold Power on Apple Silicon). Intermittent errors may not repeat.

  4. Contact Apple Support with Error Code

    Visit getsupport.apple.com with the exact error code. Apple support can identify the component and arrange repair or replacement.

How did it go?

Test the original task again. A completed checklist doesn’t by itself mean the problem is fixed.

If the error comes back

Record the full error, your exact model, software version, and the steps you tried. Share these with the manufacturer or a qualified technician. A repeated code needs a diagnosis, especially if it involves storage, heat, or power.

Find the instructions for your model

Apple official support

This is a general support link. This reference guide has not been checked against a model-specific source in this update.