How to Use Apple Diagnostics to Check for Mac Hardware Problems

by

Mac issues can occur for a variety of reasons, but in general most errors can be traced back to unstable software. The best way to prevent problems from cropping up is to make sure you are using the latest versions of Apple's programs and third-party applications.


However, if you've troubleshooted software and the problem persists, it's time to consider whether it's your Mac's hardware that's at fault.

Disk Utility is the first program you should fire up if you suspect disk errors or permission issues, but if that fails to identify the problem or you can't even get your Mac to boot up into the operating system, you can try using Apple's integrated Mac diagnostics tool.

Apple Diagnostics is built into every Mac released since June 2013. If you have an earlier Mac, the equivalent is called an Apple Hardware Test (AHT), but the basic principles are the same.


To start using Apple Diagnostics or AHT, first turn off any firmware password if you're using one. Next, shut down your Mac, disconnect all external devices except keyboard, mouse, display, and any Ethernet connection, and then follow the steps below.

  1. Press the power button on your Mac and then immediately press and hold down the D key on the keyboard. (To start Apple Diagnostics over the internet, hold down Option-D.)
  2. Release the D key when the prompt appears on the screen asking you to choose your language using the arrow keys.
  3. Join a local Wi-Fi network if prompted.
  4. If your Mac is a pre-2013 model, you'll be given the option to "Perform extended testing," which essentially checks every block of your Mac's memory. Select this option if desired and click the Test button. On post-2013 Macs, simply select the Test option.
  5. Wait for the progress bar to fill while a scan of your Mac's hardware is performed. On newer Macs this usually takes at least a couple of minutes, but AHT can take a lot longer, especially if you chose extended testing.

  6. Once the scan is complete, a list of any potential hardware issues will appear on the screen or a "No issues found" message will be displayed. Note any issue reference codes before continuing.

  7. To repeat the test, click Run test again. For more information about an issue, click Get Started. Otherwise you can click Restart or Shut Down to exit diagnostics.

If you click Get Started for more information about an issue that Apple Diagnostics has identified, your Mac will boot into macOS Recovery Mode and display 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, and follow the onscreen service and support instructions. You can also check any reference codes you noted down against Apple's official code table for more information.

Top Stories

iPhone 12 Pro in Graphite and iPhone 12 in Blue Shown Off in Unboxing Videos

Monday October 19, 2020 8:20 am PDT by
While the iPhone 12 Pro does not launch until Friday, we now have an early unboxing video of the device courtesy of Twitter account DuanRui, providing a closer look at the shiny new flat-edge design and sleek Graphite color option. Ben Geskin re-uploaded the unboxing video to YouTube, which we've embedded below: Geskin has also uploaded an unboxing video of the iPhone 12 in Blue: ...

New Photos Offer Better Look at iPhone 12 Color Options

Tuesday October 20, 2020 2:34 am PDT by
As we wait for the iPhone 12 review embargo to lift later today, more pictures are circulating of the devices in real-world lighting conditions, providing a better look at the different colors available. Leaker DuanRui has shared images on Twitter of the iPhone 12 in white, black, blue, green, and (PRODUCT)RED. The black and white colors are similar to the iPhone 11 colors, but the other...

Kuo: iPhone 12 Pro Demand Higher Than Expected

Sunday October 18, 2020 10:39 pm PDT by
TF International Securities analyst Ming-Chi Kuo released a research note this morning detailing what he's seen with the volume of iPhone 12 and iPhone 12 Pro pre-orders in the first weekend of sales. Kuo had previously indicated that Apple's estimated shipment allocations for the new iPhone models placed the iPhone 12 at the top with 40-45% of inventory allocation (up from 15-20%). However, ...

Apple Releases iPadOS and iOS 14.1 With Multiple Bug Fixes Ahead of iPhone 12 Launch

Tuesday October 20, 2020 10:06 am PDT by
Apple today released iOS and iPadOS 14.1, the first major updates to the iOS and iPadOS 14 operating system updates that were released in September. iOS and iPadOS 14.1 come a week after Apple released the golden master versions of the updates to developers. The iOS 14.1 update can be downloaded for free and it is available on all eligible devices over-the-air in the Settings app. To access...

Hands-On With Apple's MagSafe Charger for iPhone 12

Monday October 19, 2020 11:54 am PDT by
Alongside the new iPhone 12 models, Apple introduced a MagSafe charger that attaches to the back of the iPhones using magnets embedded both in the charger and in the iPhone. It allows for speedier charging and paves the way for a portless iPhone in the future. MagSafe chargers are shipping out and are in some Apple retail locations now, and we picked one up to check it out. Subscribe to the ...

Watch: iPhone 12 and iPhone 12 Pro Unboxing Videos and First Impressions

Tuesday October 20, 2020 6:05 am PDT by
Apple's embargo has lifted for iPhone 12 and iPhone 12 Pro reviews. In addition to our detailed review roundups for each device, we've rounded up over a dozen unboxing videos and first impressions below. iPhone 12 in Blue on left and iPhone 12 Pro in Pacific Blue on right via Engadget Key new features of the iPhone 12 and iPhone 12 Pro include a flat-edge design, 5G support, a much faster A14 ...

Some Apple Watch SE Owners Experiencing Issues With Overheating [Updated]

Monday October 19, 2020 11:38 am PDT by
There may be an issue with the new Apple Watch SE, which some users have found is overheating after a few hours of usage. Several Apple Watch SE owners in South Korea have run into problems, as noted in a Reddit post chronicling the complaints. There have been six reports from Apple Watch SE owners in South Korea who have had their Apple Watches get hot and malfunction, with a yellow spot...

Gold Version of iPhone 12 Pro Apparently Has a More Fingerprint Resistant Stainless Steel Frame

Tuesday October 20, 2020 11:56 am PDT by
iPhone 12 Pro reviews hit the web today, and one of the more interesting tidbits came from TechCrunch's Matthew Panzarino, who revealed that the Gold version of the device apparently has a more fingerprint resistant coating applied to the stainless steel frame. From his review:Most of the iPhone 12 Pro finishes still use a physical vapor deposition process for edge coating. But the new gold...

iPhone 12 Pro Max Has Smaller 3,687 mAh Battery According to Regulatory Filing

Tuesday October 20, 2020 8:48 pm PDT by
Apple's new iPhone 12 Pro Max is equipped with a 3,687 mAh battery, which is around 7% less capacity than the 3,969 mAh battery in the iPhone 11 Pro Max, according to a regulatory filing published by TENAA, the Chinese equivalent of the FCC. The regulatory filing, spotted by MacRumors, also lists the iPhone 12 Pro Max with 6GB of RAM as seen in benchmark results last week. Apple has filed ...

Hands-On With Apple's iPhone 12 and 12 Pro MagSafe Cases

Tuesday October 20, 2020 1:33 pm PDT by
Apple's iPhone 12 and 12 Pro are launching this Friday, and ahead of that release date, Apple is shipping out various accessories like the MagSafe charger and MagSafe cases. Yesterday we took a look at the MagSafe charger, and today our MagSafe case came in the mail, so we thought we'd take another look at the charger to see how it works with the case and just how strong the case magnets are. S ...