Skip to content
Codewilds

Lesson 7 of 31 · What Must Align

RAM Compatibility: DDR4 vs DDR5

Quizmedium10 XP3 min read

Memory is easy to get wrong in two ways: buying the wrong type, or putting the right sticks in the wrong slots.

Both are easy to avoid once you know the rules in this lesson.

DDR4 and DDR5 don't mix

Each motherboard takes exactly one memory type. DDR4 and DDR5 sticks both have 288 pins and look almost the same, but the notch in the gold edge sits in a different place, so a DDR5 stick won't go into a DDR4 slot (and you should never force one). The board decides the type:

Platform Memory type
AM5, LGA1851 DDR5 only
AM4 DDR4 only
LGA1700 DDR4 or DDR5, depending on the board

Also buy desktop sticks, called DIMMs. Laptop memory (SO-DIMM) is shorter and won't fit, and server memory (RDIMM) doesn't work in desktop boards.

Slots and dual channel

Desktop CPUs talk to memory over two channels, like a two-lane road. One stick uses one lane; one stick in each channel lets the CPU use both lanes at once. That's dual channel, with about twice the bandwidth (the amount of data moved per second). Integrated graphics and many games feel the difference.

Most boards have four slots, two per channel, named A1, A2, B1 and B2. With two sticks, use the slots the manual names, usually A2 and B2: the second and fourth slots from the CPU. Two sticks in A1 and A2 share channel A, so the PC runs in single channel.

Two sticks or four?

Two slots per channel means four sticks put more strain on the CPU's memory controller. With DDR5, that often means a lower speed: four sticks may not reach the kit's rated speed, and the board falls back to a slower one. If you need 64 GB, buy 2 × 32 GB rather than 4 × 16 GB. Plan the capacity up front, so you don't have to add sticks later.

XMP and EXPO

Out of the box, memory runs at a slow, safe standard speed (for DDR5 often 4800 or 5600 MT/s), whatever the box says. The rated speed is stored on the sticks as a profile you switch on in the BIOS: XMP (Intel's Extreme Memory Profile) or EXPO (AMD's Extended Profiles for Overclocking). Many kits include both. AMD boards can usually load XMP profiles too, but for an Intel board pick a kit with XMP. On AM5, DDR5-6000 is the usual sweet spot.

A profile is technically an overclock. If the PC becomes unstable after you switch it on, try a slower profile or the standard speed.

The QVL and mixing kits

The QVL (qualified vendor list) on the board's support page lists the memory kits the board maker has tested. A kit that isn't on it usually works too; the QVL matters most for high speeds, large capacities and four sticks.

Sticks sold as one kit were tested together. Two separate kits weren't, even identical ones. Mixing kits with a different brand, speed, timings or capacity can force everything down to the slowest settings or cause crashes. Buy all the sticks you need as one kit.

Checklist

  • The kit is the type the board takes: DDR4 or DDR5.
  • Two sticks go in the slots the manual names, usually A2 and B2.
  • Two large sticks beat four small ones, especially with DDR5.
  • XMP or EXPO is switched on in the BIOS.
  • All sticks come from one kit.

Premium lesson

Unlock the full Learn PC Building course

  • All 31 lessons, bosses and quizzes — lifetime access
  • One payment of $35, no subscription
  • Finish within 30 days and claim $10.50 (30%) back
Play the 5 free lessons

Want more than one course?

The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.

Keep learning

Lesson last updated on .

Take the quiz ↓
Quiz+10 XP

Lesson 7 is part of the full course. The first 5 lessons are free.

Premium lesson

Unlock the full Learn PC Building course

  • All 31 lessons, bosses and quizzes — lifetime access
  • One payment of $35, no subscription
  • Finish within 30 days and claim $10.50 (30%) back
Play the 5 free lessons

Want more than one course?

The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.