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.
The M.2 specification defines several keys, each with a different notch position. Two matter for storage:
| Key | Typical drive | What it means for speed |
|---|---|---|
| B | Older SATA or PCIe x2 modules | Up to about 550 MB/s over SATA, or roughly 1 GB/s over PCIe x2 |
| M | NVMe PCIe x3/x4 modules | Full NVMe speed, up to the slot's generation and lane count |
| B+M | SATA modules and some budget NVMe | Fits 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.
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:
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.
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.
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.

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

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

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

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.
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.
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.