Helping people with computers... one answer at a time.

Thumbs.db is a thumbnail cache used by Windows Explorer to speed up some types of folder displays. You can delete it and prevent more from appearing.

I've seen thumbs.db files in some of my folders. Are they safe to delete? How do I delete them?

Thumbs.db is totally safe to delete. It's an automatically generated thumbnail cache.

I'll explain just what that is and I'm going to use this as an excuse to turn it off on my own machine, and show you how along the way.

Thumbnails are the "little" versions of images that Windows Explorer displays in some folder views. You can see what an image is, in miniature, presumably so you can choose the right one for whatever it is you're doing.

Rather than create the thumbnail each time Windows Explorer displays the contents of a folder, it creates the thumbnails once, and then save them using thumbs.db. If the original file changes, the thumbnail would be updated, but other than that Windows Explorer doesn't need to recreate the thumbnail again, and can display the folder view more quickly the next time you take a look.

Thumbs.db is normally a hidden file, so we'll need to change a setting to view those. In Windows Explorer, click on Tools, and then Folder Options. Now click on the View tab, an scroll down to Hidden Files and Folders:

Windows Explorer file display options

"Fortunately you can turn it off with a simple setting."

I make sure to set Show hidden files and folders, as well as Hide extensions for known file types and Hide protected operating system files. The later will give you a warning, but I prefer to see everything.

Now you'll see thumbs.db in various locations. If you like, you can right click on it and click on Delete:

Thumbs.db ready for delete

Thumbs.db is a nice little optimization, but if like me you don't use the icon or image view in Windows Explorer, it's just not that useful. Fortunately you can turn it off with a simple setting.

In fact, it was right above what we were looking at a moment ago:

Windows Explorer Thumbnail Caching Options

Just check Do not cache thumbnails, and no new thumbs.db files should be created.

Article C3094 - July 23, 2007

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
34 Comments

Switch Page View in Explorer to "Content" view and in most cases you can Delete, Rename and Move.

Posted by: Gregory Hanes at December 29, 2011 8:08 AM

brother nice sharing. keep it up.
http://pakpctricks.blogspot.com/

Posted by: malik at December 30, 2011 12:24 AM

i have windows xp and cannot find windows explorer how can open up and view thumbs.db

Posted by: wendy klein at January 2, 2012 2:04 PM

@wendy
Windows Explorer is sometimes called "My Computer." Easiest way to get to it is to hold the Windows key down and type e. It'll pop right up.

Posted by: Connie at January 2, 2012 5:13 PM

Thank you for walking us through this process! I ran into one problem. Under folder options, and view, I didn't have an option for 'do not cache'. I had one that sounded like it might be similar, "display file icon on thumbnails" but I wasn't sure. Is this the same thing? Those dang db files show up in every doc and photo file I have, it's completely annoying. Thank you again!

Posted by: Nicole at January 16, 2012 9:09 PM
Post a comment on "What is thumbs.db, and can I delete it?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...