How to Install (or Reinstall) Raspberry Pi OS on Your Pi (2024)

If you’re new to the Raspberry Pi world, installing (or reinstalling) the operating system can be a daunting challenge. Hopefully, the Raspberry Pi Foundation does its best to make it as easy as possible for you. This article will show you the easiest and safest method to do it on your own.

Raspberry Pi OS can be installed on a new SD card from any computer, by using an application named “Raspberry Pi Imager”, created by the Raspberry Pi manufacturer. It includes all versions of Raspberry Pi OS, to flash it to the SD card in a few clicks.

See this tutorial as your “quick start manual” to install Raspberry Pi OS for the first time. I will get straight to the point with a straightforward procedure. The whole RaspberryTips website will then be available for all your other questions and concerns.

If you need help getting started on Raspberry Pi, I have an entire course to guide you through your first steps. I’ll help you use the perfect hardware, plug everything in and install your first system. You’ll also do your first projects with me, just to make sure you are ready for the next level. Get all the information on this page if you are interested.

Prerequisites to install Raspberry Pi OS

Before jumping into the installation steps, let’s make sure you have everything ready, in terms of hardware and software.

Required hardware

The hardware required to install Raspberry Pi OS is pretty minimal. Here is what you need:

  • A Raspberry Pi board: Raspberry Pi OS works on any model, you’ll just need to be cautious while picking a version that is compatible with yours. If you want to use the desktop interface, a Raspberry Pi 3B+, 4 or 400 is recommended.
    Currently, it can be challenging to find one at a decent price. I share my tips with you in this other article if you need to buy one.
  • A micro-SD card: The micro-SD card is the main storage of the Raspberry Pi, it’s like the hard drive on a traditional computer. You can find my benchmark of the fastest SD cards for your Pi here.

    If you already have a system installed on your Pi, you can use another SD card, so you don’t lose any data on it, and you can always plug it back if you need to get back to your current installation later. Nothing is stored on the main board directly, so when you switch SD cards, you switch everything.

    Side note: On recent models, it’s possible to use a USB drive instead. I’ll only mention SD cards in this article to keep things simple, but you can replace SD cards with USB drives everywhere if you want to use a USB drive instead.

  • A good power supply: A Raspberry Pi will start as soon as it’s plugged into a USB cable, but it might not get the best performance using a random USB cable or phone charger. If you can afford it, try to use the official power supply (this is for the Pi 4, make sure to pick one compatible with your model). You can read this other article about power supply for more details.
  • (Recommended) A monitor and display cable: It’s not mandatory, but I highly recommend plugging your Pi into a monitor (or even your TV), at least while doing the installation. You probably need a cable, with standard HDMI on one side (for the monitor), and a compatible display port on the Pi side (depending on the model you use).

    Avoid adapters if possible. They cause more issues than they solve. A decent micro-HDMI to HDMI cable is not expensive and always works best for me than an adapter + a standard HDMI/HDMI cable.

  • (Recommended) A keyboard and mouse: Same thing, for beginners, I highly recommend plugging a keyboard and mouse for the installation (at least). I tested a few Raspberry Pi keyboards here if you need one, but I’m sure you already have a PC keyboard somewhere.

And that’s it! So basically, a Raspberry Pi, a micro-SD card and a power supply, and you’re ready to go. A keyboard, mouse and monitor are recommended, but you can start the installation without them if you have another computer.

Install Raspberry Pi Imager

The only tool you need on your computer to install Raspberry Pi OS on your SD card is Raspberry Pi Imager. It has been developed by the Raspberry Pi Foundation to make this process easier. No manual downloads or random apps are required anymore.

Download the Pi Glossary!
If you are lost in all these new words and abbreviations, request my free Raspberry Pi glossary here (PDF format)!
Download now

Here is how to get it on your computer:

  • Go to the official Raspberry Pi website.
  • Visit the “Software” page.
  • Download Raspberry Pi Imager for your system:
    How to Install (or Reinstall) Raspberry Pi OS on Your Pi (1)
    It’s available for Windows, macOS and Ubuntu. It’s even possible to install it on an existing Raspberry Pi OS system if you already have one. It’s even included in some RPI OS editions, so you may already have it.
  • Once downloaded, follow the installation steps you’d use for any application on your computer.
    On Windows, it’s a double click on the file, and the next, next, next.

Hardware ready, software installed, you’re ready to move to the installation procedure.

Flashing Raspberry Pi OS to an SD card

Insert the SD card into your computer

Most of you will use your computer to copy the system files onto your SD card. To do this, you need an SD card slot, or a USB to micro-SD adapter if you don’t have a slot available on your computer (or want to use your Pi directly).

Find the port on your computer, it looks like:

Join Our Community!

Connect, learn, and grow with other Raspberry Pi enthusiasts. Support RaspberryTips and enjoy an ad-free reading experience. Get exclusive monthly video tutorials and many other benefits.

Learn more

How to Install (or Reinstall) Raspberry Pi OS on Your Pi (3)

Put the micro-SD card into an SD card adapter (generally included when you buy the micro-SD card) and insert it into the reader. Your computer will detect it, you can ignore any message popping up, just close everything, no formatting required.

Use Raspberry Pi Imager

Here are the three steps to install your system with Raspberry Pi Imager:

  • Step 1: Choose OS
    If you click on the first button (“Choose OS”), you’ll get a list of all supported operating systems.
    How to Install (or Reinstall) Raspberry Pi OS on Your Pi (4)
    If it’s your first time here, I recommend starting with the default option pushed by the Raspberry Pi Foundation: “Raspberry Pi OS (32-bit)”. It comes with a graphic interface and is compatible with all Raspberry Pi models.
    If you’re more familiar with this, you can browse the list, and maybe pick a different flavor, but the easiest option is to pick the first one (the recommended one).
  • Step 2: Choose Storage
    Once done, you can now select the SD card.
    How to Install (or Reinstall) Raspberry Pi OS on Your Pi (5)
  • Step 3: Write the OS on Storage
    Finally, click the third button (“Write”) to start copying the files to the SD card.

The writing process will take a few minutes, so don’t touch anything during that time. The SD card will be automatically dismounted at the end, so you have nothing else to do for now.

Optional: Advanced options

In the bottom-right corner of Raspberry Pi Imager, you may have noticed a wheel icon. It’s there to configure advanced options for your installation. Settings that will be applied directly on the first boot: custom user and password, network configuration, etc.

How to Install (or Reinstall) Raspberry Pi OS on Your Pi (6)

If you’re new to this, I would recommend just skipping it. The only reason you may want to use it as a beginner is if you don’t have a monitor and keyboard, and only have access to a Wi-Fi network.

If this is your case, here are two articles where I get into more detail about it:

Download the Pi Glossary!
If you are lost in all these new words and abbreviations, request my free Raspberry Pi glossary here (PDF format)!
Download now

  • Getting Started with Raspberry Pi Imager: The Ultimate Guide
  • Install your Raspberry Pi without a Keyboard and Monitor

But for most of you, just keep the default setup, you’ll be guided on the first boot to do the same configuration.

Download Your Essential Linux Commands Guide!
It's a free PDF guide containing every Raspberry Pi Linux command you should know!
Download now

First boot with Raspberry Pi OS

Once the SD card is ready, it’s now time to plug everything into the Raspberry Pi and get started with your new system.

Hardware connections

Please plug everything into your Raspberry Pi in the correct order before the first boot:

  • Get the SD card out of your computer and insert it into the SD card slot on the Pi.
  • Plug all the accessories (monitor, keyboard, network, etc.)
  • Finally, plug in the power supply. The Pi will start directly.

Here are the details for these steps if you need more guidance.

Insert the SD card

All Raspberry Pi models have a microSD card slot on their back. Here is a picture of mine:

How to Install (or Reinstall) Raspberry Pi OS on Your Pi (7)

The micro-SD card only fits in one way, so you can’t be wrong here. Press it gently until it clicks, and this should be fine.

Plug the peripherals

You can then plug the other cables into your Raspberry Pi (but not the power supply yet).

  • Display cable to your monitor: As mentioned earlier, it’s different for each model. So, it might be a standard HDMI port, a mini-HDMI or even a micro-HDMI port depending on which model you use. Plug the cable into the Raspberry Pi and then into your screen (monitor or TV).
  • Network cable (if possible): If you can plug your Raspberry Pi into a network cable (RJ45), it’ll be easier for the initial setup, even if you switch to Wi-Fi later on. On a typical home network, wired connections are configured automatically thanks to your Internet router.
  • Mouse and keyboard: Plug them into the USB ports. If you have blue and black ports, I prefer using the black ones for this. The blue ports are faster, and so are better suited for USB storage or things that will benefit from a faster connection.

Power the Raspberry Pi

Finally, plug the power supply into the power port on the Pi. Unless you have a specific case (like the Argon One) or an official supply with a power switch, there is no button on the Raspberry Pi (unlike computers). So, as soon as you plug in the power supply, the Pi will start. That’s why it’s better to plug it last.

Anyway, the power input is on the side of the board. It’s also different depending on your Raspberry Pi model: USB-C for Raspberry Pi 4/400, Micro-USB for Raspberry Pi 3, etc. So, I hope you have a compatible power supply.

Turning on the Raspberry Pi and first boot

When you plug the power supply, the Raspberry Pi will turn on, and display many things on your screen. Don’t worry about any of them for now.

After a few minutes, and maybe some additional restarts, you should get to a welcome wizard, that will ask a few questions to complete the system configuration.

For example, you can configure your country and keyboard layout, create the main user account and connect to your wireless network if needed. The interface to do this is simple, it looks like:

How to Install (or Reinstall) Raspberry Pi OS on Your Pi (8)

Once done, you’ll finally get the full desktop experience of Raspberry Pi, with the default interface that looks like:

How to Install (or Reinstall) Raspberry Pi OS on Your Pi (9)

From there, you can already use your system. You should be connected to your network (and probably to the Internet), and have access to a minimal list of preinstalled applications to get started (web browser, code editor, etc.).

If needed, you can go to “Preferences” > “Raspberry Pi OS Configuration” to adjust the system settings. In this submenu, you’ll also find other tools to help you (like tweaking the display resolution if needed).

Download Your Essential Linux Commands Guide!
It's a free PDF guide containing every Raspberry Pi Linux command you should know!
Download now

🛠 This tutorial doesn't work anymore? Report the issue here, so that I can update it!


Reminder: Remember that all the members of my community get access to this website without ads, exclusive courses and much more. You can become part of this community for as little as $5 per month & get all the benefits immediately.

You may also like:

  • Easiest ways to find your Raspberry Pi IP address
  • Watch the Raspberry Pi Bootcamp (video course)
  • 17 best apps to get started with Raspberry Pi OS
  • Best tips to buy a Raspberry Pi (and mistakes to avoid)

Going further with Raspberry Pi OS

Once Raspberry Pi OS is installed, you are ready to benefit from all the tutorials I have on this website to learn new things and move forward with your projects. I didn’t include everything in this article, but here is a selection of articles you may be interested in.

System configuration

  • How to Change your Keyboard Layout on Raspberry Pi? (RPI OS)
  • How to set up Wi-Fi on Raspberry Pi? (6 ways on RPI OS)
  • 3 Easy Ways To Set A Static IP Address On Raspberry Pi
  • How To Change The Screen Resolution On Raspberry Pi
  • How to Change Password on Raspberry Pi OS (Complete Guide)

Beginner’s guides for Raspberry Pi OS

  • How to install more applications on Raspberry Pi OS
  • 17 Best Apps to Use a Raspberry Pi as a Desktop PC
  • How to Change The Desktop Appearance on Raspberry Pi?
  • Raspberry Pi OS Versions: All Your Questions Answered

Desktop

  • 5 Best Web Browsers to Use on Raspberry Pi (I Tested Them)
  • Can a Raspberry Pi 4 really Replace your Desktop PC? (I Tried)

Programming

  • The 7 Best Text Editors for Programming on Raspberry Pi
  • Why Is Python Used On Raspberry Pi? (3 huge reasons)
  • The 11 Best Raspberry Pi Robot Kits for Beginners in 2023

Projects ideas

  • 15 Easy Projects for Raspberry Pi Beginners (With Links)
  • How To Watch Netflix On Raspberry Pi OS (No app required)
  • 10 Cool Games to Play on Raspberry Pi OS (Without Emulator)
  • 15 Raspberry Pi Network Projects for Home and Office Use

And at any time, if you need something specific, the search engine is always there for you. We also have a community for Raspberry Pi fans, that can help you to get personalized assistance, inspiration, and many other benefits: you can find more details here.

Whenever you’re ready, here are other ways I can help you:

The RaspberryTips Community: If you want to hang out with me and other Raspberry Pi fans, you can join the community. I share exclusive tutorials and behind-the-scenes content there. Premium members can also visit the website without ads.

Master your Raspberry Pi in 30 days: If you are looking for the best tips to become an expert on Raspberry Pi, this book is for you. Learn useful Linux skills and practice multiple projects with step-by-step guides.

The Raspberry Pi Bootcamp: Understand everything about the Raspberry Pi, stop searching for help all the time, and finally enjoy completing your projects.
Master Python on Raspberry Pi: Create, understand, and improve any Python script for your Raspberry Pi. Learn the essentials step-by-step without losing time understanding useless concepts.

You can also find all my recommendations for tools and hardware on this page.

How to Install (or Reinstall) Raspberry Pi OS on Your Pi (2024)

FAQs

How to install Raspberry Pi OS on Pi? ›

HOW TO INSTALL RASPBIAN OS IN YOUR RASPBERRY PI
  1. Step 1: Download the Required Software and Files. ...
  2. Step 2: Get the SD Card and the Card Reader. ...
  3. Step 3: Check the Drive in Which the SD Card Is Mounted. ...
  4. Step 4: Format the SD Card. ...
  5. Step 5: Write the OS on the SD Card. ...
  6. Step 6: Eject the SD Card. ...
  7. 3 People Made This Project!

How to reinstall OS on rpi? ›

This card will be erased so make sure to backup any files before using it.
  1. Open Raspberry Pi Imager and click on CHOOSE OS. ...
  2. Scroll down and select Misc utility images. ...
  3. Select Beta Test Bootloader. ...
  4. Select Network Boot. ...
  5. Click CHOOSE STORAGE. ...
  6. Select your microSD card. ...
  7. Write the image to the microSD card.
Sep 16, 2022

How to manually install Raspberry Pi OS onto SD card? ›

  1. Step 1: Download and Install Raspberry Pi Imager. ...
  2. Step 2: Run Raspberry Pi Imager and Format the SD Card. ...
  3. Step 3: Burn the Raspberry Pi OS Image to the SD Card. ...
  4. Step 4: Watch the Video Version of This Tutorial and Consider Supporting the Makers Workbench. ...
  5. 5 Comments.

How to reset Raspberry Pi Raspbian? ›

In the normal process to reset or restore the Raspberry Pi OS (Raspbian), you need to unplug the SD Card, format the card, re-write the OS image and plug it back again.

What OS should I install on my Raspberry Pi? ›

Raspberry Pi OS (previously called Raspbian) is our official supported operating system.

How do I get the operating system for my Raspberry Pi? ›

Downloading and Installing Raspberry Pi OS
  1. Insert a microSD card / reader into your computer.
  2. Download and install the official Raspberry Pi Imager. ...
  3. Click Choose OS.
  4. Select Raspberry Pi OS (32-bit) from the OS menu (there are other choices, but for most uses, 32-bit is the best).
Sep 21, 2022

How to install custom OS on Raspberry Pi? ›

Let's go.
  1. Run Raspberry Pi Imager and select an OS. ...
  2. Write to the microSD card. ...
  3. Move the microSD card to the Raspberry Pi and boot up. ...
  4. Run Raspberry Pi Imager and select an OS. ...
  5. Write to the microSD card. ...
  6. Move the microSD card to the Raspberry Pi and boot up. ...
  7. Download Parrot OS. ...
  8. Run Raspberry Pi Imager and select the OS.
Dec 6, 2023

How to install Linux OS in Raspberry Pi? ›

Make Ready the Raspberry Pi Imager:
  1. Download the Raspberry Pi Imager as per the current OS from the Official Site.
  2. Choose the Linux Distribution from the Operating System Section.
  3. Choose the SD Card inserted on the device.
  4. Click Next to move into the process.
Feb 15, 2024

How do I upgrade my Raspberry Pi to a new OS? ›

How to upgrade Raspberry Pi OS?
  1. Open Terminal.
  2. Execute the command sudo rpi-update.
  3. Run the command sudo nano /etc/apt/sources.list.
  4. Execute the command sudo apt dist-upgrade.
Apr 8, 2024

How to install Raspberry Pi OS from USB drive? ›

Boot from the USB drive
  1. Insert the USB drive installer into the computer.
  2. Turn on the computer.
  3. As the computer is starting up, press the boot menu key. You may need to press it multiple times in order for the menu to appear.

How do I make a bootable Raspberry Pi SD card? ›

How to Set Up a Micro SD Card for the Raspberry Pi
  1. Step 1: Purchase a Good Quality Micro SD Card. ...
  2. Step 2: Download the Operating System-Raspbian. ...
  3. Step 3: Formatting the Micro SD Card. ...
  4. Step 4: Transferring Raspbian to the Card. ...
  5. Step 5: Eject Your Micro SD Card.

How to boot into recovery mode on Raspberry Pi? ›

Did you notice the screen with the Raspberry Pi logo that said "For recovery mode, hold Shift", with an icon of the shift key? If you hold down the shift key at this point, rather than booting Raspbian, NOOBS will go into recovery mode.

Is there a reset button on Raspberry Pi? ›

As mentioned in the question edit the rev 2.0 boards now have a specific reset header labelled P6 which is positioned in between the HDMI connector and micro-USB port. The header consists of just two holes (into which one could solder a header/pins). To reset the PI you just momentarily connect the two pins.

What is the command to reboot a Raspberry Pi? ›

Once you're on type this command sudo shutdown -r now. You'll see the light on the Pi starts to flicker as it reboots, but this time instead of turning it off it will restart again and again.

Is Raspbian the same as Raspberry Pi OS? ›

Raspberry Pi OS was first developed by Mike Thompson and Peter Green as Raspbian, an independent and unofficial port of Debian to the Raspberry Pi. The first build was released on July 15, 2012.

How to install OS from USB Raspberry Pi? ›

Install Raspberry Pi Desktop on your PC or Mac
  1. Download Raspberry Pi Desktop.
  2. Create a USB drive installer.
  3. Boot from the USB drive.
  4. Install Raspberry Pi Desktop.
  5. Start up Raspbery Pi Desktop.
  6. What next?

References

Top Articles
Latest Posts
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 6493

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.