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.
Scope the incident before changing the device.
- Identify
- Mac model, Apple silicon or Intel, macOS version, and the complete error.
- Isolate
- Startup, Recovery, an application, or a connected device.
- Capture
- Time of failure, affected app, and any hardware diagnostic reference. Protect the user’s data before recovery.
Device notes are not sent to the server or AI. Export them before leaving or refreshing this page.
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 timeNote 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).
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.
Run Multiple Times
Run Apple Diagnostics again (hold D at startup on Intel, or hold Power on Apple Silicon). Intermittent errors may not repeat.
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.
Ask the assistant about this errorIf 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 supportThis is a general support link. This reference guide has not been checked against a model-specific source in this update.