Raspberry Pi OS is distributed as a disk image, which makes Win32 Disk Imager a natural fit for flashing it to a microSD card. You download the .img file, write it to the card, put the card in the Pi, and boot. The process is simple, but the details matter: the wrong drive letter wipes the wrong drive, a weak power supply mimics a bad flash, and a card that is slightly too small fails for reasons that look mysterious.
This guide is for first-time Pi owners and for anyone returning to Win32 Disk Imager after using another flashing tool. It covers choosing the right Raspberry Pi OS image, writing it correctly, and getting through first boot. If you are comparing tools, the comparison guides explain where Win32 Disk Imager fits next to Raspberry Pi Imager and balenaEtcher, but if you already have an .img file and a Windows computer, this guide is all you need.
Win32 Disk Imager is Windows-only and GPLv2 licensed, with v1.0.0 released on 2017-03-08. It remains useful for Pi images precisely because it does one job without extra layers: it writes the raw image to the card, sector by sector. That simplicity also means it will not download the OS for you, verify the download automatically, or customise the image with Wi-Fi settings the way Raspberry Pi Imager can.
Before you start
- Writing the image wipes the ENTIRE destination card. Move any photos or files off the card first, and double-check the drive letter against File Explorer.
- Download Raspberry Pi OS only from the official Raspberry Pi source or a mirror you trust. A modified image can contain anything, and Win32 Disk Imager will faithfully write whatever you give it.
- Use a card of at least the size recommended for the image you chose, and prefer a reputable card from a known seller. Counterfeit cards are a leading cause of Pi problems that look like software faults.
- Use the official Pi power supply or a supply that meets the Pi model’s requirements. An underpowered Pi can fail to boot, corrupt its card, or reboot under load, even with a perfect flash.
Choose your image before you open Win32 Disk Imager. Raspberry Pi OS comes in a full desktop version, a desktop version without recommended software, and a Lite version without a desktop. For a first Pi, the desktop version is the friendliest choice. For a headless server, Lite is smaller and faster.
Step by step
1. Download and decompress Raspberry Pi OS
Download the Raspberry Pi OS image you chose and decompress the .xz archive with 7-Zip or a similar tool until you have a single .img file. Check the file size against the download page: a truncated download is a common cause of a card that writes successfully but never boots. Keep the decompressed .img file until the Pi has booted, so you can reflash without downloading again.
2. Insert the microSD card and note its letter
Put the microSD card in a reader, connect it, and note the drive letter in File Explorer. If Windows offers to format the card, choose Cancel. The flash will replace everything on the card, so formatting first is unnecessary and can mask a drive-letter error if you format the wrong drive.
3. Open Win32 Disk Imager as administrator
Run Win32 Disk Imager as administrator, click the folder icon, and select your decompressed .img file. Confirm that the Device drop-down shows the letter you noted in File Explorer. If the letter is missing, close and reopen the program, reseat the card, or try a different reader or USB port.
4. Write the image and eject safely
Click Write, confirm the dialog only after checking the drive letter again, and wait for the success message. Do not remove the card during the write. When it finishes, use Safely Remove Hardware, then remove the card from the reader. A rushed removal can leave the last writes unflushed, even when the progress bar looked complete.
5. Boot the Pi and wait for first boot
Insert the card into the Pi, connect a display, keyboard, and power last, and watch the first boot. Raspberry Pi OS expands its filesystem to fill the card on first boot and may reboot once. Give it several minutes before you conclude that something is wrong, especially on a slower card. The green activity LED should flicker during boot; a steady red LED with no green activity points to power or card problems, not to a normal slow boot.
6. Complete setup and make a backup
Follow the on-screen setup: set the country, password, and Wi-Fi if applicable, and update the system once you are on the desktop or command line. As soon as the Pi is working the way you want it, make a Read backup of the card with Win32 Disk Imager, as described in the backup guide. That backup is worth far more than the time it takes, because rebuilding a Pi from scratch always takes longer than restoring an image.
Hardware that makes this easier
If you are flashing cards regularly, a reliable card reader and a spare card save more time than any software trick. You can look at a Raspberry Pi kit (Sponsored) or a microSD card for Raspberry Pi (Sponsored) before you start, and keep the spare card for testing so a failed flash never leaves you without a working system.
Frequently asked questions
Do I need to format the microSD card before flashing Raspberry Pi OS?
No. Writing the image replaces the partition table and all partitions, so formatting first is unnecessary. If Windows offers to format, choose Cancel and write the image.
Why does my Pi take a long time on first boot?
Raspberry Pi OS expands its filesystem to fill the card on first boot and may reboot once during that process. Give it several minutes, and watch for green activity LED flicker, before assuming the flash failed.
Can I use Win32 Disk Imager instead of Raspberry Pi Imager?
Yes, if you already have a decompressed .img file. Raspberry Pi Imager adds downloading and first-boot customisation, while Win32 Disk Imager simply writes the raw image you give it.
For the full set of guides, see the Tutorials hub, and get the program from the download page. Related guides include: raspberry pi wont boot after flashing, expand filesystem after flashing, how to use win32 disk imager — each one covers one job in the same plain style as this guide.
