Apple Diagnostics offers a hardware check for troubled MacBooks
Apple’s built-in tool tests internal hardware, but does not diagnose macOS, apps or external accessories.

Apple Diagnostics can help MacBook owners investigate potential internal hardware faults, according to guidance from Engadget. The utility can return reference codes linked to components including memory, batteries, cameras, keyboards, trackpads, storage, displays and wireless hardware.
Access depends on the MacBook’s processor. On Apple silicon models, users should hold the power button until the startup options appear, then hold Command-D. On Intel models, holding D immediately after startup opens Diagnostics; Option-D can start an internet-based version if the standard shortcut does not work.
MacBooks running macOS 26 Tahoe or later may offer individual tests for hardware such as the display, keyboard and trackpad. Earlier versions generally run the test automatically. Users are advised to install available macOS updates where possible, disconnect external devices and run the computer on a hard, well-ventilated surface before testing.
Apple Diagnostics is limited to internal hardware. It does not test connected accessories or identify problems caused by macOS, applications or software extensions. The ADP000 reference code means no issue was found in the hardware tested, but it does not rule out software, accessory-related or other causes.
Users should retain any reference codes and provide them to Apple Support or an authorised repair provider. If Diagnostics finds no hardware fault, macOS Recovery offers separate tools for disk repair, macOS reinstallation and Time Machine restoration. Engadget also recommends choosing “Run Offline” unless Apple Support or a repair technician requests an online session.

