Find Empty Folders & Files in Windows 11, 10, 8, 7

List Empty Folders
Avatar of Jack Taylor By Jack Taylor, Software Expert & Technology Writer
Last Updated:

Find empty folders cluttering your Windows PC using several free and reliable methods, from built-in File Explorer tricks to dedicated scanning tools. This guide walks through each approach so you can choose the one that fits your library size and comfort level. But first, it helps to understand why empty folders pile up in the first place.

Empty folders and files build up on every Windows PC over time – leftovers from uninstalled programs, half-finished downloads, old backup jobs that never cleaned up after themselves. None of it takes up much space individually, but a drive with thousands of empty folders scattered across it gets slower to search and harder to navigate. Here are six ways to actually find them, from a dedicated free tool to Windows’ own search and command line.

The fastest of these by a wide margin is Folder Size, a free tool that also happens to be good at finding your largest files and largest folders while you’re at it – so if disk space is the actual problem, it’s worth having installed regardless. But if you’d rather not add another app, File Explorer and the command line can both do this too, just with more clicking.

Folder Size showing a list of empty folders and files
Folder Size listing empty folders and files by report type

Here’s what’s covered below:

  1. Find Empty Folders (Zero Size)
  2. Find Empty Folders (Zero Items)
  3. Find Empty Files (Zero Size)
  4. Find Empty Folders Using File Explorer
  5. Find Zero-Size Files Using File Explorer
  6. Find Empty Files From the Command Line

1. Find Empty Folders (Zero Size)

A folder doesn’t have to be completely empty to be useless – if it only contains other empty folders, or files that are themselves zero bytes, it’s still just dead weight. That’s why searching by size rather than item count catches more than you’d expect.

Steps:

  1. Click “Scan folder” or “Scan drive” and pick where to search.
  2. On the toolbar, click “Report Type” and select “Empty -> Folders (zero size)”.
  3. Review the results – every zero-size folder in that location shows up in the list.

This report catches anything with no real content inside it, even if that “content” is technically a subfolder or two. Switching to a different folder or drive on the left updates the list instantly, so you don’t need to re-run the scan every time you want to check somewhere else.

2. Find Empty Folders (Zero Items)

This one’s stricter than the report above – it only flags folders with absolutely nothing inside, not even other empty folders. If a folder contains anything at all, even junk, it won’t show up here.

Steps:

  1. Choose a folder, drive, or network share to scan.
  2. On the toolbar, select “Empty -> Folders (zero items)” from the reports menu.
  3. Check the results for folders with nothing inside them.

Same as above, clicking a different folder in the tree refreshes the list without needing another full scan.

3. Find Empty Files (Zero Size)

Files are simpler than folders here – there’s no “contains other empty things” nuance, since a file can’t hold subfolders. It’s either zero bytes or it isn’t.

Steps:

  1. Pick a folder, drive, or network location and start the scan.
  2. Select “Empty -> Files (zero sizes)” from the toolbar.
  3. Review the list of zero-byte files.

Between this and the two folder reports above, Folder Size covers the whole picture in a single scan – you’re just switching which report you’re looking at, not rescanning the drive three separate times.

4. Find Empty Folders Using File Explorer

No extra software needed for this one – Windows can do a basic version of the same search on its own, it’s just slower to work with across a large drive.

  1. Open File Explorer – press Win + E, or click the icon in the taskbar.
  2. Go to the folder you want to check using the sidebar or drive list.
  3. Search for empty folders – type kind:folder size:empty into the search bar and hit Enter.
  4. Review what comes back – every folder matching that filter will be listed.
  5. Decide what to do with them – delete directly from File Explorer, or leave them if you’re not sure.

5. Find Zero-Size Files Using File Explorer

Same approach, different target – this searches for empty files instead of folders.

  1. Open File ExplorerWin + E or the taskbar icon.
  2. Navigate to the folder or drive you want to search.
  3. Search for zero-byte files – type size:0 in the search bar and press Enter.
  4. Check the results – anything listed is a 0-byte file.
  5. Handle them as needed – delete, ignore, or investigate further.

The size:0 filter is a genuinely useful shortcut worth remembering even outside this specific task – it works anywhere Windows search is available, not just in a dedicated empty-files hunt.

6. Find Empty Files From the Command Line

If you’re already comfortable in a terminal, this is faster than clicking through File Explorer – though it’s easy to mistype a path, so double-check before running anything.

  1. Open Command Prompt – press Win + R, type cmd, hit Enter.
  2. Navigate to the folder you want to search:
    cd path\to\your\directory
  3. Run this command:
    dir /A:-D /B /S | find “0 File(s)”

Breaking that down: /A:-D leaves out directories so only files show up, /B strips the output down to bare file names, /S pulls in subdirectories too, and find “0 File(s)” filters everything down to just the zero-byte results. Adjust the path in the cd command for wherever you actually want to search – the rest stays the same.

Is It Safe to Delete Empty Folders and Files?

Usually, yes – an empty folder holds no data, so deleting one can’t cost you anything directly. The exception is folders an application created on purpose and expects to still be there – a logs folder that stays empty until the app actually needs to write something to it, for example. Delete it, and some poorly-written programs won’t check whether it exists before trying to use it again, which can throw an error or crash.

Most abandoned folders you’ll find are leftovers from software you’ve already uninstalled, and those are safe to clear out. Still worth a quick look at what’s in a folder’s path or name before deleting a large batch at once, just so you’re not guessing.

If you’re ready to actually clear these out rather than just find them, see our full guide on how to delete empty folders in Windows, which covers Folder Size, Command Prompt, and PowerShell methods in more detail, including how to send deleted folders to the Recycle Bin instead of removing them permanently.

Folder Size Reports – Largest Files & Largest Folders

The largest files and largest folders reports used to cap out at 50 items – that’s now been raised to 100, and the same increase applies to the oldest/newest file reports and the longest paths report. The empty folders and files reports aren’t limited at all – they’ll list everything in the scanned location, however many items that turns out to be.

This release also cleaned up some code under the hood – startup wasn’t slow before, but it’s a bit faster now.

Finding empty folders and files is really just one piece of what Folder Size does – the largest files report and largest folders report tend to be where people find the bigger space savings. Also, it shows hidden files and folders that occupy space. It’s free to download here: Folder Size

Find Empty Folders Frequently Asked Questions

Does Windows have a built-in way to find empty folders?

Yes, through File Explorer’s search bar. Typing “kind:folder size:empty” into the search field will list every empty folder in the location you’re browsing, though it’s slower across large drives than a dedicated tool.

Why do empty folders accumulate on a PC in the first place?

They’re usually leftovers from uninstalled programs, interrupted downloads, or backup jobs that create folder structures but don’t clean up after themselves. None of it happens on purpose – it just builds up quietly over months or years of normal use.

Is it safe to delete empty folders?

Usually, yes – an empty folder holds no data, so removing one can’t cost you anything directly. The one exception is folders an application expects to still exist, like a logs folder the app writes to later; deleting those can occasionally cause an error in poorly-written software.

What’s the difference between a folder with zero size and a folder with zero items?

A zero-items folder has absolutely nothing inside it – not even other empty folders. A zero-size folder can technically contain something, like nested empty subfolders or files that are themselves 0 bytes, so it still counts as dead weight even though it’s not entirely empty.

Can I find empty folders without installing any software?

Yes – File Explorer’s search bar and the Command Prompt can both do this using tools already built into Windows. A dedicated tool like Folder Size is faster, especially across an entire drive, but it’s not required for a quick check of a single folder.

How do I find zero-byte files on Windows?

Open File Explorer, navigate to the folder or drive you want to check, and type “size:0” into the search bar. Every file with exactly zero bytes will appear in the results – this filter works anywhere Windows search is available, not just for this specific task.

Can I find empty folders using the command line?

Yes. Open Command Prompt, navigate to the folder you want to search, and run a directory listing filtered for zero-byte results. It’s faster than clicking through File Explorer once you’re comfortable with it, though it’s easy to mistype a path, so it’s worth double-checking the command before running it.

Does Folder Size scan network drives for empty folders?

Yes, Folder Size can scan network shares in addition to local drives and folders. Just select the network location the same way you’d select any other folder or drive when starting a scan.

Will finding and removing empty folders actually free up disk space?

Barely, on its own – empty folders take up almost no space individually. The real value is in organization and search speed, not storage. If disk space is the actual goal, Folder Size’s largest files and largest folders reports will find far more recoverable space.

Can I find empty folders and empty files in the same scan?

Yes. Folder Size scans a location once and lets you switch between the empty folders (zero size), empty folders (zero items), and empty files reports without rescanning – you’re just changing which report you’re viewing, not repeating the search.

Is there a limit to how many empty folders or files Folder Size can find?

No. Unlike the largest files and largest folders reports, which cap out at 100 items, the empty folders and empty files reports list everything found in the scanned location, regardless of how many items that turns out to be.

Can I undo deleting an empty folder by mistake?

If you delete it through File Explorer, yes – it goes to the Recycle Bin like any other deletion and can be restored. Deletions from the command line typically bypass the Recycle Bin, so there’s no built-in recovery if you remove the wrong folder that way.

Why does my drive feel slower to search with lots of empty folders on it?

File Explorer and Windows search still have to index and traverse every folder, empty or not. Thousands of scattered empty folders add overhead to searches and indexing even though they contain nothing, which is one of the main practical reasons to clean them up.

Which method is fastest for scanning an entire drive for empty folders?

A dedicated tool like Folder Size is the fastest option by a wide margin for a full drive scan. File Explorer’s search and the command line both work, but they’re noticeably slower once you’re checking an entire drive rather than a single folder.

How often should I check for empty folders and files?

There’s no strict schedule required, since empty folders don’t cause harm sitting unused. A quick scan every few months, or after uninstalling several programs, is usually enough to keep a drive tidy without it becoming a regular chore.

12 thoughts on “Find Empty Folders & Files in Windows 11, 10, 8, 7

  1. JohnDoe47

    Good rundown. I never really thought about empty folders being an actual issue until I read this. Tried the File Explorer steps and then ran Folder Size out of curiosity – ended up finding a couple huge files I’d totally forgotten about too. Worth the ten minutes.

  2. Pingback: Find Long Paths & Long File Names

  3. DigitalNomadExplorer

    I move around a lot for work so keeping my laptop lean actually matters to me. The File Explorer method here is simple enough that I could do it between flights. Downloaded Folder Size after reading this – being able to check disk usage quickly without a lot of setup is exactly what I needed.

  4. SysAdminPro

    The command-line steps are accurate, which isn’t always a given with these guides. Added Folder Size to what I use for keeping servers tidy. Good writeup.

  5. TechGeek21

    The command-line section was exactly what I was looking for. Didn’t expect Folder Size to be useful beyond just empty folders either – ended up using it for general disk analysis too.

  6. OrganizedUser88

    Straightforward guide, no complaints. The File Explorer search trick is easy enough for anyone to follow, and I appreciated the reminder not to just start deleting folders blindly. Grabbed the newer version of Folder Size while I was at it.

  7. SystemAdminInsider

    Solid technical writeup – the command-line instructions are accurate and I’ll probably point a couple people on my team to this. Didn’t realize Folder Size could also surface the largest files on a drive, that’s a nice bonus on top of the empty-folder stuff. Glad to see the report limit got bumped up too.

  8. CasualUser

    Didn’t know empty folders were even something worth checking for until this. The File Explorer steps were easy to follow. Ran Folder Size afterward and cleaned up my laptop pretty quickly. Appreciated.

  9. ITEnthusiast88

    Good breakdown of the different ways to handle this in Windows. The File Explorer and command-line sections are both clear, and the warning about not deleting folders carelessly is a fair point to include. Started using Folder Size regularly since it does more than just empty folders – the largest-files report has been genuinely useful.

  10. TechSavvyExplorer

    Well laid out for both casual users and people who want the technical detail. File Explorer method worked fine for a quick check, but Folder Size is what I kept using afterward – the expanded limit on the largest files/folders reports was a nice addition. Worth the read if you’re trying to clean up a Windows install.

  11. OrganizationalWhizKid

    Good resource for anyone trying to get their storage under control. File Explorer method is easy enough for most people, though Folder Size ended up being the more useful tool overall since it handles disk analysis beyond just empty folders. Appreciated the note about being careful before deleting anything. Bookmarked for later.

Leave a Reply

Your email address will not be published. Required fields are marked *