Amazon holiday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Raspberry Pi Storage: How Much & What Fits

Wondering how much storage a Raspberry Pi actually has? The short answer is: it depends on the model and what you add. This list covers the built-in storage options across different Pi models, plus the external storage methods you can use to expand capacity. Whether you’re setting up a retro gaming console, a home server, or a simple desktop, this guide will help you understand your storage choices and pick the right one for your project.

Built-in eMMC Storage (Compute Module 4 & 5)

The Compute Module 4 (CM4) and Compute Module 5 (CM5) are the only Raspberry Pi models with built-in eMMC storage. You can buy them with 8GB, 16GB, or 32GB of eMMC, which is soldered onto the module. This storage is faster and more reliable than a microSD card, making it ideal for industrial or embedded projects where you need consistent performance. However, the eMMC is not user-replaceable, so choose the size carefully at purchase time.

MicroSD Card Slot (All Standard Models)

Every standard Raspberry Pi (Zero, 3B+, 4B, 5) has a microSD card slot, and that’s where the operating system and all your data live. The Pi doesn’t have any internal storage otherwise—the microSD is your primary storage. You can use cards from 4GB to 1TB or more, but the Pi’s bootloader and OS support cards up to 2TB in theory. For most users, a 32GB or 64GB card is a sweet spot: enough for the OS, software, and a bit of data, without wasting money. Always buy a reputable brand like SanDisk or Samsung, as cheap cards fail quickly and can corrupt your system.

USB Flash Drives (All Models with USB Ports)

If you need more space than a microSD card, plug in a USB flash drive. The Raspberry Pi 4 and 5 have USB 3.0 ports, which give you much faster read/write speeds than the microSD slot. You can use a USB drive for bulk storage—like media files, backups, or a download cache. For best performance, get a USB 3.0 drive with a solid-state controller. On the Pi 5, you can even boot from a USB drive, which is a great way to get faster boot times and more reliable storage than a microSD.

External SSDs via USB (Fastest External Option)

For the best performance, connect an external SSD via USB. The Pi 4 and 5 support USB 3.0, and an SSD can achieve speeds of 300-400 MB/s, which is several times faster than a microSD card. This makes a huge difference if you’re running a database, a web server, or a heavy application. You can use a 2.5-inch SATA SSD with a USB-to-SATA adapter, or a portable NVMe SSD. On the Pi 5, you can even use the PCIe port with an NVMe HAT for even faster speeds (up to 1 GB/s). Just note that SSDs draw more power, so you may need a powered USB hub or a good power supply.

Network Attached Storage (NAS) via Samba or NFS

If you have a home server or a NAS, you can mount network shares on your Raspberry Pi. This doesn’t add physical storage to the Pi itself, but it lets you access terabytes of data over your local network. For example, you can set up a Samba share on your main PC and mount it on the Pi to store media or backups. This is a great way to expand storage without spending money on new hardware. The Pi’s gigabit Ethernet (on 4B and 5) makes network storage fast enough for most uses, though it won’t match local USB speeds.

Cloud Storage (Google Drive, Nextcloud, etc.)

Another way to get more storage is to use cloud services. You can mount Google Drive, Dropbox, or Nextcloud on your Pi using tools like rclone. This gives you virtually unlimited space, but it depends on your internet speed and data caps. It’s perfect for off-site backups or accessing files from anywhere. However, for low-latency applications like databases, cloud storage is too slow. Use it for archival or sync purposes, not for active work.

USB Hard Drives (HDDs) for Bulk Storage

If you need lots of cheap storage, a USB hard drive (HDD) is the way to go. You can connect a 2.5-inch or 3.5-inch external HDD to the Pi’s USB port. A 3.5-inch drive will need its own power supply, but a 2.5-inch portable drive can be powered by the Pi’s USB port (though it’s safer to use a powered hub). HDDs are slower than SSDs, but they offer much more capacity per dollar. For a media server like Plex, a 4TB HDD is a common choice. Just remember that HDDs are mechanical, so they’re more fragile and slower than SSDs.

SD Card Expansion via USB Card Reader

You can also add more microSD cards using a USB card reader. This is a cheap way to get extra storage if you have spare cards lying around. You can mount the second card as external storage, or even use it for backups. However, it’s not as elegant as a single large drive, and you’ll have to manage multiple filesystems. This is a budget-friendly option for testing or temporary storage, but not ideal for a permanent setup.

PCIe NVMe HATs (Pi 5 Only)

The Raspberry Pi 5 introduced a PCIe connector that lets you attach an NVMe SSD via a HAT (Hardware Attached on Top). This is the fastest storage option for a Pi, with speeds up to 1 GB/s. You can buy a HAT like the official Raspberry Pi M.2 HAT+ or third-party ones, and install an M.2 2230 or 2242 NVMe SSD. This is perfect for running a high-performance server or a heavy desktop environment. It’s a bit more expensive, but the speed difference is dramatic.

RAM as Temporary Storage (tmpfs)

While not persistent, you can use a portion of the Pi’s RAM as a temporary filesystem (tmpfs). This is useful for storing temporary files, logs, or caches that you don’t need to keep after a reboot. For example, you can mount /tmp as tmpfs to reduce SD card wear. The amount of RAM varies by model: the Pi 4 and 5 come in 2GB, 4GB, 8GB, or 16GB variants. Using RAM for storage is extremely fast, but it’s volatile—data is lost when the power goes off. Use it only for scratch files.

How to Choose

When deciding on storage, think about what you’re doing. For a basic desktop or retro gaming, a 32GB microSD card is plenty. For a media server or file server, go with a USB HDD or SSD—start with 1TB and expand as needed. For a database or heavy web server, an SSD via USB or NVMe is worth the cost. Also consider reliability: microSD cards wear out faster than SSDs, especially with constant writes. If you’re running a 24/7 server, invest in an SSD. And always have a backup—use a second drive or cloud storage for important data.

Frequently Asked Questions

Q: How much storage does a Raspberry Pi 5 have?
A: The Pi 5 itself has no built-in storage—it relies on a microSD card or external drives. You can add an NVMe SSD via a HAT for fast storage.

Q: Can I use a 1TB microSD card in a Raspberry Pi?
A: Yes, the Pi supports microSD cards up to 2TB in theory, but you need to format it correctly (FAT32 for boot, ext4 for the root). Make sure to buy a high-quality card.

Q: Is it better to boot from USB or microSD?
A: USB is faster and more reliable, especially with an SSD. On Pi 4 and 5, you can boot from USB by changing the boot order. For Pi 3 and earlier, it’s possible but slower.

Q: How much storage do I need for RetroPie?
A: RetroPie with a few ROMs fits on 16GB, but for a large library, 64GB or more is recommended. ROMs for older systems are small, but PlayStation and PSP games can be hundreds of MB each.

Q: Can I expand storage after setup?
A: Yes, you can add USB drives or network shares at any time. Just mount them and they’ll appear as separate storage. You can also move your home directory to a larger drive.

Q: Does using a microSD card slow down the Pi?
A: Yes, microSD cards are slower than SSDs, especially for random reads/writes. This can affect boot time and application loading. For best performance, use an SSD.

Final Thoughts

There’s no single answer to how much storage a Raspberry Pi has—it’s as flexible as you need it to be. Start with a reliable microSD card for the OS, then add USB drives or SSDs as your project grows. Remember that storage speed matters just as much as capacity, especially for servers or heavy workloads. With the right combination, your Pi can handle everything from a tiny desktop to a full home server.

Raspberry Pi Storage: How Much & What Fits
Scroll to top