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

Random Access Memory (RAM) is one of the easiest computer components to replace yourself. You open the case, locate the RAM sticks in their slots, release the clips on either end, lift the old RAM out, and press the new RAM down until the clips snap shut. The whole job takes less time than a phone call, costs nothing in labor, and you cannot damage anything if you follow the steps in order.

The main thing that stops people is not knowing where to look or what to touch. This guide walks you through the exact sequence, shows you what the parts look like, and explains what can go wrong and how to fix it.

Key Takeaways

  • Power off your computer completely, unplug it, and wait 30 seconds before opening the case to avoid electrical damage.
  • Ground yourself by touching a metal part of the case or wearing an anti-static wrist strap before you touch any internal components.
  • RAM sticks sit upright in long slots on the motherboard and are held in place by small plastic clips at each end that you push outward to release.
  • New RAM must match the type your motherboard accepts — check your computer's manual or use a free tool like CPU-Z to find out whether you need DDR4, DDR5, or another type.
  • If your computer does not start after you install new RAM, reseat it by removing and reinserting it firmly until you hear the clips click.

What you need before you start

Gather these items before you open the case. You do not need to buy anything special — most of it is already in your home.

A Phillips head screwdriver is the only tool you will use. A small one works best. You also need a flat, clean surface — a desk or table, not a carpet or rug. Carpet creates static electricity, which can damage RAM and other parts. If you must work on carpet, wear an anti-static wrist strap, which clips to your wrist and plugs into a metal part of the case.

Know what type of RAM your computer needs before you buy. Open your computer's manual or search online for your exact model number. You can also read a free program called CPU-Z, run it, and look at the "Memory" tab — it will tell you whether your computer uses DDR4, DDR5, or DDR3. The speed (measured in MHz) and capacity (measured in GB) matter too. If you are not sure, take a photo of the RAM already in your computer and show it to the person selling you the new RAM.

Power down and ground yourself

Shut down your operating system normally — do not force it off. Once the screen goes dark, wait 10 seconds, then hold the power button for 5 seconds to drain any remaining power. Unplug the power cable from the back of the case. Wait 30 seconds. This step is not optional: it protects you and the computer.

Now ground yourself. Touch the metal frame of the case with your bare hand for a few seconds. This removes static electricity from your body. If you are working on carpet or in a dry environment, wear an anti-static wrist strap instead — clip it to your wrist and attach the other end to a metal part of the case. Do this before you touch anything inside.

Open the case and locate the RAM

Most desktop cases have two or four screws on the left side panel. Remove them with your screwdriver and set them in a small container so you do not lose them. Slide the panel toward the back of the case and lift it off. You may need to unplug a cable that connects the power button or lights to the motherboard — just note where it plugs in so you can reconnect it later.

Look inside. The motherboard is the large flat board with all the components attached. RAM sticks stand upright in long, narrow slots near the center or back of the board. They look like thin rectangles about 3 inches tall. You will see one, two, or four of them depending on your computer. The slots are usually labeled "DIMM1," "DIMM2," and so on. If you cannot see them, trace the power cables — they lead toward the center of the board where RAM sits.

Remove the old RAM

Look at the ends of each RAM stick. You will see a small plastic clip on the left and right side of the slot. Push these clips outward — away from the RAM stick — until they click and stop. The RAM stick will tilt up slightly as the clips release. Grab the stick by its top edges (not the gold connectors at the bottom) and pull it straight up and out of the slot. Set it aside on a non-carpeted surface.

If you are replacing all the RAM, repeat this for each stick. If you are adding RAM to existing sticks, remove only the ones you are replacing. Do not force anything. If a stick does not come out easily, check that both clips are fully pushed outward.

Install the new RAM

Hold the new RAM stick by its top edges. Look at the gold connectors on the bottom — you will see a small notch cut into them. Line this notch up with the raised ridge inside the slot. This ridge prevents you from inserting RAM backward, which would break it.

Position the stick straight above the slot and press down firmly and evenly on both ends. You will feel resistance. Keep pressing until the stick is fully seated — the top of the stick should be level with the top of the slot. As you press down, the plastic clips on each end will snap inward and lock the stick in place. You should hear a small click when each clip engages. Do not press so hard that you bend the stick, but do press hard enough that the clips fully close.

If you are installing multiple sticks, repeat this for each one. Leave at least one empty slot between sticks if you have four slots — this helps with cooling. Check your motherboard manual if you are not sure which slots to use.

Close the case and test

Reconnect any cables you unplugged from the motherboard, such as the power button connector. Slide the left panel back onto the case and screw it shut. Plug the power cable back in and press the power button. The computer should start normally.

Once it boots, check that the new RAM is recognized. On Windows, right-click "This PC" or "My Computer," select "Properties," and look for the total memory listed. On Mac, click the Apple menu, select "About This Mac," and check the memory line. The number should match the total capacity of all your RAM sticks combined. If it does not, shut down, open the case again, and reseat the new RAM by removing it and pressing it back in firmly.

What to do if something goes wrong

If the computer does not start after you install new RAM, the most common cause is that the stick is not fully seated. Power off, unplug, wait 30 seconds, then open the case and remove the new RAM. Press it back in, making sure you hear both clips click. Reinstall and test again.

If the computer starts but shows less memory than you installed, one stick may not be fully locked in. Repeat the reseat process. If the computer starts and then crashes or freezes within minutes, the RAM may be incompatible with your motherboard or power supply. Check that you bought the correct type (DDR4, DDR5, etc.) and that your power supply has enough wattage for the new RAM — most modern RAM uses very little power, so this is rare.

If you see error messages about memory when you start up, reseat the RAM first. If errors continue, the stick may be defective. Contact the seller or manufacturer for a replacement.

Frequently Asked Questions

Can I install RAM while the computer is on?

No. Always power off, unplug, and wait 30 seconds before opening the case. Installing RAM in a powered computer can destroy the RAM, the motherboard, or both. The risk is not worth saving a minute.

Do I have to install RAM in a specific slot?

Most modern motherboards work with RAM in any slot, but some perform better when you fill slots in a specific order. Check your motherboard manual for the recommended slot order. If you have two sticks, slots 2 and 4 are often the default. When in doubt, fill from the slot closest to the CPU first.

What if my RAM sticks are different speeds or brands?

Mixing brands is fine — they work together. Mixing speeds is also fine, but all RAM will run at the speed of the slowest stick. If you have one 3200 MHz stick and one 3600 MHz stick, both will run at 3200 MHz. For best performance, buy matching pairs.

How do I know if my computer needs more RAM?

If your computer slows down when you have many programs open, or if you see your hard drive light blinking constantly while using normal programs, RAM may be the bottleneck. Open your task manager (Windows) or activity monitor (Mac) while using your computer normally. If memory usage stays above 80 percent, adding RAM will help.

Can I damage the RAM by touching the gold connectors?

The gold connectors are fairly tough, but oils from your skin can cause corrosion over time. Avoid touching them directly. If you do touch them, wipe them gently with a dry, lint-free cloth before installing. Do not use water or cleaning products.