How to Replace RAM in a PC: Step-by-Step
In this article
Replacing your PC's RAM is one of the simplest and most effective upgrades you can do—it can speed up multitasking, fix random crashes, and let you run more programs at once. The whole process takes about 10–20 minutes and only needs a screwdriver (usually a Phillips #2). Before you start, shut down your PC, unplug it, and press the power button for a few seconds to discharge any leftover charge. Also, check your motherboard manual (or the manufacturer's website) to confirm the correct RAM type (DDR4 vs. DDR5) and the maximum supported capacity—buying the wrong RAM is the most common mistake.
What You'll Need
- New RAM sticks (matched to your motherboard's type and speed)
- Phillips-head screwdriver (usually #2)
- Anti-static wrist strap (optional but recommended)
- Your motherboard manual or a phone to look up the manual online
Step-by-Step
- Shut down and unplug your PC. Turn off the power, then unplug the power cable from the back. If you have a laptop, remove the battery if it's removable (most modern laptops have internal batteries—skip this if you can't easily remove it).
- Ground yourself. Touch a metal part of the case (like the power supply or an unpainted metal frame) to discharge static. If you have an anti-static wrist strap, attach it to the case.
- Open the case. For most desktop towers, remove the side panel by unscrewing the thumbscrews or sliding it off. For laptops, remove the bottom cover—check your manual for the exact screws.
- Locate the RAM slots. They are long, thin slots near the CPU, usually with a clip at each end (or a single clip on one side). They are labeled DIMM slots (e.g., DIMM_A1, DIMM_B1).
- Remove old RAM (if replacing). Gently push down on the clips at the ends of the slot. The RAM stick will pop up at an angle. Pull it straight out. If you're just adding more RAM, skip this step.
- Check the slot orientation. Each RAM stick has a notch in the middle of its gold connector pins. The slot has a matching bump. Align the notch with the bump—it only fits one way.
- Insert the new RAM. Hold the stick by its edges (avoid touching the gold pins). Line it up with the slot and press down firmly and evenly on both ends until the clips snap into place. You should hear a click. The stick should sit flat and level.
- Install in the correct slots for dual-channel. If you have two sticks, consult your manual. Usually, you fill slots 2 and 4 (or A2 and B2) for optimal performance. If you're unsure, filling the slots that are physically farthest from the CPU is a common rule, but always check the manual.
- Close the case. Replace the side panel and screw it back on. If you removed a laptop battery, reinsert it.
- Power on and check. Plug in the power, turn on your PC, and enter the BIOS/UEFI (usually by pressing Del, F2, or F10 during startup). Look for the memory section—it should show the total RAM and speed. If it doesn't, or if the PC beeps or doesn't boot, see Troubleshooting below.
Common Mistakes
- Buying the wrong type. DDR4 and DDR5 are not interchangeable—the notch is in a different place, and they won't physically fit. Always check your motherboard's supported RAM type.
- Not pressing hard enough. RAM requires firm, even pressure to seat properly. If it doesn't click, it's not in all the way.
- Mixing different speeds or brands. While it can work, mixing speeds forces all sticks to run at the slowest speed, and mixing modules can cause instability. For best results, use identical sticks.
- Installing in the wrong slots. Putting two sticks in slots 1 and 3 (instead of 2 and 4) can disable dual-channel, reducing performance.
- Forgetting to unplug the PC. Even with the power switch off, the motherboard can still have standby power. Always unplug.
Tips
- Before buying, check your CPU's max memory speed. For example, a CPU rated for 3200MHz will run faster RAM at 3200MHz, but you may need to enable XMP (Extreme Memory Profile) in BIOS to get that speed.
- If you're adding RAM to a laptop, check if the RAM is soldered (not removable). Many ultrabooks have soldered RAM—you can't upgrade it.
- Keep the old RAM in an anti-static bag if you plan to sell it or use it later.
- If your PC has four slots and you're using two sticks, use the slots that are color-coded the same (if your motherboard uses color coding).
Troubleshooting
PC won't boot or beeps on startup. This is usually a seating issue. Turn off, unplug, and re-seat the RAM—press down firmly until it clicks. If it still won't boot, try one stick at a time in the first slot (A1) to isolate a faulty stick.
RAM shows less than expected. For example, you installed 16GB but Windows shows 8GB. This often means one stick isn't seated properly or is in the wrong slot. Re-seat both sticks, and check the BIOS to see if both are detected.
Random crashes or blue screens after install. This can be due to unstable XMP settings or mismatched RAM. Enter BIOS and disable XMP (or set memory to auto). If that fixes it, your RAM might not be stable at its rated speed—try lowering the speed manually or use the motherboard's default settings.
PC starts but nothing on screen. Check that the RAM is fully seated and that the clips are closed. Also, verify that you didn't accidentally knock loose a power cable or the GPU.
If you still have issues, try resetting the CMOS. This clears BIOS settings. On a desktop, look for a small battery on the motherboard (CR2032) and remove it for 30 seconds, then put it back. On a laptop, you may need to disconnect the internal battery. This is a last resort—it will reset all BIOS settings to default.
Frequently Asked Questions
How do I know what RAM type my motherboard supports?
Check your motherboard model (printed on the board itself) and look it up on the manufacturer's website. It will list supported RAM types (DDR3, DDR4, DDR5) and maximum capacity. You can also use system info tools like CPU-Z on Windows.
Can I mix different RAM brands?
Technically yes, but it's not recommended. Mixing brands can cause instability, and the system will run at the speed of the slowest stick. For best results, use identical sticks from the same kit.
Do I need to enable XMP after installing new RAM?
If your RAM is rated higher than your motherboard's default speed (e.g., 3600MHz on a board that defaults to 2133MHz), you'll need to enable XMP in BIOS to run at the advertised speed. Otherwise, it will run at the slower default speed.
Can I replace RAM in a laptop?
Yes, if the laptop has accessible RAM slots. Many ultrabooks and thin laptops have soldered RAM that cannot be upgraded. Check your laptop's manual or the manufacturer's website for upgradeability.
Will adding more RAM make my PC faster?
It depends. If you're running out of memory (e.g., your system is using 90%+ of RAM), adding more will reduce slowdowns from swapping to disk. If you have plenty of free RAM, adding more won't improve speed.
Do I need to reinstall Windows after changing RAM?
No. RAM is plug-and-play. Windows will automatically detect the new amount. You may need to restart once, but no reinstall is needed.