M.2 Key B vs Key M: Which Slot Fits Your SSD


An M.2 SSD is smaller than a stick of gum, but it is not universal. The edge connector has a notch, called a key, and the socket has a matching block. A B-key drive will not fit an M-key socket, and an M-key drive will not fit a B-key socket. Getting this wrong is one of the most common upgrade mistakes.

The good news is that the labels are printable and the motherboard manual states exactly what each slot supports. This guide explains what the keys mean in practice.

What the Notches Mean

The M.2 specification defines several keys, each with a different notch position. Two matter for storage:

B, M and B+M Compared

KeyTypical driveWhat it means for speed
BOlder SATA or PCIe x2 modulesUp to about 550 MB/s over SATA, or roughly 1 GB/s over PCIe x2
MNVMe PCIe x3/x4 modulesFull NVMe speed, up to the slot's generation and lane count
B+MSATA modules and some budget NVMeFits both sockets, but the drive itself may be limited

The key determines fit, not performance by itself. A B+M NVMe drive can still be fast, and an M-key socket can still run at PCIe 3.0 x4 if that is what the board provides.

How to Read Your Motherboard Spec

Look for a line such as "M.2_1: PCIe 4.0 x4" or "M.2_2: SATA/PCIe 3.0 x2". That single line tells you three things:

  1. Protocol: PCIe means NVMe; SATA means a SATA M.2 module.
  2. Lanes: x4 is full speed for NVMe; x2 halves the ceiling.
  3. Generation: PCIe 3.0, 4.0 or 5.0 sets the maximum bandwidth.

Some boards share lanes between an M.2 slot and a SATA port. Installing an M.2 drive can disable one SATA port, and the manual lists which one. Check before you plan a multi-drive build.

What Happens If You Buy the Wrong Drive

If a drive is not detected, check the slot type before you blame the drive. A short M.2 drive in a longer socket is fine if you screw it into the correct standoff; the connector is the same.

Moving an Installation to the New Drive

Once the correct drive is installed and visible in Disk Management, cloning avoids a Windows reinstall.

Step 1. Launch Qiling Disk Master, open Tools and utilities and click Disk/Partition clone.

open Disk/Partition clone in Qiling Disk Master

Step 2. Select the current system disk as the source and click Next.

select the current system disk as the clone source

Step 3. Select the new M.2 drive as the destination and click Next.

select the new M.2 SSD as the clone destination

Step 4. Review the layout and click Proceed. Boot from the new drive before you erase or remove the old one.

review the clone layout and click Proceed

Can I use an M-key drive in a B+M socket?

No. The B+M socket has a block where the M key would sit, so a pure M-key drive cannot be inserted. Use a B+M drive or choose a different slot.

Does an M.2 drive need a heatsink?

PCIe 4.0 and 5.0 drives can throttle under sustained writes. A heatsink helps in a desktop; in a laptop, use the one the manufacturer provides.

Are all M.2 2280 drives the same length?

The four digits give width and length in millimetres. 2280 means 22 mm wide and 80 mm long. A 2230 drive fits a 2280 slot only if you can secure it at the shorter standoff.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it