New technology, clearly explained.
NextTechExplained Logo Mark
NextTechExplained

How to Test RAM for Errors in Windows 11

Test Windows 11 memory with Windows Memory Diagnostic or MemTest86, find the results in Event Viewer, and understand what RAM errors do and do not prove.

N
NextTechExplained

Editorial Team

October 27, 2026Updated October 27, 2026•9 min read
A Windows 11 laptop beside desktop memory modules, representing RAM troubleshooting

A Windows 11 laptop beside desktop memory modules, representing RAM troubleshooting

Table of Contents (12 sections)

If your Windows 11 PC freezes, restarts unexpectedly, shows blue-screen errors, or crashes during ordinary tasks, checking its memory can help narrow down the cause. Those symptoms do not prove that RAM is faulty: drivers, storage, firmware, overheating, and other hardware can produce similar problems. To understand how memory functions in your system, read our guide on what RAM is. A memory test is a diagnostic step, not a verdict on its own.

For a quick first check, use the built-in Windows Memory Diagnostic tool. If the symptoms continue or you need a test that runs outside Windows, a bootable utility such as MemTest86 can provide a second check. This guide explains how to run both, find the result, and decide what to do next without immediately buying replacement memory.

A Windows 11 laptop beside desktop memory modules, representing RAM troubleshooting.

Before you test your memory

Save your work and close open applications first. Windows Memory Diagnostic restarts the computer, and a bootable memory test also requires a restart. If device encryption or BitLocker is enabled, make sure you know how to retrieve your recovery key before making firmware or boot-configuration changes. Keep that key private; never post it in a forum or send it to someone offering unsolicited support. Before beginning hardware diagnostics, you can verify your installed capacity and configuration in our guide on how to check computer specs.

If the computer is used for work or school, follow your organization's IT policies. On a laptop with soldered memory, do not open the computer to remove modules. Follow the device maker's repair guidance instead.

Method 1: Run Windows Memory Diagnostic

Windows includes a memory test that can run before the normal desktop loads. It is the simplest place to start when Windows still boots.

  1. Save your files and close your applications.
  2. Press Windows + R to open Run.
  3. Type mdsched.exe and press Enter. You can also search Start for Windows Memory Diagnostic.
  4. Choose Restart now and check for problems (recommended) when you are ready for the PC to restart. If you cannot restart yet, use the option to check the next time you start the computer.
  5. Let the test run and allow Windows to restart when it finishes. The duration varies with the test configuration and the computer; do not interrupt it simply because the screen stays on the diagnostic interface for a while.

A Windows-inspired laptop screen showing the Windows Memory Diagnostic interface.

The tool normally starts with a Standard test mix. If you need a more thorough follow-up, you can open the test options with F1, select Extended under Test Mix using the arrow keys, and press F10 to apply the selection. Extended testing takes longer. Use it when the initial result or the computer's symptoms justify the extra time rather than assuming every user must run it first.

How to find the test result

After Windows starts again, look for the Windows Memory Diagnostic notification. If you missed it or it did not appear, inspect Event Viewer:

  1. Right-click Start and open Event Viewer.
  2. In the left pane, go to Applications and Services Logs > Microsoft > Windows > MemoryDiagnostics-Results > Debug.
  3. Select the most recent result and check its timestamp so you know it belongs to the test you just ran.

Microsoft documents Event ID 2001 as a result indicating that no memory errors were detected in that run. A clean result is reassuring, but it does not guarantee that intermittent memory problems are impossible or that every part of the PC is healthy. If the expected log entry is missing, check the timestamp and look through the System log for the MemoryDiagnostics-Results source; do not treat a missing result as a pass.

Method 2: Run MemTest86 from a USB drive

If Windows Memory Diagnostic reports an error, Windows continues to crash, or you need an independent test, you can use MemTest86 from its official website. It boots from a USB drive, allowing memory tests to run outside the installed Windows session.

  1. Use a separate USB drive and back up anything on it that you need to keep. If you need assistance preparing or formatting media, read our guides on how to boot from USB and how to format USB to FAT32.
  2. Download MemTest86 from the official PassMark website and follow its instructions to create bootable media. Writing the image erases the selected USB drive, so check the target drive carefully.
  3. Restart the PC and open its one-time boot menu using the key documented by the computer or motherboard manufacturer.
  4. Select the USB drive and allow the test sequence to run. If the USB drive is not listed, consult the computer's official boot and UEFI instructions instead of changing several firmware options at random.
  5. Review the result at the end of the run. Record any reported errors and the test configuration before changing settings or hardware.

A computer booting a memory test from a USB drive.

MemTest86 requires compatible boot firmware; current releases are designed for UEFI systems. Check the tool's official requirements for legacy systems and supported hardware. A diagnostic error shows that the tested memory system or configuration produced an error. It does not, on its own, identify a particular RAM stick as defective: the CPU, motherboard, memory controller, firmware, compatibility, or unstable memory settings can also matter.

What do RAM test results mean?

Result What it suggests What to do next
Windows Memory Diagnostic reports no errors The tool did not detect errors during that run. If the PC is stable, continue normal use. If symptoms continue, consider a second test and investigate other causes.
One or more memory errors appear The tested memory system or configuration may be unstable or faulty. Save the result, return any changed memory settings to supported defaults, and repeat testing where practical.
No result appears in Event Viewer The result may not have been recorded, may be in a different log view, or the test may not have completed as expected. Confirm the test finished, check timestamps, and inspect the MemoryDiagnostics-Results source. Do not assume this means the RAM passed.
The PC freezes or restarts during a test The system is unstable, but the cause is not yet isolated. Avoid repeatedly changing firmware settings. Use manufacturer support if the result remains unclear.

What to do if the test reports errors

Start with the least disruptive checks. If you enabled XMP, EXPO, or another memory performance profile, follow the motherboard or computer maker's instructions to return to a supported default setting and test again. A configuration that fails only with an overclocked profile is not enough to prove the memory module itself is defective.

If errors persist and the computer has removable memory modules, a technician or an experienced user may test one module at a time in the slots recommended by the manufacturer. Record which module and slot were used for each run. If an error consistently follows a module across supported slots, that is stronger evidence against the module. If failures follow a slot, occur only with multiple modules, or vary between tests, the motherboard, memory controller, firmware, seating, or compatibility may require investigation.

Do not remove or insert RAM while the computer is powered on. Shut down, disconnect power as the manufacturer instructs, and use the system's service manual. If the memory is soldered, the device is under warranty, or you are not comfortable opening the PC, contact the manufacturer or a qualified repair professional instead. If you are replacing a faulty module or upgrading capacity, follow our step-by-step guide on how to install RAM in a PC.

A technician comparing memory modules and a diagnostic result on a PC.

If the tests pass but crashes or blue screens continue, do not assume that RAM is definitely fine or definitely faulty. Check the timing of crashes and review Windows reliability history, Event Viewer, device drivers, storage health, temperatures, and recent hardware or software changes. If you want to rule out drive wear or storage corruption, inspect your storage drive with our guide on how to check SSD health in Windows 11. Microsoft's stop-error troubleshooting guidance is a sensible next resource when the main symptom is a blue screen.

Common questions

Is Windows Memory Diagnostic enough?

It is a useful first check and may be all you need if the computer is stable and the test reports no errors. If symptoms continue, the problem is intermittent, or the result is unclear, a second test such as MemTest86 can add evidence. No single clean test rules out every intermittent fault.

How long does a RAM test take?

It depends on the amount of memory, test mix, hardware, and tool. Extended tests and bootable test suites can take significantly longer than a quick check. Plan for a period when you can leave the computer undisturbed, and do not interrupt a test just to meet an arbitrary time estimate.

Does a memory error always mean I need new RAM?

No. It means the tested configuration produced an error that deserves investigation. Memory settings, firmware, module seating, motherboard slots, CPU memory controllers, and component compatibility can affect results. Confirm the pattern before buying parts.

Can I test RAM without restarting Windows?

Windows Memory Diagnostic runs during a restart rather than inside your active desktop session. MemTest86 also requires booting from prepared media. Save your work before either test.

Official sources

Verified Primary Sources & Citations

NextTechExplained verifies facts against official documentation, engineering whitepapers, and regulatory filings.

Published by NextTechExplained

Editorial Team Byline

Articles published under this byline are prepared by our editorial staff through focused research and verified against official specifications, manufacturer documentation, and primary sources. Learn more about our process on our About page and Editorial Policy.

Keep Reading

Related Explanations & Guides

More in How-To Guides →