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.

macbookairtrio
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.

thunderbolt3ports
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.
    checking mac

  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.
    diagnostics issues

  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.

Popular Stories

iphone 16 display

iPhone 17's Scratch Resistant Anti-Reflective Display Coating Canceled

Monday April 28, 2025 12:48 pm PDT by
Apple may have canceled the super scratch resistant anti-reflective display coating that it planned to use for the iPhone 17 Pro models, according to a source with reliable information that spoke to MacRumors. Last spring, Weibo leaker Instant Digital suggested Apple was working on a new anti-reflective display layer that was more scratch resistant than the Ceramic Shield. We haven't heard...
apple watch ultra yellow

What's Next for the Apple Watch Ultra 3 and Apple Watch SE 3

Friday April 25, 2025 2:44 pm PDT by
This week marks the 10th anniversary of the Apple Watch, which launched on April 24, 2015. Yesterday, we recapped features rumored for the Apple Watch Series 11, but since 2015, the Apple Watch has also branched out into the Apple Watch Ultra and the Apple Watch SE, so we thought we'd take a look at what's next for those product lines, too. 2025 Apple Watch Ultra 3 Apple didn't update the...
iPhone 17 Air Pastel Feature

iPhone 17 Reaches Key Milestone Ahead of Mass Production

Monday April 28, 2025 8:44 am PDT by
Apple has completed Engineering Validation Testing (EVT) for at least one iPhone 17 model, according to a paywalled preview of an upcoming DigiTimes report. iPhone 17 Air mockup based on rumored design The EVT stage involves Apple testing iPhone 17 prototypes to ensure the hardware works as expected. There are still DVT (Design Validation Test) and PVT (Production Validation Test) stages to...
Beyond iPhone 13 Better Blue

20th Anniversary iPhone Likely to Be Made in China Due to 'Extraordinarily Complex' Design

Monday April 28, 2025 4:29 am PDT by
Apple will likely manufacture its 20th anniversary iPhone models in China, despite broader efforts to shift production to India, according to Bloomberg's Mark Gurman. In 2027, Apple is planning a "major shake-up" for the iPhone lineup to mark two decades since the original model launched. Gurman's previous reporting indicates the company will introduce a foldable iPhone alongside a "bold"...
iPhone 17 Air Pastel Feature

iPhone 17 Air Launching Later This Year With These 16 New Features

Thursday April 24, 2025 8:24 am PDT by
While the so-called "iPhone 17 Air" is not expected to launch until September, there are already plenty of rumors about the ultra-thin device. Overall, the iPhone 17 Air sounds like a mixed bag. While the device is expected to have an impressively thin and light design, rumors indicate it will have some compromises compared to iPhone 17 Pro models, including only a single rear camera, a...
iPhone 17 Pro Blue Feature Tighter Crop

iPhone 17 Pro Launching Later This Year With These 13 New Features

Wednesday April 23, 2025 8:31 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone ...
iphone 17 air iphone 16 pro

iPhone 17 Air USB-C Port May Have This Unusual Design Quirk

Wednesday April 30, 2025 3:59 am PDT by
Apple is preparing to launch a dramatically thinner iPhone this September, and if recent leaks are anything to go by, the so-called iPhone 17 Air could boast one of the most radical design shifts in recent years. iPhone 17 Air dummy model alongside iPhone 16 Pro (credit: AppleTrack) At just 5.5mm thick (excluding a slightly raised camera bump), the 6.6-inch iPhone 17 Air is expected to become ...