DEV Community

Cover image for How to Boot Your Raspberry Pi from USB (and Ditch Unreliable SD Cards)
David Thomas
David Thomas

Posted on

How to Boot Your Raspberry Pi from USB (and Ditch Unreliable SD Cards)

If you have run a Raspberry Pi for a while, you have probably faced the dreaded SD card failure. Maybe it corrupted after a power outage, or just wore out from too many log writes. While SD cards are fine for getting started, they are not the best for reliability or speed.

That’s why I switched to booting Raspberry Pi from USB. And with newer models, it’s not only possible but its easy. Let’s see why USB boot makes sense and how to set it up across Pi models.


Quick Overview

  • Duration: 1–2 hours
  • Difficulty: Beginner–Intermediate
  • Use Cases: Server deployments, continuous monitoring, performance-critical apps

Why Boot Raspberry Pi from USB Instead of SD Card?

By default, Raspberry Pi boots from a microSD card. It works, but SD cards have two big issues:

  1. They wear out. Lots of reads/writes kill them over time.
  2. They’re slow. Even the Pi 4’s SD interface tops at ~50 MB/s.

Now compare that with a USB 3.0 SSD, which I tested at 208 MB/s read and 140 MB/s write. That’s 5x faster. Booting, installing packages, and even browsing the OS desktop feels much better.

Advantages of USB Boot:

  • 5–10x faster performance than SD cards
  • More reliable, fewer storage failures
  • Better for 24/7 servers and long-term projects

How to Boot Raspberry Pi from USB

The steps differ by model. Here’s what worked for me:


  • Pi 3B - With one-time config - Needs an OTP flag set via SD card
  • Pi 3B+ - Out of the box - USB boot enabled by default
  • Pi 4 - Native with EEPROM - Supports USB 3.0 boot
  • Pi 5 - Full support - Supports USB, PCIe NVMe boot

For more step by step tutorial How to Boot Your Raspberry Pi from USB

Top comments (0)