How to Eject a USB Drive in Windows 11

Ejecting a USB drive in Windows 11 tells Windows to finish writing to it before you pull it out. The usual route is the USB icon near the clock: pick Eject, then wait until Windows says the hardware is safe to remove. If Windows instead reports that the drive is busy, a program or window still has something open on it. Close it and try again, or shut the PC down and unplug the drive after that.

Which route fits what you see

Most of the time the taskbar icon is all you need. The other routes exist for the moments when that icon is missing or Windows refuses to let go of the drive.

What you see What to do
A USB icon in the hidden icons area of the taskbar Right-click it and choose Eject for your drive (see Eject from the USB icon near the clock below).
No USB icon anywhere near the clock Turn the icon on in taskbar settings, or remove the drive from Settings > Bluetooth & devices.
A message that the drive is still in use Close files, File Explorer windows and copy jobs that involve the drive, then eject again.
You already pulled the drive out without ejecting Check the drive’s removal policy, and scan the drive for errors if files look damaged.

Do you have to eject at all?

Every external drive in Windows has a removal policy, and it decides how much risk you take by pulling the drive out early. Microsoft describes the two settings like this:

  • Quick removal keeps the device ready to remove at any time. You can unplug it without the Safely Remove Hardware process, but Windows cannot cache write operations, which can slow things down.
  • Better performance lets Windows cache writes to the drive. You must then use the Safely Remove Hardware process, which makes sure cached operations finish. Microsoft warns that skipping it risks losing data.

Microsoft states that beginning in Windows 10 version 1809, the default policy is Quick removal. So a drive you never changed is set up to tolerate an unplug, as long as no copy or save is running at that moment. Ejecting first is still the safer habit, because it confirms that nothing is writing to the drive.

If you move large files often, Better performance can help, and increasing USB transfer speed in Windows 11 covers other ways to speed copies up. The trade is simple: faster writes in exchange for always ejecting.

Check or change the policy in Disk Management

These steps follow Microsoft’s page on managing the default media removal policy, which applies to Windows 11 and Windows 10:

  1. Connect the drive and note its letter or label in File Explorer, for example USB Drive (D:).
  2. Right-click Start and select Disk Management.
  3. In the lower section of the window, right-click the label of the device (such as Disk 1) and select Properties.
  4. Select the Policies tab. If it is not there, select Hardware, pick the removable drive in the All disk drives list, select Properties, and the Policies tab should appear.
  5. Select Quick removal or Better performance, the policy you want to use.

Microsoft recommends that if you select Better performance, you also select Enable write caching on the device. The policy is set per device, and it stays in effect when you disconnect the drive and plug it back into the same port.

Eject from the USB icon near the clock

Microsoft’s safe removal instructions for Windows 11 use the system tray icon called Safely Remove Hardware and Eject Media. It looks like a small USB plug and usually sits in the hidden icons area.

  1. Save and close any file you have open from the USB drive.
  2. Select Show hidden icons (the up arrow near the clock) on the taskbar.
  3. Right-click the Safely Remove Hardware and Eject Media icon. Microsoft’s page says to right-click it, not to click it once.
  4. In the menu that pops up, select Eject followed by your drive’s name, for example Eject USB Drive.
  5. When the Safe To Remove Hardware notification appears, unplug the drive.
Windows 11 taskbar hidden icons with the Safely Remove Hardware icon and the Eject USB Drive menu option highlighted
(1) Click the Safely Remove Hardware icon, then (2) choose Eject for your drive. (Illustration)

The menu lists every removable device that is connected, so a USB stick, a card reader and an external disk can all show up at once. Read the names before you pick one. If several drives look alike, open File Explorer first and note the label and letter of the one you want, such as USB Drive (E:).

Microsoft’s guidance covers USB flash drives and external hard drives with the same steps. Larger external disks have a few quirks of their own, which ejecting an external hard drive on Windows walks through.

When the USB icon is not on the taskbar

Microsoft notes that the icon might not appear if no removable device is connected or Windows does not recognize it, so first check that the drive is plugged in fully and appears in File Explorer. If the drive is there but the icon is not, turn the icon on:

  1. Open Settings and go to Personalization > Taskbar.
  2. Expand Other system tray icons.
  3. Turn on Safely Remove Hardware and Eject Media.

Older instructions may give this switch a different name. On current versions of Windows 11 it carries the icon’s full name.

You may also see an Eject option when you right-click the drive in File Explorer. Microsoft’s eject page does not describe that menu, so if it is missing on your PC, use the taskbar icon or the Settings route below instead.

Remove the drive from Settings

Microsoft also documents a route through the Settings app that does not depend on the taskbar at all:

  1. Select Start > Settings > Bluetooth & devices > Devices.
  2. Under Other devices, select the USB drive to expand it.
  3. Next to Remove this device, select Remove.
  4. Unplug the drive once it disappears from the list.

Windows 10 has a similar Remove option for the drive in its Settings app. Microsoft notes that support for Windows 10 ended on October 14, 2025. For opening and browsing drives on that version, see how to open a USB drive on Windows 10.

Windows says the drive is still busy

When Windows refuses to eject, it is protecting you: something still has a file or folder on the drive open, and unplugging now could cut off a write. Work through these checks in order, trying Eject again after each one.

  1. Close documents and media. A spreadsheet, photo, video or PDF opened straight from the drive keeps it locked until the app closes it.
  2. Close File Explorer windows on the drive. A window showing a folder on the USB drive can count as use. Close it, or navigate it to another folder.
  3. Let copies finish. If you just dragged files onto the drive, wait until the copy progress window closes. Large files can keep writing for a while after the bar seems to stop.
  4. Think about background programs. Backup software, cloud sync folders and a security scan of the drive may hold it open. Let the job finish rather than turning protection off.
  5. Sign out or shut down. If you cannot find the program responsible, sign out of Windows or shut the PC down, then unplug the drive.

A command or shortcut that forces the drive offline is not part of Microsoft’s eject instructions, so it is safer to find the open file than to work around the warning.

If files were damaged by an early unplug

A drive pulled out mid-write can come back with files that will not open. Windows includes a disk check that can repair file system errors on it:

  1. Plug the drive back in and note its letter in File Explorer.
  2. Open Command Prompt or Terminal as an administrator. Microsoft says membership in the local Administrators group is required to run chkdsk.
  3. Type chkdsk E: /f, replacing E with your drive’s letter, and press Enter.

The chkdsk command reference describes the /f switch as fixing errors on the disk, and the disk must be locked while it runs, so close File Explorer windows on the drive first. More options and what the results mean are in running CHKDSK on an external drive. If the drive still misbehaves afterward, copying off what you can and then formatting the USB drive in Windows 11 gives it a clean file system. Formatting erases everything on it, so copy first.

USB eject questions

Does the same eject work for an external SSD or hard drive?

Yes. Both appear in the same Safely Remove Hardware and Eject Media menu, and each drive has its own removal policy to check.

Does Quick removal make copying slower?

It can, because Windows can’t cache writes under Quick removal; whether you notice depends on the drive and the size of what you copy.

Before you eject, make sure every file you meant to move actually landed on the drive; transferring files to a flash drive in Windows 11 covers copying and checking them. Then right-click the USB icon, choose Eject and wait for the Safe To Remove Hardware notice before you pull the drive.