Raspberry Pi

Raspberry Pi 5 M.2 HAT+

$19.99

Shipping calculated at checkout.

Quantity

The Raspberry Pi M.2 HAT+ M Key is an official expansion board designed to connect compatible M.2 PCIe devices to the Raspberry Pi 5.

Raspberry Pi 5 exposes its PCI Express interface through a compact 16-pin, 0.5mm-pitch FPC connector. The M.2 HAT+ converts this interface into a standard M.2 M-Key connector, allowing compatible M.2 devices such as NVMe SSDs and supported accelerator modules to be connected directly to the Raspberry Pi 5.

The board supports M.2 2230 and 2242 form factors and can supply up to 3A to the connected M.2 device.

Key Features

  • Official Raspberry Pi accessory
  • Designed specifically for Raspberry Pi 5
  • Adds an M.2 M-Key interface
  • Supports PCIe devices
  • Supports M.2 2230 devices
  • Supports M.2 2242 devices
  • PCIe 2.0 ×1 interface
  • Up to 500MB/s theoretical peak transfer rate
  • Supplies up to 3A to connected M.2 peripherals
  • Conforms to the Raspberry Pi HAT+ specification
  • Automatically detected by current Raspberry Pi software/firmware
  • Compatible with the Raspberry Pi Active Cooler
  • Includes PCIe FPC ribbon cable
  • Includes 16mm GPIO stacking header
  • Complete mounting hardware included

Add NVMe Storage to Raspberry Pi 5

One of the primary applications of the M.2 HAT+ is adding a compatible NVMe SSD to Raspberry Pi 5.

Compared with traditional microSD storage, an NVMe SSD can provide significantly higher storage performance, making it particularly useful for:

  • Raspberry Pi OS installations
  • Desktop computing
  • Applications and databases
  • Home servers
  • Development environments
  • Data logging
  • Edge computing
  • AI projects
  • Network services

PCIe Interface

The Raspberry Pi 5 provides a single-lane PCI Express interface through its dedicated FPC connector.

The M.2 HAT+ converts this connection to an M.2 M-Key interface.

Interface specifications:

  • PCIe Version: PCIe 2.0
  • PCIe Lanes: ×1
  • Theoretical Peak Transfer Rate: Up to 500MB/s
  • Raspberry Pi Connection: 16-pin, 0.5mm-pitch FPC
  • M.2 Interface: M-Key

Actual storage performance depends on the connected M.2 device, operating system, configuration, and workload.

Supported M.2 Sizes

The M.2 HAT+ supports:

  • M.2 2230
  • M.2 2242

The board includes the mounting hardware required to secure compatible devices.

Technical Specifications

  • Product: Raspberry Pi M.2 HAT+
  • Host Compatibility: Raspberry Pi 5
  • Expansion Interface: M.2 M-Key
  • Host Interface: PCIe
  • PCIe Version: PCIe 2.0
  • PCIe Configuration: Single lane (×1)
  • Peak Transfer Rate: Up to 500MB/s theoretical
  • Supported M.2 Size: 2230 / 2242
  • Maximum M.2 Device Supply: Up to 3A
  • Raspberry Pi Connection: 16-pin, 0.5mm-pitch FPC
  • HAT Standard: Raspberry Pi HAT+
  • GPIO Header: 16mm stacking header included
  • Active Cooler Compatibility: Yes

Raspberry Pi Active Cooler Compatibility

The M.2 HAT+ is supplied with a 16mm stacking GPIO header and threaded spacers, allowing it to be installed on a Raspberry Pi 5 while the Raspberry Pi Active Cooler is fitted.

This makes it possible to combine high-speed M.2 expansion with active CPU cooling for demanding Raspberry Pi applications.

Automatic Detection

The M.2 HAT+ conforms to the Raspberry Pi HAT+ specification and is designed to be automatically detected by current Raspberry Pi software and firmware.

For best compatibility, keep Raspberry Pi OS, firmware, and bootloader updated before installing the board.

Basic Installation

  1. Update Raspberry Pi OS and Raspberry Pi firmware.
  2. Shut down the Raspberry Pi 5.
  3. Disconnect the power supply completely.
  4. Install the Raspberry Pi Active Cooler first, if one will be used.
  5. Install the supplied spacers and 16mm GPIO stacking header.
  6. Connect the supplied FPC ribbon cable to the Raspberry Pi 5 PCIe connector.
  7. Secure the M.2 HAT+ to the mounting spacers.
  8. Connect the other end of the FPC cable to the M.2 HAT+.
  9. Insert the compatible M.2 device into the M-Key connector at a slight angle.
  10. Secure the M.2 device using the supplied attachment screw.
  11. Reconnect power and start Raspberry Pi OS.

A compatible NVMe SSD should normally appear as an NVMe storage device in the operating system.

Package Includes

  • 1 × Raspberry Pi M.2 HAT+
  • 1 × PCIe FPC Ribbon Cable
  • 1 × 16mm GPIO Stacking Header
  • 4 × Threaded Spacers
  • 8 × Mounting Screws
  • 1 × Knurled Double-Flanged M.2 Attachment Screw

Typical Applications

  • NVMe storage for Raspberry Pi 5
  • Raspberry Pi desktop systems
  • High-speed data logging
  • Home servers
  • Network applications
  • Development environments
  • Edge computing
  • AI projects
  • Robotics
  • Industrial Raspberry Pi systems
  • Embedded computing
  • Database applications

Important Compatibility Note

The M.2 HAT+ uses an M-Key PCIe interface. The connected M.2 device must be electrically and mechanically compatible with the HAT+.

This board supports 2230 and 2242 form factors. Longer 2260 and 2280 devices are not supported by this version.

Safety Warning

Always completely disconnect the Raspberry Pi 5 from power before installing, removing, connecting, or disconnecting an M.2 device or the M.2 HAT+.

Do not insert or remove an M.2 device while the Raspberry Pi is powered.