Here is how to check if RAM is bad without guessing: look for the typical warning signs, set the memory back to stock speed, run two memory tests, and then test each stick on its own. Bad RAM can look like a driver bug, a dying SSD or a game that keeps crashing, so a clear test plan saves you from replacing the wrong part.

This guide also covers the step many guides skip: ruling out an unstable XMP or EXPO profile before you blame the memory.

Quick answer

Turn off XMP/EXPO first, then run Windows Memory Diagnostic (type mdsched in Start) and read the MemoryDiagnostics-Results entry in Event Viewer. For a deeper check, boot MemTest86 or Memtest86+ from a USB drive and let it finish at least one full pass (the MemTest86 default is 4 passes, about 2 hours on an example system). Any error at stock settings points to a bad stick, slot or memory controller. Test one stick at a time to find which.

Key takeaways

  • Blue screens such as MEMORY_MANAGEMENT (0x1A) are classic RAM signs, but drivers cause more crashes than hardware.
  • Always test at default (JEDEC) settings first. An overclocked XMP or EXPO profile can fail a test even when the RAM is fine.
  • Windows Memory Diagnostic is a quick first check; MemTest86 or Memtest86+ from USB is the thorough one.
  • Find the bad part by testing one stick at a time in the same slot, then the good stick in each slot.
How to Check If RAM Is Bad at a glance: Watch for BSODs, freezes and corrupted files; Reset XMP/EXPO to default speed first; Run Windows Memory Diagnostic, then MemTest86; Test one stick at a time to find the bad one
How to Check If RAM Is Bad: the key points at a glance.

Signs of bad RAM

The most common signs of bad RAM are random crashes, blue screens and freezes that do not follow one program. Faulty memory corrupts whatever data happens to sit on the bad cells, so the symptoms move around.

  • Blue screens with memory stop codes. Microsoft describes bug check 0x1A MEMORY_MANAGEMENT as a severe memory management error and suggests Windows Memory Diagnostic to check the physical modules. Its page on 0x50 PAGE_FAULT_IN_NONPAGED_AREA names failed hardware, usually defective RAM, as one cause.
  • Crashes or reboots under load, such as long game sessions or big file copies.
  • Corrupted files, failed installs or archives that will not extract.
  • No boot at all: the PC powers on but shows no picture, beeps, or lights a DRAM debug LED on the motherboard.
  • Less memory than you installed in Task Manager or System Information.

None of these signs prove the RAM is bad. Microsoft’s crash analysis says 70% of stop errors come from third-party driver code and 10% from hardware (Microsoft Learn), so test first, and keep driver updates on your checklist.

Symptom checker: is it the RAM or something else?

Use this table to decide what to test first. It is our summary of the sources below, not a diagnosis.

What you see RAM likely? Also check First step
BSOD MEMORY_MANAGEMENT (0x1A) High XMP/EXPO profile, drivers Stock settings + Windows Memory Diagnostic
BSOD PAGE_FAULT_IN_NONPAGED_AREA (0x50) Medium Drivers, antivirus, disk errors Memory test, then driver updates
Crashes only after you enabled XMP/EXPO Low (profile issue) BIOS version, memory voltage Run at default speed for a few days
No picture, DRAM LED or beeps High Seating, slot, CPU socket Reseat, then one stick in the manual’s first slot
Less RAM shown than installed Medium Stick not detected, wrong slot Check BIOS memory info, reseat

Before you test: reset XMP or EXPO to stock

Set your memory back to its default speed before testing, because an overclocked profile can fail even on healthy RAM. Intel says XMP overclocks memory beyond the standard settings, and XMP modules first boot at the default JEDEC settings until you pick a profile in the BIOS. Tom’s Hardware adds that XMP 3.0 and EXPO kits can cause symptoms that look like bad RAM.

PassMark, the maker of MemTest86, notes that some memory errors only show up when RAM timings are set too aggressively, and it suggests standard, non-XMP timings as a fix (MemTest86 troubleshooting). Tom’s Hardware gives similar advice: run the test at stock frequency, using Load Defaults or Clear CMOS (Tom’s Hardware).

  1. Enter the BIOS (usually Del or F2 at startup).
  2. Turn XMP, EXPO or DOCP off, or choose Load Optimized Defaults.
  3. Save and reboot. Write down the speed and timings the BIOS now shows.

If the crashes stop at stock speed, the profile is the likely problem, not the RAM. A BIOS update or a slightly lower speed often fixes it. Our guide to RAM timings vs frequency explains those numbers.

How to check if RAM is bad with Windows Memory Diagnostic

Windows Memory Diagnostic is the built-in, free first check on Windows 11 and 10. It runs before Windows loads, so nothing else is using the memory while it tests.

  1. Save your work. Press Win + R, type mdsched.exe and press Enter (or search for “Windows Memory Diagnostic” in Start).
  2. Choose Restart now and check for problems.
  3. The PC restarts into a blue test screen. Press F1 for options if you want the Extended test mix instead of the default; press F10 to start with your choice.
  4. Wait. Windows restarts by itself when the test ends.

Read the results in Event Viewer

Windows may show a short notice after login, but the full result sits in the event log. Microsoft’s instructions are to look in the System log for the MemoryDiagnostics-Results entry (Microsoft Learn).

  1. Right-click Start and open Event Viewer.
  2. Go to Windows Logs > System, then click Filter Current Log on the right.
  3. In Event sources, tick MemoryDiagnostics-Results and click OK.
  4. Open the newest entry. It says whether the test found errors.

A clean result is a good sign, not the final word. Intermittent faults need a longer test.

How to test RAM with MemTest86 or Memtest86+

MemTest86 and Memtest86+ are the standard deep RAM tests. Both boot from USB, so they work even when Windows will not start.

  • MemTest86 (PassMark): free edition, 14 test algorithms, BIOS and UEFI, DDR2 to DDR5 and CAMM2.
  • Memtest86+: open source (GPL v2); version 9.00 came out on 15 October 2026 (memtest.org).

Steps

  1. On a working computer, download the USB image and write it to a spare USB stick. This erases the stick.
  2. Plug it into the PC you want to test and pick it from the boot menu (often F8, F11 or F12).
  3. If Secure Boot blocks the drive, turn it off for the test. The Memtest86+ team says v9.00 is signed, but not by Microsoft yet.
  4. Let it run. MemTest86 does 4 passes by default; Memtest86+ loops until you press Esc.

How long should you run it?

Run at least one full pass. PassMark says one pass generally catches consistent errors, while intermittent ones need longer testing. Its own example is about 15 minutes for 1 pass and 120 minutes for 4 passes, but time grows with RAM size and CPU speed, so a big kit on a slow CPU can run overnight (MemTest86 execution time). Tom’s Hardware says a full pass on its test system took roughly an hour.

Which RAM test should you use?

Use Windows Memory Diagnostic for a quick check and a USB tool for the real verdict. Tom’s Hardware recommends confirming with at least two different programs (source).

Tool Runs from Typical time (per source) Best for
Windows Memory Diagnostic Built into Windows Short (default mix) Quick first check, no download
MemTest86 (free) USB, BIOS or UEFI ~15 min per pass in PassMark’s example; default 4 passes Thorough test, DDR5 and CAMM2 support
Memtest86+ USB, CD or PXE Endless loop; stop after 1+ clean passes Free open-source alternative
TestMem5 Inside Windows About 25–30 min per cycle on 16 GB; 3 cycles are common Checking a tuned overclock
Google stressapptest (GSAT) Linux 1–2 hours is usually enough Linux PCs and servers

TestMem5 and GSAT times are from Tom’s Hardware. Your times depend on capacity and speed.

What a RAM test error really means

Treat any error at stock settings as real. PassMark says that in the vast majority of cases the errors MemTest86 reports are valid, and that intermittent errors are without exception valid (source).

An error does not always mean the stick is broken. The test also exercises the CPU caches and the motherboard, and it cannot tell which part failed, although PassMark says most failures come from a memory module. So isolate before you buy.

  • Errors right away, at many addresses: often a badly seated or faulty stick.
  • A few errors after hours: a weak cell, heat, or a borderline speed. Try stock settings and better airflow.
  • Errors only with XMP/EXPO on: the profile is unstable on your CPU or board, not proof of a dead stick.

In Memtest86+, press F6 to save a text report to a FAT32 USB drive for a warranty claim.

How to find the faulty RAM stick or slot

Test one stick at a time in the same slot, then test a known-good stick in every slot. This tells you whether the stick or the slot is at fault. Memtest86+ and PassMark both recommend removing modules one at a time to find the bad one.

  1. Shut down and unplug the PC. Touch the metal case to discharge static.
  2. Remove all sticks but one. Put it in the slot your motherboard manual lists first for a single stick (often A2).
  3. Run one full pass and note which stick it was.
  4. Repeat with each stick in the same slot.
  5. Take a stick that passed and test it in each of the other slots.

One stick fails in every slot: replace that stick. Every stick fails in one slot: suspect the slot or board. Each stick passes alone but the kit fails: try stock settings, a BIOS update or a matched kit.

Running one stick turns off dual-channel mode, so expect lower speed while you test. Our guide to dual-channel RAM shows how to check the channel mode once everything is back in place.

How to test RAM on a Mac or a laptop

On a Mac, start with Apple Diagnostics. On Apple silicon, hold the power button until you see Options, then press and hold Command (⌘)-D. On an Intel Mac, hold D while it starts, or Option (⌥)-D if D does not work (Apple Support). Apple’s page does not list a separate memory test, so share any reference code with Apple Support.

Laptops test the same way. Many thin laptops have soldered RAM, so a failed test there means a repair or warranty claim.

What to do if your RAM is bad

Replace the faulty stick, or claim the warranty. PassMark lists replacing the module as the most common fix. Tom’s Hardware notes that most, if not all, RAM comes with a limited lifetime warranty, so contact the maker for an RMA first.

  • Keep proof: the report or a photo of the errors, the part number and the receipt.
  • Replace in matched kits if you can. Mixed kits may not run at their rated speed together. Our DDR5 vs DDR4 guide covers which type your board needs.
  • Compare kits fairly: the RAM latency calculator turns speed and CL into nanoseconds, so you can see if a replacement is really faster.
  • Retest after the swap. One clean pass at stock, then enable XMP or EXPO and run another.

If the RAM passes every test but crashes continue, check drivers, storage, temperatures and the power supply.

Frequently Asked Questions

How do I know if my RAM is failing?

Random blue screens (especially MEMORY_MANAGEMENT), freezes, reboots under load and corrupted files are the usual signs. Confirm with a memory test at stock settings before replacing anything.

Is Windows Memory Diagnostic enough?

It is a good first check, not a complete one. If crashes continue after a clean result, run MemTest86 or Memtest86+ from USB for at least one full pass.

How many passes of MemTest86 do I need?

At least one full pass. PassMark says one pass usually catches consistent errors; the default is 4 passes, and longer runs help with intermittent faults.

Can bad RAM damage other parts of my PC?

It does not usually damage hardware, but it can corrupt data. Check files you saved while the RAM was faulty, and back up once the PC is stable.

Should I test RAM with XMP on or off?

Off first, to test the RAM itself at default JEDEC speed. Then turn XMP or EXPO on and test again to check the profile.

Sources and further reading

Related Guides