Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Test DDR5 RAM for Errors Before and After Installing

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Testing your DDR5 RAM before and after installation helps you catch faulty memory early, avoid random crashes and data corruption, and confirm your new sticks are stable under load. This guide walks you through a memory test using MemTest86, which you can run from a USB drive before you even open your PC case, and again after installation to verify everything works in your system.

What You'll Need

  • A USB flash drive (at least 1 GB; 8 GB or more is recommended)
  • A working computer to create the bootable USB (can be the same PC if it already runs)
  • DDR5 RAM kit that you want to test
  • Access to the BIOS/UEFI (usually by pressing Del, F2, or F12 during boot)
  • MemTest86 (free version is sufficient; download from the official website)
  • Optional: a second PC to test the RAM if the main system won't boot

Step-by-Step

  1. Download MemTest86 – Go to the official MemTest86 website and download the free version. It comes as a ZIP file containing an ISO image or an executable that can create a bootable USB directly.
  2. Create a bootable USB – If you downloaded the ISO, use a tool like Rufus (Windows) or the built-in Startup Disk Creator (Linux) to write the ISO to your USB drive. If you downloaded the Windows executable, run it and follow the prompts to install MemTest86 onto the USB. This will erase all data on the USB, so back it up first.
  3. Test the RAM before installation (optional but recommended) – If you have a second working PC, insert the DDR5 stick(s) into that machine and boot from the USB. If you don't have a second PC, you can still test after installation; skip to step 5.
  4. Boot from the USB – Insert the USB into the test PC, restart, and enter the boot menu (usually F12, F11, or Esc). Select the USB drive from the list. MemTest86 will start automatically.
  5. Run the test – MemTest86 will begin scanning your RAM. Let it run for at least one full pass (all test patterns). A single pass can take 1–3 hours depending on RAM size and speed. For a thorough test, let it run overnight or for 4+ passes. The free version runs 4 passes by default.
  6. Check for errors – If any errors appear (red text or a count in the error column), the RAM is faulty. Stop the test and replace the stick(s). If no errors appear, the RAM is likely good.
  7. Install the RAM in your main system – Power off the PC, unplug it, and install the DDR5 sticks in the correct slots (usually A2 and B2 for dual-channel). Consult your motherboard manual for the recommended slots.
  8. Boot and enter BIOS/UEFI – Turn on the PC and press the BIOS key (Del, F2, etc.). Check that the RAM is detected at the correct speed (e.g., 4800 MHz or 5600 MHz). If XMP/EXPO is not enabled, the RAM will run at default speed (JEDEC). You can enable XMP/EXPO later, but for the test, leave it at default.
  9. Boot from the USB again – Insert the USB into your main PC and boot from it (use the boot menu). Run MemTest86 again as described in steps 4–6. This confirms the RAM works in your actual system.
  10. Enable XMP/EXPO and re-test (optional) – If you want to run the RAM at its rated speed, enable XMP/EXPO in BIOS, save, and reboot. Then run MemTest86 once more to ensure stability at the higher speed.

Common Mistakes

  • Not letting the test run long enough – A single pass is the minimum; many memory errors only appear after multiple passes. Run at least 4 passes or overnight.
  • Testing only after installation – If the RAM is faulty, you might have to disassemble the whole PC to replace it. Testing before installation saves time if you have a spare PC.
  • Using the wrong USB creation method – Simply copying the ISO file to the USB will not make it bootable. Use a proper tool like Rufus or MemTest86's own installer.
  • Ignoring BIOS settings – If the RAM is not detected at the correct capacity or speed, the test may not cover all memory. Check BIOS to ensure the full capacity is recognized.
  • Testing with XMP enabled first – If the RAM is unstable at XMP speeds, you might see errors even though the RAM is fine at default speeds. Test at default first, then enable XMP and re-test.

Tips

  • Test one stick at a time – If you have multiple sticks, test them individually to isolate a faulty module. This is especially useful if you get errors with all sticks installed.
  • Keep the BIOS updated – Motherboard manufacturers often release updates that improve memory compatibility and stability. Update your BIOS before testing if possible.
  • Use the latest MemTest86 version – The free version is updated regularly; older versions may not fully support DDR5.
  • Monitor temperatures – RAM can get hot during extended testing. Ensure your case has adequate airflow.
  • Write down your results – If you get errors, note the test number and the failing address. This can help in RMA claims.

Troubleshooting

  • PC won't boot from USB – Ensure the USB is properly created and the boot order is correct. Try a different USB port (preferably USB 2.0). Disable Secure Boot in BIOS if it's blocking the USB.
  • MemTest86 doesn't detect all RAM – Check BIOS to see if the full capacity is recognized. If not, reseat the RAM and ensure it's in the correct slots. Try one stick at a time.
  • Errors appear only with XMP enabled – This usually means the RAM can't run at its rated speed with your CPU/motherboard. Try lowering the speed manually (e.g., 5200 MHz instead of 5600 MHz) or tightening timings. If errors persist, the RAM may be faulty.
  • System crashes during the test – If the PC freezes or reboots, it could be a power supply issue or overheating. Check CPU and RAM temperatures. Reduce the test to a single thread (MemTest86 has an option) to lower stress.
  • Errors appear only in a specific memory region – This often indicates a physical defect. Try reseating the RAM or swapping slots. If the error follows the stick, it's faulty.
  • MemTest86 won't start at all – Try recreating the USB with a different tool. If you're using a UEFI system, ensure the USB is formatted as FAT32 and the ISO is written in UEFI mode (Rufus can do this).

Frequently Asked Questions

How long should I run MemTest86?

At least one full pass is the minimum. For a thorough test, run 4 passes or overnight. Most memory errors will appear within the first few passes.

Can I test RAM without a USB drive?

Yes, Windows has a built-in tool called Windows Memory Diagnostic, but it's less thorough than MemTest86. You can also use the memory test in some BIOS/UEFI versions, but these are often basic.

What does a single error mean?

Even one error is a sign of a problem. It could be a faulty stick, incompatible settings, or a rare transient issue. Re-run the test to confirm. If the error repeats, replace the RAM.

Is MemTest86 free?

Yes, the free version is sufficient for standard testing. It includes all core tests and runs 4 passes. The paid Pro version adds more advanced features like logging to disk and parallel testing.

Can I test DDR5 RAM in a DDR4 motherboard?

No, DDR5 and DDR4 have different physical notches and voltages. They are not interchangeable. You must use a motherboard that supports DDR5.

What is XMP/EXPO and should I enable it before testing?

XMP (Intel) and EXPO (AMD) are profiles that run RAM at its advertised speed. Test at default speeds first to isolate RAM stability from overclocking. Enable XMP/EXPO only after the RAM passes at default.