hardware

NVMe M.2

A solid state storage format that connects via PCIe, offering fast speeds and long operational life when used with a compatible Raspberry Pi case or HAT.

NVMe M.2 is a solid state storage format that connects via the PCIe interface. On a Raspberry Pi 5, NVMe drives attach through a compatible M.2 case or HAT that uses the Pi's onboard PCIe FPC connector.

Why it matters for home lab use

MicroSD cards work but have limited write endurance. A home lab server writing logs, database records, and application data continuously can exhaust a standard card within months. NVMe drives handle sustained write workloads substantially better, with operational lifespans measured in years under typical home lab conditions.

Read and write speeds are also significantly higher than microSD, which matters when running containers, serving files, or recording video locally.

Form factors and compatibility

M.2 NVMe drives come in several sizes. The 2230 (22mm × 30mm) and 2242 (22mm × 42mm) form factors are most common for Raspberry Pi use due to the space constraints of compact cases. The Argon NEO 5 NVMe case, for example, accepts both.

The PCIe constraint

The Raspberry Pi 5 has a single PCIe 2.0 interface. An M.2 NVMe case or HAT uses this interface, which means it cannot be used simultaneously with other PCIe HATs such as the Raspberry Pi AI HAT+ 2. Plan your hardware combination before purchasing.

Drives are available from multiple manufacturers including Samsung, Western Digital, and Kingston. At the time of writing, check current availability and pricing at your preferred retailer.