An M.2 slot is a small connector for compact drives and cards, and the name describes the shape of the connector, not the speed of whatever you plug in. Depending on the board, the same-looking socket might carry PCIe lanes for a fast NVMe drive, SATA signals for a slower drive, or both. Its generation, whether it hangs off the processor or the chipset, and what it shares lanes with all decide how a drive behaves. This guide covers the connector keys, drive lengths, Gen3, Gen4 and Gen5 sockets, sharing rules, cooling and installation.
M.2 is a form factor, not a speed rating
The M.2 standard defines the physical card and the connector. It does not guarantee any protocol. One socket may speak PCIe only, another SATA only, and many boards wire their sockets for either. The result is that two drives that look the same can differ greatly in speed, and a socket that accepts one may refuse the other.
So the label that matters in a manual is not “M.2” alone but the full description, such as “M.2_1 supports PCIe 4.0 x4 and SATA, 2242 to 2280”. That single line tells you the generation, the lane count, the protocols and the lengths. Learn to read it and most buying mistakes disappear.
Keys and drive lengths
The notches on a card, called keys, stop you inserting the wrong kind. Storage on desktop boards is almost always M-key. Wireless cards use a different key, and some older SATA drives use a combined B+M key. The numbers in a drive’s name give the width and length in millimetres, so 2280 means 22 mm wide and 80 mm long.
| Name | Size | Where you commonly meet it |
|---|---|---|
| 2230 | 22 x 30 mm | Compact devices and some small drives |
| 2242 | 22 x 42 mm | Shorter SATA and some NVMe drives |
| 2260 | 22 x 60 mm | Less common on desktop boards |
| 2280 | 22 x 80 mm | The usual desktop size |
| 22110 | 22 x 110 mm | Longer, enterprise-style drives; not all boards fit them |
The standoff, the small screw post that holds the far end of the drive, moves to match the length. Check that the board includes the standoff for your size.
Gen3, Gen4 and Gen5 sockets
Socket generation sets the ceiling for a drive. As rounded, approximate figures, an x4 link carries about 4 GB/s per direction at Gen3, about 8 GB/s at Gen4 and about 16 GB/s at Gen5. SATA tops out well below that, at roughly 0.5 GB/s. Real drives deliver less than the link allows, and a newer drive in an older socket simply runs at the slower generation.
That backward compatibility makes the choice easier. A Gen4 drive in a Gen3 socket still works; it just cannot reach its rated speed. A Gen5 socket likewise accepts Gen4 drives with no penalty beyond the drive’s own limits.
CPU-attached and chipset-attached sockets
Every M.2 socket gets its lanes from either the processor or the chipset. Processor-attached sockets connect directly, which usually gives them the newest generation the platform offers and no competition from other devices. Chipset-attached sockets are commonly one generation lower and share the chipset’s single uplink with USB, networking and SATA traffic.
For a primary boot and games drive, the CPU-attached socket is normally the better pick. Secondary drives for archives, recordings or media suit chipset sockets perfectly well. Manuals typically mark which is which, often listing the first socket as the one tied to the CPU.
Lane sharing with SATA and expansion slots
Boards have a limited pool of flexible lanes, so sockets are often wired to share. The common patterns are straightforward:
- A socket in SATA mode may turn off one or two named SATA ports.
- A socket in PCIe mode may leave the SATA ports alone but reduce a nearby slot’s width.
- Some lower expansion slots switch off when a particular socket is populated.
None of this is a defect, and the manual spells it out, usually in a footnote beneath the storage or expansion tables. Reading those notes before you fill every socket and port saves a confusing evening of missing drives.
Heatsinks and temperatures
NVMe controllers generate heat, and sustained writes can push a bare drive into thermal throttling, where the controller cuts speed to protect itself. Many boards include one or more built-in covers, often with a thin pad that sits between the drive and the metal. Remove any protective film from the pad before installing.
Whether the board cover or a separate drive heatsink cools better depends on airflow and design, and we compare the two in the board heatsink versus aftermarket heatsink guide. If you ever need to replace a worn pad, see our list of thermal pads for M.2 drives. A drive that has its own heatsink may not fit under a board cover, so measure the clearance first.
How to install an M.2 drive safely
- Shut the computer down, switch off the power supply and unplug it, then touch bare case metal to discharge static.
- Locate the socket from the manual and remove any cover or heatsink, keeping the small screws.
- Move the standoff to the correct length position if it is adjustable.
- Insert the drive at roughly a thirty-degree angle, gold contacts first, until it seats fully.
- Press it flat and fasten the retaining screw gently; do not overtighten.
- Replace the cover, reconnect power and open the BIOS to confirm the drive appears.
If it will not slide in, stop and recheck the key and the length rather than forcing it. A new blank drive then needs initialising in the operating system before it shows up as storage.
A worked example: choosing sockets for three drives
Suppose a board lists M.2_1 as Gen5 x4 from the CPU, M.2_2 as Gen4 x4 from the chipset and M.2_3 as Gen4 x4 that shares with SATA_3 and SATA_4. You own a fast boot drive, a mid-speed games drive and an old SATA hard drive. Put the fast drive in M.2_1, the games drive in M.2_2, and keep the hard drive on SATA_1 so M.2_3 stays free for later. Nothing conflicts, the best socket carries the busiest drive, and you leave the sharing pair untouched.
Mistakes and myths worth avoiding
A frequent myth is that every M.2 drive is fast. SATA-type drives in this shape are real, and they run at SATA speeds. Another is that the physical socket tells you its generation; only the manual does. A third is that a drive heatsink is mandatory for everyone, when light use may never get near throttling.
A short buying checklist helps:
- Confirm the protocol the socket supports: PCIe, SATA or both.
- Confirm the length range and that a standoff is supplied.
- Note which sockets share lanes with SATA ports or slots.
- Check clearance under any cover, especially above a graphics card.
- Consider the board warranty before removing factory pads or covers; keep the originals.
Related guides
- Sustainable Gaming Pc Power Supply Efficiency Guide
- Thermal Paste Application Method For Lga1851
- Low Profile Graphics Card For Dell Optiplex
Frequently asked questions
Will any M.2 drive fit in any M.2 slot?
Not always. The connector key, the drive length and the signalling must all line up. Most desktop boards accept 2280 drives with an M-key connector, but some drives are shorter or longer, and a few slots only support SATA-type drives. Look up the supported lengths and protocols in your board’s manual before buying, since the sticker on the drive does not guarantee compatibility.
What is the difference between an NVMe and a SATA M.2 drive?
The shape can look identical, but the protocol differs. An NVMe drive talks over PCIe lanes and is typically much faster, while a SATA M.2 drive uses the older SATA interface with the same ceiling as a 2.5-inch SATA drive. Some slots accept only one type, others accept both. The manual usually marks sockets as PCIe, SATA or both.
Is a heatsink needed for an M.2 drive?
It depends on the drive and the workload. Fast drives can get warm under long, sustained transfers and may slow themselves down to protect the controller. Many boards ship with a built-in cover for at least one socket, and many drives include their own. Light everyday use rarely needs more, but check the drive’s temperature if you move large files often.
Why did a SATA port stop working after an M.2 drive was added?
Many boards share resources between certain M.2 sockets and specific SATA ports, so occupying a socket can disable the ports it shares with. The manual normally lists the exact pairing, for example a socket that turns off two named SATA ports. Move the drive to another socket, connect the SATA device to a different port, or accept the trade-off.
Is a Gen5 M.2 slot worth having?
A Gen5 slot gives you headroom, and it works with Gen4 or Gen3 drives at their own speeds, so it is not wasted. Whether you notice a difference depends on the work you do, as large sequential transfers benefit most while everyday gaming load times often change little. Think of it as future flexibility rather than an immediate upgrade.