If you have ever opened a modern laptop or built a desktop PC, you have almost certainly encountered an M.2 slot. These compact connectors have become the standard for installing NVMe solid-state drives, Wi-Fi cards, and even cellular modems. But not all M.2 slots are created equal. Understanding the different types of M.2 slots is essential before you buy a new SSD or expansion card, because the wrong choice can lead to compatibility headaches or wasted money. This guide answers the most common questions about M.2 slot types in plain language.
What Is an M.2 Slot?
An M.2 slot is a small, rectangular interface on a motherboard or expansion card that accepts M.2 form-factor modules. The M.2 standard was originally called NGFF (Next Generation Form Factor) and was designed to replace older mSATA and mini-PCIe connectors. An M.2 slot can carry different types of signals, which is why the physical connector looks similar across devices but the underlying capabilities can differ dramatically.
The key takeaway: the physical shape of an M.2 slot does not tell you everything. You must also check the keying, the supported interface, and the module length.
How Are M.2 Slots Classified?
M.2 slots are primarily classified by three characteristics: the key notch, the data interface, and the supported module sizes. Each characteristic affects what kind of module you can install.
1. Keying: B Key, M Key, and Others
The key is a small notch in the M.2 connector that prevents incompatible modules from being inserted. The most common keys for storage are B key and M key.
- B key: Usually supports PCIe x2 or SATA. Found in older or budget systems.
- M key: Supports PCIe x4, which is required for full-speed NVMe drives. This is the most common slot in modern desktops and laptops.
- B+M key: A module with two notches that can fit into either a B key or an M key slot, but often at reduced bandwidth.
- A key and E key: Typically used for Wi-Fi, Bluetooth, and other wireless modules, not for storage.
If you are buying an NVMe SSD, you almost always need an M key slot. A B key slot will not accept an M key drive, and forcing it can damage the connector.
2. Interface: SATA vs. PCIe (NVMe)
This is where performance differences become dramatic. An M.2 slot can be wired for one of two main interfaces:
- SATA M.2 slot: Runs at SATA III speeds, typically up to about 550 MB/s. It uses the same controller as a 2.5-inch SATA SSD.
- PCIe M.2 slot: Connects directly to the CPU or chipset via PCI Express lanes. When paired with an NVMe drive, it can reach speeds of several thousand MB/s, depending on the PCIe generation.
Some slots are combo slots that support both SATA and PCIe, but many are dedicated to one or the other. Always check your motherboard manual to confirm which interface your slot uses.
3. PCIe Generation and Lane Count
Not all PCIe M.2 slots are equal. A slot may be wired for PCIe 3.0 x4, PCIe 4.0 x4, or PCIe 5.0 x4. The generation determines the maximum bandwidth:
- PCIe 3.0 x4: Around 3,500 MB/s theoretical maximum.
- PCIe 4.0 x4: Around 7,000 MB/s theoretical maximum.
- PCIe 5.0 x4: Around 14,000 MB/s theoretical maximum.
A PCIe 5.0 SSD will work in a PCIe 4.0 slot, but it will run at PCIe 4.0 speeds. Conversely, a PCIe 3.0 SSD in a PCIe 5.0 slot will simply operate at its own lower speed. Backward compatibility is generally good, but you should not expect free performance upgrades.
4. Module Sizes: 2230, 2242, 2260, 2280, 22110
The M.2 form factor defines length and width. The first two digits indicate width in millimeters (almost always 22 mm), and the remaining digits indicate length. Common sizes include:
- 2230: 22 mm wide, 30 mm long. Common in handhelds and some ultrabooks.
- 2242: 22 mm wide, 42 mm long. Found in some laptops and industrial devices.
- 2260: 22 mm wide, 60 mm long. Less common today.
- 2280: 22 mm wide, 80 mm long. The most common size for desktop and laptop SSDs.
- 22110: 22 mm wide, 110 mm long. Used in some enterprise and server systems.
A slot designed for 2280 may also support shorter cards with a mounting screw in a different position, but longer cards will not fit. Always measure your available space before buying.
Frequently Asked Questions About M.2 Slots
Can I put a SATA M.2 SSD in a PCIe-only slot?
No. A PCIe-only M.2 slot does not carry SATA signals. If you insert a SATA M.2 drive into a PCIe-only slot, it will not be detected. Check your manual for combo slot support.
Can I use an M.2 NVMe drive in a B key slot?
Generally no. Most NVMe drives use the M key. A B key slot typically supports PCIe x2 or SATA, and the notch alignment prevents an M key drive from fitting. There are rare B+M key NVMe drives, but they usually run at reduced speeds.
Does an M.2 slot support both storage and Wi-Fi?
Physically, an M.2 slot can accept either, but the keying and interface must match. Wi-Fi modules usually use A key or E key, while SSDs use B key or M key. You cannot swap them freely.
How do I know which M.2 slot type my motherboard has?
Check the motherboard manual or the manufacturer's website. Look for terms like "M.2_1," "M.2_2," "PCIe 4.0 x4," "SATA," and "M key." Physical inspection of the notch can also help, but the manual is the most reliable source.
Quick Comparison Table
- B key: PCIe x2 or SATA, older systems.
- M key: PCIe x4, NVMe, modern systems.
- A/E key: Wi-Fi, Bluetooth, wireless modules.
- SATA M.2: Up to ~550 MB/s.
- PCIe M.2: Up to ~14,000 MB/s depending on generation.
Final Thoughts
Choosing the right types of M.2 slots comes down to three checks: the key, the interface, and the size. An M key PCIe 4.0 x4 slot in 2280 format is the most common configuration for modern NVMe storage, but laptops and compact devices often use smaller or slower variants. Before you buy any M.2 module, confirm your slot's specifications in the manual. That simple step will save you time, money, and frustration.
