RAM replacement is a straightforward hardware swap that takes 15 to 30 minutes and requires no special tools

Replacing RAM means removing your old memory modules and inserting new ones into the same slots on your motherboard. The process is the same whether you're upgrading to faster RAM, adding more capacity, or replacing a failed module. You'll need to power down your computer completely, ground yourself to avoid static discharge, and locate the RAM slots — which sit near the CPU on your motherboard. Once you release the clips on either end of a slot, the old module pops out at an angle, and the new one clicks in the same way.

The hardest part is usually opening your case and finding the RAM slots under any cables or coolers in the way. Everything else is mechanical and nearly impossible to do wrong — the modules only fit one direction, and they only go into the correct slots. If you've never opened a computer before, the process takes longer because you're learning the layout, but the actual RAM swap itself takes five minutes.

Key Takeaways

  • Power off your computer completely and unplug it before opening the case, then touch a metal part of the chassis to discharge static electricity from your body.
  • RAM modules only fit one direction and only into the correct slots, so you cannot install them backwards or in the wrong place.
  • Push the clips at both ends of the RAM slot outward to release the old module, then align the new module's notch with the key in the slot and press down until both clips snap inward.
  • After installation, power on your computer and check that the system recognizes the new RAM in your BIOS or operating system settings.
  • If your computer does not start after RAM replacement, reseat the modules by removing and reinserting them firmly, as loose connections are the most common cause.

What you need before you start

You need the correct RAM module for your motherboard. Check your motherboard manual or use a system information tool to find out what type your computer uses — the main variables are DDR generation (DDR4, DDR5, and so on), speed in megahertz (MHz), and the number of pins. Buying the wrong type means the module will not fit into the slot at all, so this is the one thing you cannot recover from by trying again.

You also need a static wrist strap or a way to ground yourself, though many people skip this step without problems. A wrist strap clips to your wrist and connects to a metal part of your case with a wire, and it costs $5 to $15. If you don't have one, touching a metal part of your case chassis before you touch the RAM accomplishes the same thing — static electricity builds up in your body, and grounding yourself drains it. Avoid working on carpet, and don't touch the gold connectors on the RAM module itself.

You'll need a Phillips screwdriver to open your case, and a flashlight or phone light helps if the inside of your case is dark. That's the complete list. You do not need thermal paste, a new cooler, or any other components.

Opening your case and locating the RAM slots

Power off your computer using the operating system shutdown menu, then unplug the power cable from the back. Wait 30 seconds for any remaining power to drain. Open your case by removing the side panel — most cases have two or three thumbscrews on the back, or a latch you slide. If you're not sure which panel to remove, look for the one that faces the motherboard when you're looking at the back of the case.

Once the case is open, locate the RAM slots on the motherboard. They sit in a row near the CPU (the large square chip with a cooler on top), and they're usually about 4 inches long. RAM modules stand upright in these slots, so you're looking for vertical rectangular openings with clips on both ends. If cables are blocking your view, gently move them aside — you don't need to disconnect anything unless a cable is directly in the way of removing the RAM.

If you cannot find the RAM slots, consult your motherboard manual or search online for your specific motherboard model plus "RAM slot location". Most motherboards have two to four RAM slots, and they're always near the CPU. Take a photo with your phone before you start — it helps you remember the layout if you need to troubleshoot later.

Removing the old RAM module

Ground yourself by touching a metal part of the case chassis, or put on your static wrist strap. Look at the RAM slot and locate the small clips on both the left and right ends. These clips hold the module in place. Push both clips outward (away from the center of the module) at the same time — they usually move about a quarter inch before they stop. The RAM module will pop up at an angle as the clips release.

Once the module is at an angle, grasp it by the sides (not the gold connectors) and pull it straight out. Set it aside on a non-static surface like a cardboard box or the anti-static bag it came in. Do not touch the gold connectors on the bottom of the module, and do not set it on carpet or a metal surface that could conduct static electricity.

If you're replacing multiple modules, remove them one at a time and note which slot each one came from. This matters if you're mixing different speeds or capacities, though for most upgrades you can install new modules in any order.

Installing the new RAM module

Take the new RAM module out of its packaging and hold it by the sides. Look at the bottom of the module — you'll see a notch (a small gap) cut into the gold connector. This notch aligns with a key (a raised ridge) inside the RAM slot, and it ensures the module only goes in one direction. If the notch doesn't line up with the key, rotate the module 180 degrees and try again.

Position the module above the slot so the notch and key are aligned, then press down firmly on both ends of the module at the same time. You should feel resistance as the module enters the slot, and then a click as the clips snap inward on both sides. The module should sit flush with the motherboard when it's fully installed — if it's at an angle or loose, remove it and try again. The clips should be touching the sides of the module when you're done.

If the module is difficult to insert, stop and check the alignment. Do not force it — forcing a misaligned module can bend the pins inside the slot and permanently damage your motherboard. Remove the module, rotate it if needed, and try again with steady pressure rather than a hard push.

Closing the case and testing the installation

Once the new RAM is installed and the clips are snapped in, close your case by replacing the side panel and tightening the screws. Plug the power cable back in and press the power button to start your computer. Listen for the fans to spin up and watch for the motherboard lights to come on — these are signs the system is receiving power.

Your computer should boot normally. If it does, open your operating system settings to verify the new RAM is recognized. On Windows, right-click "This PC" or "My Computer" and select "Properties" — the amount of RAM listed should match what you installed. On macOS, click the Apple menu, select "About This Mac", and check the memory listed. If the amount is correct, the installation is complete.

If your computer does not start or shows an error message, power it off, unplug it, and reseat the RAM modules by removing them and reinserting them firmly. Loose connections are the most common cause of problems after RAM installation. If reseating doesn't work, remove the new RAM and reinstall the old modules to confirm your computer still works — this tells you whether the problem is the new RAM, the installation, or something else.

Troubleshooting a failed installation

If your computer does not recognize the new RAM after installation, the most likely cause is a loose connection. Power off completely, unplug the computer, and remove the new module. Reinsert it with firm, even pressure on both ends until the clips snap in. Power on and check again.

If the computer still doesn't recognize the new RAM, try installing it in a different slot. Some motherboards have slots that work better than others, or a slot might be faulty. Move the module to the next slot over, power on, and check. If the system recognizes it in a different slot, the original slot may be damaged.

If the computer won't start at all after RAM installation, remove the new module and reinstall the old one to confirm the system still works. If it does, the new RAM may be incompatible or faulty — verify you purchased the correct type for your motherboard. If the system won't start even with the old RAM, you may have accidentally disconnected a cable or bumped something else inside the case. Check that all cables are connected and that nothing is visibly out of place.

Frequently Asked Questions

Can I install RAM while the computer is on?

No. Always power off completely and unplug the computer before opening the case or touching any components. Installing RAM while the system is powered can damage the motherboard, the RAM, or both. Wait at least 30 seconds after unplugging to let residual power drain before you open the case.

Does it matter which slot I put the new RAM in?

For a single module, it usually goes in slot 1 or 2 (check your motherboard manual). For multiple modules, they work best in matching pairs in slots 1 and 3, or 2 and 4, depending on your motherboard. If you're unsure, your motherboard manual shows the recommended configuration.

What if the RAM won't click in all the way?

Stop and check the alignment. The notch on the module must line up with the key in the slot. If it's aligned and still won't go in, the module may be the wrong type for your motherboard. Verify you purchased DDR4 or DDR5 (whichever your motherboard uses) and the correct speed in MHz.

Do I need to change any settings in BIOS after installing new RAM?

Usually no. Modern motherboards detect new RAM automatically and configure it without user input. If your system doesn't recognize the full amount of RAM, restart the computer and check again — sometimes it takes a second boot. If it still doesn't show up, reseat the modules and try once more.

Is it safe to mix old and new RAM?

Yes, as long as both modules are the same type (DDR4 or DDR5) and speed (MHz). Mixing different speeds works, but the system runs both modules at the slower speed. Mixing different capacities (like 8GB and 16GB) also works fine.