The little notches on an M.2 SSD’s edge connector are called keys, and they decide which slots the drive fits and how fast it can run. Buying the wrong key, or dropping a SATA M.2 drive into an NVMe-only slot, is a common upgrade mistake. This guide explains B-key, M-key, and the B+M combination so your next drive slides in and runs at full speed.

What the Keys Actually Do

M.2 is just a slot standard; it carries either SATA or PCIe signals depending on the slot and drive. The notch positions physically prevent incompatible pairings and signal which interface the drive uses. Two key positions matter for storage: B and M.

Key Interface support Typical drive
M-key PCIe x4 (and SATA on some slots) Fast NVMe SSDs
B-key PCIe x2 or SATA Older or slower drives
B+M key Fits both B and M slots; limited to x2/SATA SATA M.2 and low-end NVMe

An M-key-only drive has a single notch and needs the full PCIe x4 signaling for top speed. A B+M drive has two notches, so it fits more slots but is electrically limited to two lanes or SATA. That is why a high-end Gen4 NVMe is always M-key only.

The SATA vs NVMe Trap

Both SATA M.2 and NVMe M.2 drives can share the B+M physical shape, so they look nearly identical. But a SATA M.2 drive tops out around 550 MB/s while an NVMe M.2 drive runs several times faster. Dropping a SATA M.2 stick into a slot that only speaks PCIe, or vice versa, means the drive is not detected at all.

How to Avoid It

Read the motherboard manual’s M.2 section. It states whether each slot supports SATA, PCIe, or both, and which lane count it provides. Match the drive’s interface to the slot, not just the physical key. A slot that says “PCIe only” will ignore a SATA M.2 drive even though it physically fits.

Length Codes Matter Too

Beyond keying, M.2 drives come in length codes like 2242, 2260, 2280, and 22110. The first two digits are width in millimeters, the rest is length. 2280 (22 mm wide, 80 mm long) is the desktop standard. Compact devices and handhelds often need 2230 or 2242. Your slot has a mounting standoff for specific lengths, so confirm the drive length fits before buying.

FAQ

Can I put an M-key NVMe drive in a B-key slot?

An M-key-only drive will not physically seat in a B-key-only slot because the notch does not line up. In practice most desktop M.2 slots are M-key or B+M, so standard NVMe drives fit fine. The issue is more common with laptops and some compact devices that use B-key SATA slots.

Is a B+M drive slower than an M-key drive?

If the B+M drive is NVMe, it is limited to PCIe x2, roughly half a full x4 drive’s bandwidth. If it is SATA, it is capped near 550 MB/s. A true M-key NVMe drive using x4 lanes is the fast option, so buy M-key for a primary gaming drive.

Bottom Line

M-key means full-speed PCIe x4 NVMe, B-key means slower PCIe x2 or SATA, and B+M fits both slots but sacrifices bandwidth. The real trap is mixing SATA and NVMe drives that share a shape, so always match the drive’s interface and length to what your slot supports. Check the manual, buy M-key 2280 NVMe for gaming, and the install is painless.

Related guides

Browse all Storage & Memory guides →