Skip to main content

Set up a Raspberry Pi for the first time with Raspberry Pi Imager

Use Raspberry Pi Imager on another computer to put Raspberry Pi OS on a microSD card. Fill in its settings before it writes, then plug in the power last.

KBY Makers and home lab 8 min read Checked 23 November 2026
Close-up of a Raspberry Pi 4 board with small heatsinks fitted, showing its two micro HDMI ports and USB-C power port
Photo: Mathias Wouters on Pexels

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

Put Raspberry Pi OS on a microSD card with Raspberry Pi Imager, running on another computer. Fill in Imager's settings for your username, password and Wi-Fi before it writes the card. Then put the card in the Pi, connect everything else and plug in the power last.

That order comes from Raspberry Pi's own getting started documentation. Every step, setting and figure below is from Raspberry Pi's documentation, read on 23 November 2026.

What to have on the desk first

Raspberry Pi lists what you need, prepared in this order:

  1. Boot media with an operating system on it. For most people this is a microSD card.
  2. For a desktop setup, a keyboard, a mouse and a display. For a headless setup, another computer and a network connection.
  3. A power supply.

A headless Pi has no screen, keyboard or mouse. You control it from another computer over your home network.

You also need a computer to run Imager and a way to plug the card into it, such as a card reader. A case is optional. Raspberry Pi says it protects the board from damage, including short circuits if it sits on a metal surface.

The card

For Raspberry Pi OS with a desktop, Raspberry Pi recommends a microSD card of at least 32 GB. For Raspberry Pi OS Lite, the version with no desktop, it recommends at least 8 GB. It suggests choosing more than that, to leave room to grow.

Faster cards make the Pi run more smoothly. Cards of 2 TB or more are not supported.

The Raspberry Pi 500 and some desktop kits come with a card that already has Raspberry Pi OS on it. The Raspberry Pi 500+ also has an SSD with it already installed. If yours did, you can skip Imager, but Raspberry Pi recommends updating the software first.

The screen cable

The Raspberry Pi 4 Model B, 400, 5, 500 and 500+ have micro HDMI ports. For a normal monitor or TV, you need a micro-HDMI-to-HDMI cable. Zero and Zero 2 models need a mini-HDMI-to-HDMI cable instead.

No Raspberry Pi model sends video through a USB-C port. If your Pi has two HDMI ports, plug your main screen into the one marked HDMI0.

The power supply

Each model needs a different amount of power. Raspberry Pi recommends its own official supply for each model, and gives these figures:

Swipe the table sideways to see every column →

ModelRecommended supplyOfficial Raspberry Pi supply
Raspberry Pi 500+5 V at 5 A27 W USB-C
Raspberry Pi 5 and 5005 V at 5 A27 W USB-C
Raspberry Pi 4 Model B and 4005 V at 3 A15 W USB-C
Raspberry Pi 3, 2, 1 and all Zero models5 V at 2.5 A12.5 W Micro USB

On a Raspberry Pi 5 or 500, a 5 V supply at 3 A works, but it limits the power for plugged-in accessories to 600 mA. Raspberry Pi says the figures are measured at the plug, not at the supply, so allow for some voltage loss in the cable.

Write Raspberry Pi OS to the card with Imager

Raspberry Pi Imager runs on Windows, Mac and . It downloads the operating system and writes it to the card. The steps below follow Raspberry Pi's Install an OS onto boot media page.

  1. Download Imager from the Raspberry Pi website and run the installer. On a computer already running Raspberry Pi OS, run sudo apt install rpi-imager instead.
  2. Open Imager. In the Device tab, choose your Raspberry Pi model, then select Next.
  3. In the OS tab, choose an operating system and select Next. The recommended one for your model is at the top of the list.
  4. Plug the microSD card into your computer.
  5. In the Storage tab, choose the card and select Next.

Take care at step 5, because writing erases everything on the drive you choose. Raspberry Pi suggests picking the card by its size. If you are unsure, unplug other drives until you are certain.

Leave Exclude system drives turned on. Raspberry Pi strongly recommends it, because it stops you erasing your computer's own drive by mistake.

Desktop or Lite

Raspberry Pi OS comes in three editions. Raspberry Pi OS is the recommended one, with a desktop and basic software. Raspberry Pi OS Full adds more apps, such as the LibreOffice suite.

Raspberry Pi OS Lite has no desktop, only a command line. Raspberry Pi recommends it for a headless Pi.

Hands sliding a memory card into a small USB card reader at a desk, with a laptop open behind
Photo: Julio Lopez on Pexels

Fill in the settings before it writes

If the system you chose supports it, Imager opens a Customisation tab next. Raspberry Pi strongly recommends filling it in now. If you choose Skip customisation, the Pi asks the same questions after it first starts.

Work through each subtab and select Next after each one:

  1. Hostname. The Pi's name on your network, using only letters, numbers and hyphens. Other devices can then reach it as the name followed by .local or .lan.
  2. Localisation. Choose your capital city, London for the UK. Imager fills in the time zone and keyboard layout. It also sets the Wi-Fi regulatory domain, the country's rules for Wi-Fi radio.
  3. User. A username and password for the Pi's admin account. The username must be lowercase, using only letters, numbers, underscores and hyphens.
  4. Wi-Fi. Imager usually fills in the network your computer is on. Check the network name (SSID) and enter its password. Turn on Hidden SSID if your network does not broadcast its name.
  5. Remote Access. Turn on Enable if you want to control the Pi from another computer. Choose password authentication, or public key authentication if you already use SSH keys.
  6. Raspberry Pi Connect. This appears for some systems. It links the Pi to your Raspberry Pi ID account as another way to reach it remotely.

Choose a strong password that you will remember. You need it to run admin commands with sudo. Raspberry Pi's documentation points to the UK National Cyber Security Centre's advice on using three random words.

By default, the desktop version signs in by itself when it starts. If other people can get to your Pi, Raspberry Pi says to turn automatic login off.

For a headless Pi, set up Wi-Fi and SSH or Connect now. On its first start, SSH and Raspberry Pi Connect are the only ways in. The Pi also needs to know how to get online the moment it boots.

Write and check the card

  1. To change how Imager itself behaves, select App Options in the bottom-left corner. One toggle there turns its anonymous usage statistics on or off. Select Save when you are done.
  2. Check the Summary in the Writing tab, then select Write.
  3. Imager warns that everything on the card will be erased. Select I understand, erase and write, and allow any admin prompt on your computer.
  4. Wait while Imager writes the card and then verifies it. Each part can take a few minutes, and Raspberry Pi recommends letting the check finish.
  5. Select Finish on the Done tab.

The first time it switches on

Push the microSD card into the slot on the underside of the Pi, with the label facing away from the board. On a Raspberry Pi 3 or later, it slides in and stops without a click.

For a desktop setup, connect the keyboard, mouse and screen. To keep the blue USB 3.0 ports free for faster devices, use the black USB 2.0 ports for the keyboard and mouse. If you are using a wired network, plug in the Ethernet cable now.

Connect the power last. Plug the supply into the port marked POWER IN, PWR IN or PWR, then plug it into a wall socket and switch on. Raspberry Pi says it turns on as soon as it is connected to power.

A status light comes on, then a screen with the Raspberry Pi logo. The first start can take a few minutes.

The setup wizard

If you skipped Imager's settings, or your Pi came with the system already on it, a setup wizard opens on the screen. It asks for your country, language and time zone, a username and password, a Wi-Fi network and a default browser. The browser choice is Chromium or Firefox.

You need a keyboard for the wizard. A mouse is optional, because the Tab key moves you through it.

If the Pi is online, the wizard then offers a software update. Raspberry Pi says this can take up to half an hour. When it finishes, select OK, then Launch or Restart.

With no screen

A headless Pi skips the wizard and joins the network with the settings from Imager. If you turned on SSH, open a terminal on your other computer and type ssh username@hostname.local, using the username and hostname you chose.

With password authentication, you then sign in with the password you set in Imager.

An early Raspberry Pi board in a clear plastic case, with a small USB Wi-Fi adapter plugged into one of its USB ports
Photo: Pixabay on Pexels

Keep the software up to date

Raspberry Pi recommends updating regularly with APT, the tool Raspberry Pi OS uses to install and update software. Updates bring security and bug fixes, and they update the Linux kernel and firmware too. Open Terminal and run these two commands in order:

  1. sudo apt update refreshes the list of available software.
  2. sudo apt full-upgrade downloads and installs the updates.

Raspberry Pi recommends full-upgrade rather than the plain upgrade, because Raspberry Pi OS changes how its packages depend on each other more often than Debian does. If it says it needs more space, check how much is free with df -h.

Leave the rpi-update command alone unless a Raspberry Pi engineer asks you to use it. It installs pre-release firmware, which Raspberry Pi warns can make the system unreliable or unable to start.

These steps keep you on the same major version of the system. For a new major release, such as the move from Bookworm to Trixie, Raspberry Pi strongly recommends a clean install on a new card. Back up your files first, as its updates page says.

On the desktop, Preferences > Recommended Software adds the extra apps that come with Raspberry Pi OS Full.

Switching off, and when it will not start

Shut the Pi down before you unplug it. On the desktop, select the Raspberry Pi icon in the top-left corner, then Shutdown, and choose Shutdown again. In a terminal, sudo poweroff does the same.

On a Raspberry Pi 5, pressing the power button twice shuts it down. On a Raspberry Pi 5, 500 or 500+, one press opens the Shutdown Options window.

If the Pi has not started within 5 minutes, look at the status light. A flashing light is a warning code, which Raspberry Pi's documentation lists. If that does not help, try these in order:

  1. If you used a USB drive or SSD, try a microSD card instead.
  2. Write the card again with Imager, and let the verify step finish.
  3. Use Imager to reflash the bootloader, the Pi's start-up software, then write the card again.

Common questions

Can I set up a Raspberry Pi without another computer?
On a Raspberry Pi 4 Model B, 400, 5, 500 or 500+, yes, with Network Install. You need a screen and keyboard plugged into the Pi, a wired internet connection and a blank card or USB drive. Power on with the blank drive attached, or hold Shift while powering on, and the Pi downloads Imager for you.
Which power supply does a Raspberry Pi 5 need?
Raspberry Pi recommends 5 V at 5 A, which its official 27 W USB-C supply gives. A 5 V supply at 3 A also works, but Raspberry Pi says it limits power for plugged-in accessories to 600 mA.
Why can my Pi not see my 5 GHz Wi-Fi network?
Not every model supports 5 GHz. Raspberry Pi lists the Raspberry Pi 3B, Zero W and Zero 2 W as 2.4 GHz only. The 3B+, 3A+, later classic models and the 400, 500 and 500+ have dual-band Wi-Fi. On a 2.4 GHz-only Pi, use a 2.4 GHz network, or a wired connection through an Ethernet port or a USB-to-Ethernet adapter.

Sources

Every setting, menu path, spec and price in this guide comes from these pages, read on 23 November 2026. Menus, specs and prices change with updates: check the source before you rely on one.

  1. Getting started: hardware prerequisites, networking and setting up your Raspberry Pi, Source of the Raspberry Pi documentation, master branch (Raspberry Pi)
  2. Install an OS onto boot media, Source of the Raspberry Pi documentation, master branch (Raspberry Pi)
  3. Configuration, shutdown options and troubleshooting, Source of the Raspberry Pi documentation, master branch (Raspberry Pi)
  4. Manage software and firmware updates, Source of the Raspberry Pi documentation, master branch (Raspberry Pi)
  5. Raspberry Pi OS: introduction and editions, Source of the Raspberry Pi documentation, master branch (Raspberry Pi)
  6. rpi-imager changelog, 2.0.12, 8 October 2026 (Raspberry Pi)

Spotted something wrong or out of date? Tell us and we will correct it.

About this page

Dates

Published

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Keep reading

More Makers and home lab guides

All Makers and home lab guides
Share this guideXLinkedInFacebookEmail

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

All Makers and home lab guides

The KBY Brief

A short email about twice a week for IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up.