How to Test RAM on Windows 11 and 10: Check Your Memory for Errors
How to Test RAM on Windows 11 and 10: Check Your Memory for Errors

Quick answer: To test your RAM on Windows 11 or 10, press Windows + R, type mdsched.exe and choose Restart now and check for problems. Windows tests your memory before it loads and shows the result after you log in. For a more thorough test, boot MemTest86 or Memtest86+ from a USB stick and let it run at least 4 passes. Healthy RAM shows zero errors. Even one error means something is wrong.

Signs your RAM may be bad

  • Blue screens with different error codes each time (for example MEMORY_MANAGEMENT or IRQL_NOT_LESS_OR_EQUAL).
  • Random crashes in games and apps, especially under load.
  • The PC restarts or freezes for no clear reason.
  • Corrupted files or installs that fail with strange errors.
  • Problems started right after you enabled XMP or EXPO or added a new RAM kit.

None of these prove the RAM is bad on their own. A memory test tells you for sure.

Which RAM test should you use?

Test Free Runs from How thorough Best for
Windows Memory Diagnostic Yes, built in A restart (before Windows) Basic A quick first check
MemTest86 (PassMark) Free edition Bootable USB Very thorough Finding real RAM errors
Memtest86+ Yes, open source Bootable USB Very thorough Same, open-source alternative
OCCT (Memory test) Free edition Inside Windows Good Testing XMP / EXPO stability without rebooting

Before you test: check what RAM you have

Open Task Manager (Ctrl + Shift + Esc) > Performance > Memory. You see your total RAM, its speed (MT/s), the slots used and the form factor. If the speed is much lower than what your kit is rated for, XMP or EXPO is off. See XMP / EXPO: on or off? and how to check your PC specs for every part.

Method 1: Windows Memory Diagnostic (built in)

  1. Save your work and close your apps.
  2. Press Windows + R, type mdsched.exe and press Enter. (You can also find Windows Memory Diagnostic in the Start menu or in Windows Tools.)
  3. Click Restart now and check for problems.
  4. The PC restarts and the test starts in Standard mode. To pick a more thorough test, press F1 and choose Extended, then press F10 to start.
  5. When it finishes, Windows starts and shows the result in a notification after you log in.
Windows Memory Diagnostics Tool screen running test pass 1 of 2 with no problems detected yet
Windows Memory Diagnostic runs after a restart, before Windows loads, by FpsGen.

Missed the result? Open Event Viewer > Windows Logs > System, click Find and search for MemoryDiagnostics-Results. "No errors" means the test passed.

Mode What it does
Basic Fastest, only a few tests
Standard (default) The normal check
Extended Many more tests, takes much longer. Use it if Standard passes but you still get crashes

Windows Memory Diagnostic is fine as a first check, but it can miss errors that only show under longer or heavier tests. If it passes and you still crash, use MemTest86.

Method 2: MemTest86 or Memtest86+ (most thorough)

Both run from a USB stick, outside Windows, so they can test almost all of your memory.

  1. Download the free MemTest86 from memtest86.com, or Memtest86+ (free and open source) from memtest.org.
  2. Use the included tool to write it to a USB stick. This erases the stick.
  3. Restart and open the boot menu (often F8, F11 or F12 at startup) and pick the USB stick.
  4. The test starts by itself. Let it run at least 4 passes. With 32 GB or more this can take several hours, so many people run it overnight.
Bootable RAM test running from a USB stick, pass 3 of 4 with 0 errors on 32 GB of memory
A bootable RAM test from a USB stick: let it finish at least 4 passes with zero errors, by FpsGen.

Secure Boot: Memtest86+ v9.00 is signed, but not by Microsoft. If the USB will not boot, you may need to turn off Secure Boot in the BIOS for the test, then turn it back on.

Method 3: OCCT Memory test (inside Windows)

If you only want to check that XMP or EXPO is stable, OCCT has a Memory test that runs inside Windows. The free edition limits each test to one hour. It stops and shows an error as soon as it finds one. For our full CPU, GPU and RAM routine, see how to stress test your PC.

What to do if your RAM test shows errors

  1. Turn off XMP / EXPO and test again. If the errors stop, the profile is too fast for your CPU's memory controller. Try a lower speed or a BIOS update.
  2. Reseat the RAM: turn the PC off, unplug it, take the sticks out and push them back in until they click.
  3. Test one stick at a time. Put a single stick in the slot your motherboard manual recommends and test it. Repeat with each stick. The one that shows errors is bad.
  4. Test another slot with a stick that passed. If that slot gives errors, the problem may be the slot or the motherboard.
  5. Replace the bad stick. Most RAM kits have a long warranty, so contact the brand before you buy new memory.

How long does a RAM test take?

Test Typical time
Windows Memory Diagnostic, Standard Several minutes to about an hour
Windows Memory Diagnostic, Extended Much longer than Standard
MemTest86 / Memtest86+, 4 passes Several hours with 16-32 GB or more
OCCT Memory Up to 1 hour (free limit)

The more RAM you have, the longer it takes.

FAQ

How do I test my RAM on Windows 11?

Press Windows + R, type mdsched.exe and choose Restart now and check for problems. For a deeper test, boot MemTest86 or Memtest86+ from a USB stick.

Is Windows Memory Diagnostic good enough?

It is a good first check, but it can miss errors. If it passes and you still get crashes or blue screens, run MemTest86 for at least 4 passes.

How many passes of MemTest86 should I run?

At least 4. Healthy RAM shows zero errors on every pass. One error is enough to fail.

Can I test RAM without restarting?

Yes, with OCCT's Memory test inside Windows. It cannot test the memory Windows itself is using, so a bootable test is still more complete.

Why does my RAM fail with XMP on but pass with it off?

The XMP or EXPO speed is too high for your setup. Try the next lower speed, update the BIOS, or keep it off.

Sources: Windows Central: check memory problems on Windows 11, Memtest86+ official site, MemTest86 technical information and OCCT free edition features. Checked November 29, 2026.

John
Editor

Editor at FpsGen. Covers PC releases, system requirements and beginner guides. Guides and reviews are built on official sources, patch notes and real player data. All articles →