Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

What is thumbs.db, and can I delete it?

Question:

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.

Become a Patron of Ask Leo! and go ad-free!

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.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

36 comments on “What is thumbs.db, and can I delete it?”

  1. In Vista there isn’t an option to never create thumbs. So I clicked don’t show them but I don’t think that’s right.

    Reply
  2. I have the opposite problem. The Do Not Cache box is NOT checked, but the thumbs.db are still not being created. Why not? I want to see thumbnails, but they do not appear.

    Reply
  3. Hi Leo,

    I was moving a folder with many jpegs from one drive to another. The jpegs were all arranged alphabetically. When it came to the ‘T’s, the thumbs.db files started moving, then I got an error message. All the jpegs up to the T’s moved over to the new drive and when I access the new folder, I can see thumbnails. All the jpegs after the T are stuck in the old drive, and when I open the old folder, I cannot see the thumbnails. I tried to more the remaining jepegs over, but the thumbs.db files start moving and I get the error message again. What can I do? Will deleting the thumbs.db from the old folder help? Also why can I not see thumbnails of the jpegs remaining in the old folder?

    Reply
  4. THANKS LEO: WORKED LIKE A CHARM!

    Was cleaning my picture folder and this file had over 9MB so I was trying to get rid of the bigger file like this. Yet windows kept telling me it was being used by a program, but, being windows it does not tell you which one! So trying to figure out and close the thing was driving me nuts. Great job Chief!

    Reply
  5. Leo,
    I was trying to delete an old folder that had some pictures in it. When I went to delete it, Windows would not let me delete the Thumbs.db file. I am able to delete everything in the folder (word files and picture files) but cannot delete the Thumbs.db file. Windows keeps telling me that it cannot delete Thumbs.db files and that another program or person is using it. Only there are no other programs open and no other people logged on. I can see the hidden file, but Windows will not let me delete it. I’m stumped, can you help me? Thanks!

    Reply
  6. I still get a message that the Thumbs.db cannot be deleted, nor moved, because it is “being used by another program.” It isn’t… with the exception, possibly, of an unseen piece of the Windows Explorer program that might be snuggled in some cache someplace. This is something new to my environment as I have heretofore been able to delete folders at will. It may be a firewall thing, I’m not sure.

    Reply
  7. Leo, I will grant that the checkbox “Do not cache Thumbnails” was there when you wrote this article, but several people (and now myself) have observed that it is no longer there.

    Perhaps SP1 removed it?

    Please check this out and update the article, if possible?

    Still there for me with XP Pro SP3. There must be some other criteria by which Windows does or does not include it. Lovely.

    – Leo
    19-Feb-2009
    Reply
  8. Hi Leo,

    I’m did back up with my drives and after I copied the contents of 1 drive to another, I deleted the contents of first drive and I accidentally deleted thumbs.db

    Can I get the file back? How to do that?

    Thanks in advance.

    Reply
  9. My picture files have been backed up and I’m about to delete them from the pc -but this error pops up:

    “The file ‘Thumbs.db’ is a system file.

    If you remove it, your computer or one of your programs may no longer work correctly. Are you sure you want to delete it?”

    From reading your webpage it doesn’t sound like a big deal to delete the thumbs.db files, yet this error message has me frozen. What if I bring back my pictures and find that something has been screwed up & they can’t be read, anymore?

    Reply
  10. I have one or more folders with only a Thumbs.db file in them that will not delete using the instructions provided here. Note they appear with a capital T. The folder name cannot be modified or the folder deleted. It says being used by another person or program. Please comment or help. Thanks.

    Reply
  11. Hey, where did thumbs.db come from I am just now seeing it on my computer desktop. I have never seen it before now while I was trying to see why I can’t close my yahoo.messenger. Don’t remember opening any pitures recently. What is thumbs.db. Is it messing with my computer?

    Please read the article you just commented on.

    – Leo
    24-May-2009
    Reply
  12. Hi Leo, I wonder if you can help me since I can’t seem to locate answers elsewhere. While trying to view certain video files on my harddrives, I get a Windows Explorer error message saying that a problem has occurred and Explorer needs to shut down. From what I have read, I’m pretty sure it relates to thumbs.db files. I copied videos from one harddrive to another and deleted the original ones to consolidate all videos. Some folders are unaffected and can still be viewed as thumbnails. I tried deleting the thumbs.db files and then letting XP recreate them the next time I chose to view as thumbnails, but to no avail. I told Windows not to cache thumbnails and searched for and deleted any thumbs.db files on my system but still have the same problem. Also, certain videos, when I try to play them, instantly give me the above-mentioned error message even if the folder is set to be viewed as tiles, lists, etc. But most are fine when the view is set to anything other than thumbnails. Originally, there was one subfolder that I had this problem with only. At the time, I didn’t know that it was related to the view. I tried to copy the subfolder to a different folder and in the middle of the transfer I got the error message. Now both folders have the same problem. When I try to view these folders as thumbnails, thumbnails start to be produced but after a few seconds, the error message appears and Explorer shuts down. Thanks in advance. K.C.

    Reply
  13. Hey, where did thumbs.db come from I am just now seeing it on my computer desktop. I have never seen it before now while I was trying to see why I can’t close my yahoo.messenger. Don’t remember opening any pitures recently. What is thumbs.db. Is it messing with my computer?

    Reply
  14. Please Help, I have a year old computer and for some reason it does not have a folder options anywhere on the system. so im completly stuck any ideas would be very helpful thank you

    Reply
  15. Hi ..
    Will it give any bad effect to our systems? I mean, do I face any kind of problem if I don’t delete Thumbs.db from my PC? Please suggest.

    It’s harmless. I ignore it.

    Leo
    06-Mar-2010

    Reply
  16. Thanks for the “Hide protected operating system files” tip – that’s what caught me out, as with that a search won’t find it.

    Reply
  17. Leo–will turning off thumbs.db prevent thumbnail views from being generated? Or, will it allow creation of the thumb, temporarily and then discard it when the folder is closed? Or, to restore thumbnail views, would I need to uncheck the caching mode in settings per above? thanks!

    Reply
  18. Other question: I checked the DO NOT CACHE THUMBNAILS box but, I’m still getting the cannot delete dialog — I’ve closed all folders –except, I do have Outlook Inbox up — do I need to close everything & restart the PC for the new setting to “work”. When I checked it, I clicked Apply and OK but, it still doesn’t seem to want to delete thumbs.db file … please advise –thanks! -ML

    Reply
  19. @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.

    Reply
  20. 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!

    Reply
  21. i play minecraft but when i try to delete a mod there is a pop-up that says thumbs.db is a system file if you delete this windows or another program may not work correctly if that happens is it still safe? cuz’ if something goes wrong my dad WILL kill me (ps:i am 9 years old)

    Reply
  22. @Corwin
    Thumbs.db is a file which holds thumbnail versions of the pictures in that folder. If you delete it, nothing serious will happen. It is safe to delete. In fact, the next time someone opens that folder Windows will recreate that thumbs.db file.
    Just be careful. Not all files are as safe to delete as that one.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.