PDF download Download Article
A simple guide to using Apple’s built-in diagnostics tool
PDF download Download Article

This wikiHow teaches you how to run a diagnostics test on a Mac computer. All modern Mac computers can access the Apple Diagnostics tool, which can diagnose problems with your Mac's hardware. This can help pinpoint any issues you may be experiencing with your computer. The right steps depend on what kind of processor your Mac has and when your model was released.

Things You Should Know

  • To run diagnostics on a Mac with an Apple silicon chip , hold down the power button while booting up, then press Command-D.
  • For Intel Macs released after June 2013, press and hold D or Option-D immediately after starting up.
  • Macs released before June 2013 use the Apple Hardware Test instead. You can run the AHT by pressing D or Option-D after startup.
Method 1
Method 1 of 3:

Macs with Apple Chips (M1, M2, or M3)

PDF download Download Article
  1. Your Mac’s Diagnostics tool will work best if you’re running the latest version of your operating system. Before you start, update your Mac if you’re able to. [1]
    • Not sure what kind of processor your Mac has? Go to
      Mac Apple
      Apple menu > About This Mac to see if you have an Apple chip (M1, M2, or M2) or an Intel processor.
  2. Click the
    Mac Apple
    Apple menu at the top of your screen and select Shut Down… . If your computer is frozen and you can’t shut it down that way, you may have to do a force shut-down . Once your computer is powered off, unplug any external devices, such as headphones, printers, or external hard drives.
    • Leave essentials like your monitor and AC power cord plugged in.
    Advertisement
  3. Press and hold the power button . Depending on your Mac model, this button may be located on the back of the monitor, the keyboard, or the outer body of the CPU. On newer Mac laptops, the power button is the same as the Touch ID button at the top right corner of the keyboard.
  4. After your computer starts up, you’ll see a screen displaying icons of your hard drive and any other available startup disks, a gear icon labeled “Options,” and shutdown and restart buttons. [2]
  5. Don’t click any of the buttons on the screen. Instead, press Command-D on your keyboard. Hold those keys down until the diagnostics screen appears.
    • At this point, you may be asked to select a language for the diagnostic scan. You might also be prompted to connect to Wi-Fi.
  6. As your computer completes the diagnostic, you’ll see a progress bar on your screen. This may take a few minutes. Once it’s done, you’ll see a list of results.
    • If the test finds any issues, you’ll see them listed with reference codes. You can review a list of all the possible codes, what they mean, and how to deal with them on this page from Apple Support .
    • Once you’ve reviewed the results, you can do one of the following:
      • Click Run the test again or press Command-R to repeat the test.
      • Click Restart or press R to restart your Mac.
      • Click Shut Down or press S to shut down your Mac.
    EXPERT TIP

    Typically, you don't need to run your diagnostics unless you're having some kind of problem like slow performance or connectivity issues.

    Chiara Corsaro

    Computer Specialist
    Chiara Corsaro is the General Manager and Apple Certified Mac & iOS Technician for macVolks, Inc., an Apple Authorized Service Provider located in the San Francisco Bay Area. macVolks, Inc. was founded in 1990, is accredited by the Better Business Bureau (BBB) with an A+ rating, and is part of the Apple Consultants Network (ACN).
    Chiara Corsaro
    Computer Specialist
  7. Advertisement
Method 2
Method 2 of 3:

Intel Macs (2013 and Later)

PDF download Download Article
  1. You’ll want to run the latest version of your computer’s OS for the best results. Before you start, update your Mac if you’re able to. [3]
  2. Click the
    Mac Apple
    Apple menu at the top of your screen and select Shut Down… . If your computer is frozen and you can’t shut it down that way, you may have to do a force shut-down .
  3. If you have anything non-essential plugged into your Mac (such as USB flash drives), unplug them before you begin the test. Leave essentials like your power cord or external monitor plugged in.
  4. You can only access Apple Diagnostics as your computer is starting up. Press the power button on your computer to boot it up.
  5. Press the D key on your keyboard when you turn on your computer. If your Mac still plays the startup chime, press and hold the key before the chime plays.
    • If Apple Diagnostics doesn't start, reboot the computer and press ⌥ Option + D at startup instead. The machine will try to start the diagnostics test online. Select your network connection, enter the password (if needed), and press the checkmark.
    • These key combinations may be more likely to work if you shut your computer down altogether and boot up with the power button rather than using them after restarting from the Apple menu. For more tips, check out Apple’s guide to using startup key combos .
  6. Once you've selected your language, the diagnostics scan will start.
  7. This may take several minutes, and your computer may run loudly and seemingly erratically. This is normal—it's testing the hardware to make sure it works.
  8. If Apple Diagnostics finds any abnormalities on your Mac, it will list a summary of the problem(s) and include a reference code under each listed result. From here, you can write down the reference code(s) for use when getting it repaired.
    • Some errors have multiple reference codes, so write down the reference code rather than just the problem summary. You can review the diagnostic codes and their meanings at the Apple Support website .
    • If any hardware faults are listed, schedule an appointment with Apple to repair your computer.
    • Once you’ve reviewed the results, you can run the test again, restart your computer, or shut down your computer.
  9. Advertisement
Method 3
Method 3 of 3:

Intel Macs (2013 and Earlier)

PDF download Download Article
  1. Apple Hardware Test is an earlier diagnostic tool for Macs released before June 2013. If you have an older Mac, you’ll need to use this tool instead of Apple Diagnostics. If you have anything non-essential plugged into your Mac (such as USB flash drives), unplug them before you begin the test.
    • Leave essentials like your power cord or external monitor plugged in.
  2. If the Mac still has a disc drive and runs Mac OS X Snow Leopard (10.6) or below, insert the OS installation disc into your computer to ensure Apple Hardware Test can boot.
    • If you have a Mac without a CD drive, like a MacBook Air, insert the Software Reinstall USB drive into one of the computer's USB ports.
    • This is not necessary if you're running OS X Lion or later. If your computer was released after July 2011 or you've updated your OS since then, it will either retrieve the Hardware Test from the hard disk or download it from the internet.
      • Depending on your OS and model, some older Macs will simply run the Apple Diagnostics test instead.
    • You can also find and download the correct version of Apple Hardware Test for your model of Mac here .
    • For some Mac models, you may need to do an EFI Firmware update before you can run the Apple Hardware Test from the internet. You can find detailed instructions on the Apple Support website .
  3. You can only access the Apple Hardware Test as your computer is starting up.
    • Click
      Mac Apple
      .
    • Click Restart .
    • Click Restart to confirm.
  4. If your Mac still plays the startup chime, press and hold D before the startup chime plays.
    • If Apple Hardware Test doesn't start and your computer was released in 2011 or later, reboot the computer and press ⌥ Option + D to start the hardware test over the internet. Select your network connection, enter the password (if needed), and press the checkmark.
    • It might also help to shut your computer down completely and restart it with the power button instead of restarting from the menu.
    • If you’re installing from a bootable disk, such as a USB drive, hold down Option during startup and select the Apple Hardware Test from your disk. If you’re not sure how to create a bootable USB drive with the Apple Hardware Test on it, check out this detailed guide from GitHub .
  5. Click on or press the key on your keyboard to confirm your selection.
    • Depending on how you’re running the test, you might be prompted to choose a Wi-Fi network first. If you’re running the test over the internet, the test software will then be downloaded to your computer.
  6. The Hardware Test will do a quick "probe" of the machine before it does any testing; let it complete the probe.
  7. You can also press T or hit Enter to start the hardware test. The test may take an hour or more, and your computer may run loudly and seemingly erratically. This is normal—it's testing the hardware to make sure it works.
    • If you want the computer to check everything, check the box next to Perform extended testing (but be aware this will significantly increase the time it takes for the scan to complete).
  8. If Apple Hardware Test finds any abnormalities on your Mac, it will let you know it found an error and will list the technical code of the problem in the box in the lower right. From here, you can write down the code for use when getting your computer repaired.
    • Apple Hardware Test codes are a little different from Apple Diagnostics codes. You can find a list of them here .
    • If any hardware faults are listed, schedule an appointment with Apple to repair your computer.
    • Once you’ve reviewed the results, you can choose to Perform Extended Testing to do a more in-depth test (if you didn’t select that option already), Restart , or Shut Down your computer.
  9. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Article Summary X

      1. Restart your Mac.
      2. Hold the D key while restarting.
      3. Connect to a Wi-Fi network, if prompted.
      4. Select a language.
      5. Click on the arrow.
      6. Click Test .

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 84,709 times.

      Is this article up to date?

      Advertisement