Apple advises that users install any available macOS updates prior to running diagnostics, provided the system remains operational. After updating, shut down the machine and remove all non-essential peripherals. Only retain critical connections such as power, Ethernet, and any necessary external input devices or displays. Ensure the laptop is placed on a firm, level surface with adequate airflow.
For MacBooks equipped with Apple silicon, locate the power button, which doubles as the Touch ID sensor. Depress and hold this button until the startup options screen appears, displaying the Options icon, then release. Immediately press and hold the Command (⌘) and D keys simultaneously until the device restarts into the Apple Diagnostics interface.
On Intel-based MacBooks, power on the computer and promptly press and hold the D key. Release it once a progress bar appears or a language selection prompt is shown. If this method fails, restart the machine and attempt holding Option (⌥) and D together to initiate an internet-based diagnostic session.
Once the diagnostic tool loads, follow the on-screen instructions. The system may request a Wi-Fi connection if not using an Ethernet cable. Devices running macOS 26 Tahoe or newer present a menu of diagnostic options, allowing users to select tests relevant to specific issues, while older versions typically begin testing automatically.
In certain scenarios, Apple Support or authorized technicians may initiate an online diagnostics session. Unless explicitly instructed to do so by support staff, users should opt to run the diagnostics offline.
Finally figured out why my MacBook won’t pass its tests. Thanks for the clear steps!
I tried this on my M2 Air but it just restarted normally. Did I miss something? The article says to hold Command and D, which I did.
It’s weird that Apple hasn’t unified the key combinations yet. Intel and Apple Silicon users have completely different methods.
Honestly, this guide feels outdated. My MacBook Pro from 2018 doesn’t even have an Apple Diagnostics section in the Apple menu anymore.
Great tip about removing peripherals first! I always forget that step and end up with confusing error codes I can’t interpret.