Mi Flash Tool (MiFlash) is the Windows program that Xiaomi gives out for installing fastboot ROMs on Xiaomi, Redmi and POCO phones. Xiaomi links it in its own fastboot update guide under the name “OS ROM Flashing Tool”. People use it to reinstall stock firmware, to move between ROM versions and to repair a phone that no longer boots.

What Mi Flash Tool does

  • Writes a full fastboot ROM to a phone that is connected in Fastboot mode.
  • Detects connected phones with the Refresh button and starts the job with the Flash button.
  • Offers three modes at the bottom of the window: clean all, save user data and clean all and lock. The last one locks the bootloader again after flashing.
  • Shows a progress bar for each phone. Xiaomi says the ROM is installed when the bar is fully green.

It only installs fastboot ROM packages. Recovery ROM files are installed from the phone itself. Our fastboot ROM vs recovery ROM page explains the difference.

Supported devices and requirements

  • Xiaomi, Redmi and POCO phones with a fastboot ROM for the exact model and region.
  • A Windows PC or laptop. Xiaomi does not offer a macOS or Linux build.
  • An unlocked bootloader. Xiaomi’s guide tells owners of locked phones to unlock first.
  • A good USB cable and a charged battery.
  • A backup. Xiaomi warns that all user data is erased in this process.

How to install Mi Flash Tool

  1. Download the archive from Xiaomi’s link in the version table on this page.
  2. Extract the archive to a short folder path, for example C:\MiFlash.
  3. Run the installer inside the folder. If Windows shows a security warning, choose Run.
  4. Open MiFlash and let it install its USB drivers if it asks.
  5. Put the phone in Fastboot mode (power off, then hold Volume Down and Power) and connect it by USB.
  6. Paste the path of the extracted ROM folder into the address bar and press Refresh. The phone should appear in the list.

The full flashing steps are in our Mi Flash Tool flashing guide.

Good to know

  • Check the mode before you press Flash. Clean all and lock locks the bootloader again, and a locked phone with the wrong region ROM may not start.
  • The build that Xiaomi links today is from 2020. Newer builds are shared on other sites, but Xiaomi’s guide does not link them.
  • Several websites call themselves the official Mi Flash Tool site. They are not run by Xiaomi. Xiaomi’s own pages are on mi.com, miui.com and c.mi.com.
Fahim MahmudMi Flash Tool (MiFlash) is the Windows program that Xiaomi gives out for installing fastboot ROMs on Xiaomi, Redmi and POCO phones. Xiaomi links it in its own fastboot update guide under the name 'OS ROM Flashing Tool'. People use it to reinstall stock firmware, to move between ROM...Android Help,Troubleshooting  & Stock Rom

Tool details

DeveloperXiaomi
Works onWindows
LicenseFreeware (proprietary)
Latest version20220507
Official sitenew.c.mi.com

Download Mi Flash Tool

VersionPlatformDateSizeNotesDownload
20220507WindowsNewer build reported by other sites. Xiaomi's guide does not link it, so no link is given here.Link coming soon
2020-3-14-0Windows2020-03-1466.7 MBBuild linked in Xiaomi's fastboot update guide as OS ROM Flashing Tool (.rar archive).DownloadOfficial source

Supported devices

Common questions

Is Mi Flash Tool official?

Yes. It is made by Xiaomi, and Xiaomi's fastboot update guide on the Xiaomi Community site links it as the OS ROM Flashing Tool. Sites with similar names are not run by Xiaomi.

Does Mi Flash Tool erase data?

Xiaomi's guide says all user data is erased during a fastboot update, so make a backup first. The tool has a save user data mode, but you should not count on it to protect your files.

Does Mi Flash Tool need an unlocked bootloader?

Yes for normal fastboot flashing. Xiaomi's guide tells owners of locked phones to unlock the bootloader with Mi Unlock before they flash a fastboot ROM.

Does Mi Flash Tool work on Windows 11?

Xiaomi only says that a Windows PC or laptop is needed and does not list Windows versions. If the phone is not detected, reinstall the USB drivers and try another USB port or cable.

Why does Mi Flash Tool not detect my phone?

The phone must be in Fastboot mode and the USB drivers must be installed. Press Refresh again after you reconnect the cable, and try a USB 2.0 port if the list stays empty.