No. Laptop SSDs come in several physically different sizes and shapes, and even drives that share a nominal form factor can differ in length, width, thickness, connector keying and whether they include a heatsink.

The practical split is between the two common internal form factors — the gumstick-shaped M.2 drive and the rectangular 2.5-inch drive — plus the fact that many modern thin laptops have no user-replaceable SSD at all because storage is soldered to the mainboard.

That answer matters most when you're buying an upgrade. A drive that is electrically compatible with your laptop can still fail to fit because it's 2 mm too long, too thick to close the bottom panel, or keyed for a different slot.

So the real question isn't "are they the same size" but "which dimensions and interface does this specific machine accept," and that's answered by the service manual and the slot itself, not by the word "SSD."

The two physical families you'll actually encounter

Almost every removable laptop SSD is one of two shapes. The 2.5-inch drive measures roughly 100 mm long, 70 mm wide and either 7 mm or 9.5 mm tall, with a SATA data-and-power connector on one edge. These were standard in laptops through the mid-2010s and still appear in budget models and older machines.

The "2.5-inch" label is a historical industry name, not the actual measurement — the drive is much smaller than 2.5 inches across.

The M.2 drive is a bare circuit board about 22 mm wide, with lengths of 30, 42, 60, 80 or 110 mm. It plugs flat into a slot on the mainboard and is held down by a single screw at the far end. M.2 drives are the norm in laptops from roughly 2016 onward, and the 80 mm length (written M.2 2280) is by far the most common.

Those two families are not interchangeable in any way. A 2.5-inch SATA drive cannot plug into an M.2 slot, and an M.2 drive cannot connect to a SATA cable without an adapter. If you're unsure which your laptop uses, the service manual or a look inside the bottom panel settles it immediately.

M.2 drives share a width but not a length

The M.2 standard fixes the width at 22 mm but deliberately allows several lengths. The model number encodes both: 2280 means 22 mm wide by 80 mm long, 2242 means 22 mm wide by 42 mm long, and so on.

A 2242 drive will physically fit in a slot designed for 2280, but it may have nothing to screw into at its far end unless the laptop has a movable standoff. Going the other direction — putting an 80 mm drive into a 42 mm space — simply won't work.

Length is the mismatch people hit most often in compact laptops and handhelds, which sometimes use 2230 or 2242 drives to save space. Some machines have a slot that accepts multiple lengths with an adjustable mounting post; others are fixed at one length. The drive's label or listing states its length, and the laptop's service manual states what the slot accepts.

Thickness adds a second variable on single-sided versus double-sided M.2 drives. Most slots accommodate a single-sided drive (memory chips on one face only); some tight designs won't accept a double-sided one because the chips on the underside collide with the mainboard or the bottom cover. This is less commonly documented than length, so it's worth checking a teardown or the manual's maximum thickness if you're upgrading a very thin machine.

The M.2 connector key is a separate compatibility layer

Two M.2 drives of identical length can still be keyed differently at the connector edge. The notch position — called the key — determines which slot the card can enter. The common keys in laptops are B, M and B+M:

  • M-key slots and drives are used for PCIe/NVMe storage and are the standard for modern laptops.
  • B-key slots originally served SATA or PCIe x2 storage and other card types.
  • B+M-key drives have notches for both and fit either slot, but the drive still runs at whatever protocol the slot supports.

This is where a lot of upgrade confusion originates. An M-key NVMe drive will not enter a B-key slot, and a B+M drive in an M-key slot may fit but can be limited to older, slower signaling. Physical fit and electrical protocol are related but distinct: a drive can slot in perfectly and still not be recognized if the slot doesn't carry the right interface.

The interface question — SATA versus NVMe over PCIe — is worth separating from size. M.2 is a connector standard, and it can carry either protocol. Some older laptops have M.2 slots wired only for SATA, so an NVMe drive fits the slot but isn't detected. The manual will say whether a slot supports "SATA," "PCIe," "NVMe" or some combination, and that line is as important as the length.

Why "2.5-inch" drives still differ from each other

Among 2.5-inch SATA drives, length and width are essentially standardized, so they'll fit the same bay. Thickness is the variable: 7 mm and 9.5 mm are the two common heights, and some older laptops with a fixed caddy only accept one.

A 9.5 mm drive in a 7 mm-only bay won't seat and the cover won't close; a 7 mm drive in a 9.5 mm bay usually fits but may need a spacer or bracket to sit securely.

Capacity can also change the physical build. High-capacity 2.5-inch drives sometimes use a thicker housing or additional internal platters, which is another reason a drive that matches the nominal form factor can still be too tall. For most laptop upgrades the safe move is to match the thickness stated in the manual or measured on the drive you're removing.

Soldered storage changes the whole question

A growing share of thin-and-light laptops — and essentially all current mainstream ultraportables and many tablets — have their SSD soldered directly to the mainboard, often as embedded flash rather than a removable module. In those machines the answer to "can I swap the SSD" is simply no, regardless of size.

The storage is part of the system board, and the only upgrade path is external storage or buying a configuration with more capacity up front.

This is the single most important thing to check before buying any replacement drive. If the service manual's storage section describes "onboard" or "soldered" memory, or doesn't list a removable SSD, no M.2 or 2.5-inch drive will help. A quick search of the model's service manual, or a look for an M.2 slot and retaining screw under the bottom cover, tells you which situation you're in.

Comparing the common laptop SSD formats

The table below summarizes the dimensions and fit considerations that decide whether a drive will work in a given laptop. Measurements are nominal industry standards; confirm your specific model's requirements in its service manual.

Format Typical dimensions Common interface What decides fit
2.5-inch SATA ~100 × 70 mm, 7 or 9.5 mm thick SATA Bay height, caddy/bracket, SATA connector
M.2 2280 22 × 80 mm NVMe (PCIe) or SATA Slot length, key, single/double-sided clearance
M.2 2242 22 × 42 mm NVMe or SATA Fixed or adjustable standoff
M.2 2230 22 × 30 mm NVMe Short-slot machines, handhelds, some tablets
Soldered/embedded Varies, not removable Integrated Not upgradeable

The table shows why "same size" is the wrong frame. Two M.2 drives can both be 22 mm wide and still be incompatible on length, key and thickness. Two 2.5-inch drives can share length and width and still differ in height.

How to confirm what your laptop takes

The reliable method is to identify the exact model and open its service manual to the storage or removal-and-replacement section. That section typically states the form factor, the maximum supported length, the interface (SATA or PCIe/NVMe), and sometimes a maximum capacity or thickness. Manufacturer support sites publish these manuals by model number, which is usually printed on the bottom of the laptop.

If the manual is unavailable, the physical slot answers most of it. An M.2 slot is a thin horizontal connector with a notch and a screw post at a fixed distance; measuring from the connector to the screw post gives the supported length. The notch position tells you the key. A 2.5-inch bay is a rectangular recess with a SATA connector at one end and mounting points.

Two cautions apply to any upgrade. First, cloning or reinstalling the operating system is a separate task from physical fit, and some laptops require specific drive capacities or firmware support. Second, opening the case can affect warranty terms depending on the manufacturer and region, so check that before you start. None of this changes the size answer, but it changes whether the swap is worth doing.

Matching the drive to the task, not just the slot

Once you know the slot, the remaining choice is about workload. A SATA 2.5-inch or M.2 SATA drive is fine for general use and older machines; an NVMe PCIe drive is faster for large file transfers, video work and heavy multitasking, but only if the slot supports PCIe and the rest of the system can use the speed. Buying an NVMe drive for a SATA-only slot is the most common wasted purchase in laptop upgrades.

Capacity also has a practical limit beyond the slot: some laptops' firmware or the operating system's boot configuration can be fussy about very large drives, and the manual is the place to confirm any stated maximum. For most people, matching the existing drive's form factor, interface and approximate capacity is the low-risk path.

Frequently Asked Questions

Can I put a desktop SSD in a laptop?

A desktop 2.5-inch SATA SSD can go into a laptop with a 2.5-inch bay, since the form factor is the same; a desktop M.2 drive fits only if the laptop's M.2 slot matches its length and key. Desktop drives are often larger or include heatsinks that won't clear a laptop's bottom panel.

Is an M.2 2280 drive the same as an NVMe drive?

No. M.2 2280 describes the physical size and connector; NVMe describes the protocol a drive uses over PCIe. An M.2 2280 drive can be SATA or NVMe, and the slot decides which works.

Will a longer M.2 drive fit if the slot is shorter?

Generally no. A drive longer than the slot's mounting distance won't seat and secure properly. A shorter drive may fit a longer slot if the laptop has an adjustable standoff, but not the reverse.

Do all laptops let you replace the SSD?

No. Many thin laptops and tablets solder storage to the mainboard, leaving no removable drive. Check the service manual or look for an M.2 slot and screw before buying a replacement.

Does SSD thickness matter for laptops?

Yes, especially for 2.5-inch drives (7 mm versus 9.5 mm bays) and for double-sided M.2 drives in tight chassis. A drive that's too thick may prevent the bottom cover from closing or press against components.

The practical takeaway is to treat the physical format, length, key, thickness and interface as five separate checks, and to confirm them against your exact laptop model before buying. When those five line up, an SSD upgrade is usually straightforward; when any one is wrong, the drive simply won't work no matter how similar it looks on a product page.