ThisCalculator

Everyday

Machine Check Exception: Causes and Fixes

Updated · Standard formula, shown below

Machine Check Exception: Causes and Fixes

A Machine Check Exception (MCE) is a hardware error detected by your CPU that forces Windows to stop with a blue screen (often “WHEA_UNCORRECTABLE_ERROR� or “MACHINE_CHECK_EXCEPTION�). It means the processor found a problem it cannot recover from, usually related to overheating, failing RAM, or a power supply issue. This article explains what triggers an MCE and walks you through the most effective fixes.

What Is a Machine Check Exception?

Modern processors include a built-in error detection system called Machine Check Architecture (MCA). When the CPU detects an internal error—like a failed cache lookup, a voltage spike, or a memory parity fault—it logs the event and, if the error is uncorrectable, halts the system to prevent data corruption. The blue screen you see is Windows reporting that the CPU raised a machine check abort.

MCEs are distinct from software crashes. A program bug or a driver conflict usually produces an “IRQL_NOT_LESS_OR_EQUAL� or “KERNEL_DATA_INPAGE_ERROR� stop code. An MCE, by contrast, points to a physical component failing. The most common culprits are, in order: overheating CPU, faulty RAM, unstable overclock, failing power supply, and motherboard or CPU damage.

Common Causes of Machine Check Exceptions

  • Overheating: Dust-clogged fans, dried thermal paste, or a broken cooler cause the CPU to exceed its maximum operating temperature (typically 90–100°C for modern desktop chips).
  • Faulty RAM: A single bad memory module can produce random MCEs, often when the system is under load.
  • Unstable overclock: Pushing the CPU or memory beyond rated speeds can trigger machine check aborts, especially if the voltage is too low.
  • Failing power supply: Insufficient or fluctuating power delivery can cause the CPU to see voltage levels outside its acceptable range.
  • Motherboard or CPU damage: Bent pins, cracked solder joints, or a physically damaged processor can cause permanent MCEs.

How to Diagnose a Machine Check Exception

Before you replace any hardware, you need to identify which component is failing. Windows writes MCE details to the system event log, but the information is cryptic. The most practical approach is to test one component at a time.

  1. Check temperatures: Install a free monitoring tool (like HWiNFO or Core Temp) and run a stress test (Prime95 or Cinebench). If the CPU exceeds 90°C, cooling is the problem.
  2. Test RAM: Use Windows Memory Diagnostic (type “mdsched.exe� in Start) or MemTest86. Run at least one full pass; errors mean the RAM stick is bad.
  3. Remove overclocks: Enter the BIOS and set everything to “Auto� or “Default.� If the MCE disappears, your overclock was unstable.
  4. Check the power supply: If the system crashes under heavy load (gaming or rendering) but not during light use, the PSU may be the issue. Test with a known-good unit if possible.
  5. Inspect the motherboard: Look for bulging capacitors, burn marks, or bent CPU socket pins.

Step-by-Step Fixes for a Machine Check Exception

Once you have a likely culprit, apply the corresponding fix. Work through these in order—they are listed from cheapest and easiest to most invasive.

1. Clean the Cooling System

Turn off the PC, unplug it, and open the case. Use compressed air to blow dust out of the CPU cooler, case fans, and power supply fan. If the thermal paste is more than three years old, clean the CPU and cooler with isopropyl alcohol and reapply a small pea-sized drop of new paste. Reassemble and check temperatures again.

2. Test and Replace RAM

If the memory test shows errors, remove all but one stick and boot. Test each stick individually in the same slot. When you find the bad module, replace it. If all sticks pass individually but the system still crashes, the motherboard’s memory slots or the CPU’s memory controller may be at fault.

3. Reset the BIOS

Enter the BIOS (usually by pressing Delete or F2 during boot) and load “Optimized Defaults.� This removes any overclock, XMP profile, or custom voltage settings. Save and exit. If the system becomes stable, you can re-enable XMP later—but if MCEs return, leave it off.

4. Replace the Power Supply

A failing PSU is hard to test without a spare. If you have a multimeter, you can check the 12V rail under load (it should stay within 11.4–12.6V). Otherwise, borrow a PSU from another machine or buy a reputable unit with sufficient wattage for your components. Symptoms that point to the PSU include crashes during heavy load, random reboots, and MCEs that happen only when the GPU is active.

5. Update the BIOS and Drivers

Motherboard manufacturers occasionally release BIOS updates that improve memory compatibility and CPU stability. Check your motherboard’s support page for the latest version. Also update your chipset drivers from the manufacturer (AMD or Intel). While a BIOS update won’t fix a dead CPU, it can resolve MCEs caused by early microcode bugs.

6. Replace the CPU or Motherboard

If you have done all the above and the MCE persists, the CPU or motherboard is likely damaged. This is rare, but it happens after a power surge, a failed overclock, or physical damage. If your CPU is under warranty, contact the manufacturer. Otherwise, you will need to replace the component—testing with a known-good CPU or motherboard is the only way to be certain which one is bad.

Machine Check Exception vs. WHEA Errors

Windows uses the Windows Hardware Error Architecture (WHEA) to report MCEs. You may see “WHEA_UNCORRECTABLE_ERROR� as the stop code instead of “MACHINE_CHECK_EXCEPTION.� They are essentially the same thing: WHEA is the Windows layer that surfaces the CPU’s machine check. The fix is identical. Some systems also log WHEA events (Event ID 17 or 18) in the System event log before the crash—these can help pinpoint the component, but they require decoding the error record, which is beyond most users.

When a Machine Check Exception Is Not a Hardware Problem

In rare cases, a corrupted Windows installation or a malicious driver can trigger a machine check. This happens because the CPU’s error reporting can be fooled by a kernel-mode driver that writes to reserved registers. If you have tested all hardware and found nothing wrong, try a clean install of Windows. If the MCE disappears, the problem was software. If it returns, it is definitely hardware.

Frequently Asked Questions

Can a machine check exception be caused by a virus?

Yes, but it is extremely rare. A kernel-mode rootkit could theoretically trigger an MCE by executing privileged instructions that the CPU flags as errors. In practice, you are far more likely to have a hardware issue. Run a full antivirus scan after you have ruled out overheating and RAM problems.

Is a machine check exception always fatal?

No. If the error is “correctable,� the CPU fixes it silently and Windows never crashes. The blue screen only appears when the error is uncorrectable. However, even a correctable MCE is a warning—recurring correctable errors often precede an uncorrectable failure.

How do I read the MCE error code from the blue screen?

The blue screen itself shows only a generic stop code. The detailed MCE record is stored in the Windows event log (Event ID 18 under “WHEA-Logger�). To decode it, you need the “Bank� and “Status� values, which are hexadecimal. Tools like BlueScreenView can display them, but interpreting them requires the CPU vendor’s documentation. Most users find it easier to test components directly.

Can an old BIOS cause a machine check exception?

Yes. Early BIOS versions for a new CPU may not initialize the processor correctly, leading to false MCEs. Check your motherboard manufacturer’s website for a BIOS update that lists “improves CPU compatibility� or “fixes WHEA errors.� This is especially common after upgrading to a newer CPU generation.

Should I replace my CPU if I get a machine check exception?

Only as a last resort. The CPU is the most reliable component in a PC—it rarely fails unless it has been overheated or overvolted. Follow the diagnostic steps in this article first. If you have tested RAM, PSU, cooling, and BIOS, and the MCE still occurs, then the CPU is the likely culprit.

Does a machine check exception mean my data is lost?

Not necessarily. The crash prevents new data from being written, but the data already on your hard drive or SSD is usually intact. However, if the MCE was caused by failing RAM, data in memory may have been corrupted before the crash. Run a disk check (chkdsk) after rebooting to verify file integrity.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.