How to use Apple Diagnostics on your Mac

After isolating an issue on your Mac to a possible hardware issue, you can use Apple Diagnostics to help determine which hardware component might be causing the issue. Apple Diagnostics also suggests solutions and helps you contact Apple Support for assistance.

How to use Apple Diagnostics

Make sure that your Mac is on a hard, flat, stable surface with good ventilation.

Shut down your Mac.

Turn on your Mac, then immediately press and hold the D key on your keyboard. Keep holding until you see a screen asking you to choose your language. When Apple Diagnostics knows your language, it displays a progress bar indicating that it's checking your Mac:

To repeat the test, click ”Run the test again” or press Command (⌘)-R.

For more information, including details about your service and support options, click ”Get started” or press Command-G.

To restart your Mac, click Restart or press R.

To shut down, click Shut Down or press S.

If you choose to get more information, your Mac starts up from macOS Recovery and displays a web page asking you to choose your country or region. Click ”Agree to send” to send your serial number and reference codes to Apple. Then follow the onscreen service and support instructions. When you're done, you can choose Restart or Shut Down from the Apple menu.

This step requires an Internet connection. If you're not connected to the Internet, you'll see a page describing how to get connected.