Running a Raspberry Pi headless means using it with no monitor, keyboard or mouse. It doesn't need a screen attached to boot, so if you can't reach yours, it's almost always the setup on the microSD card.
💿 1. Set it up with Raspberry Pi Imager
Raspberry Pi recommend preparing a headless card with Raspberry Pi Imager. In its Customisation settings, fill in:
- Hostname: the name your Raspberry Pi will have on your network
- User: a username and password
- Wi-Fi: your network name, password and country
- Remote access: turn on Enable SSH
⚠️ Following an older guide?: Putting a wpa_supplicant.conf file on the card no longer works on Raspberry Pi OS Bookworm and later. Use Imager's settings.
🔗 2. Connect to it
Give it a couple of minutes on first boot, then connect from another computer on the same network with ssh username@hostname.local, using the username and hostname you chose.
- Check your router's device list to confirm it has joined the network.
- On Wi-Fi, double-check the network name, password and country you entered. A typo here is the most common cause.
- A wired network cable is a quick way to rule out Wi-Fi.
🖥️ 3. Plug in a screen to see what's happening
If you have a monitor and micro-HDMI cable to hand, connecting them is the easiest way to see whether it's booting and where it stops.
✅ Need a display signal with no screen attached?: For remote desktop tools that need one, add
video=HDMI-A-1:1280x720@60D to the end of the single line in /boot/firmware/cmdline.txt. The older hdmi_force_hotplug setting no longer works on current Raspberry Pi OS.📨 Not booting at all?
See our boot guides for the Raspberry Pi 5, Raspberry Pi 4 and Raspberry Pi Zero.