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 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
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?

36 Comments
George Arauz
July 23, 2007 11:20 PM

Just a thumbnail.. safe to delete

sreejith
July 28, 2007 1:29 AM

Thanks...i was wondering what exactly it was..

Jean Hering
July 28, 2007 6:15 AM

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.

Ali Darvishan
July 28, 2007 10:49 AM

Excellent!

David Henriks
August 28, 2007 6:06 PM

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.

Harold
May 22, 2008 2:37 AM

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?

Oldman
June 18, 2008 12:56 AM

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!

Kajal
June 27, 2008 10:35 PM

I'm using windows vista and I cannot see the Do Not Cache thumbnail.I wsa to get rid of the thumbs.db permanently

Joel
October 22, 2008 1:09 PM

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!

Phil
December 21, 2008 9:11 AM

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.

Peter Jaspers-Fayer
February 19, 2009 6:25 AM

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
Melissa
March 5, 2009 3:00 AM

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.

Anna
March 12, 2009 11:47 PM

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?

jj
April 20, 2009 2:56 PM

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.

ace2luv
May 23, 2009 10:16 PM

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

K.C.
July 22, 2009 10:31 PM

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.

Pramod Lodhi
October 25, 2009 1:57 AM

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?

emma
November 23, 2009 6:58 AM

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

Dave
December 23, 2009 3:39 PM

For those of you receiving the 'cannot be deleted because it's in use' error try this:

http://www.filehippo.com/download_unlocker/

It's a free program that allows you to end the thread and delete the file.
Note: Use with caution and only delete the files you know are safe to.

Atul
March 6, 2010 4:53 AM

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

Daniel
June 4, 2010 4:25 PM

Thanks for the "Hide protected operating system files" tip - that's what caught me out, as with that a search won't find it.

Tieria Erde
October 27, 2010 3:39 AM

technically informative, it helps a lot coz thumbs.db consumes quite some of the disk space

Patricia
November 27, 2010 10:57 PM

Hello Leo - just wanted to let you know that the tools -- folder options was found in "my comptuer" - thanks, patricia

Ricky
October 28, 2011 11:19 PM

COOL!! helped out alot, always hated this "thumbs" files. Even thought they were some sort of virus :P

Maxey Lynch
November 6, 2011 5:46 AM

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!

Maxey Lynch
November 6, 2011 5:53 AM

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

pavan nadhir
November 27, 2011 9:33 PM

How to do that in windows 7 I dont see an option "" Do not catche thumnails""

Mark J
November 27, 2011 11:21 PM

@Pavan
It sometimes can be frustrating when Microsoft keeps changing things.
In Windows 7, open the Control Panel then go to Folder options. Next check the box, Always show icons, never thumbnails.

Monica
December 17, 2011 5:07 AM

I followed Dave's advice in the comments about using http://www.filehippo.com/download_unlocker/

It quickly removed my thumbs.db file that said it couldn't be deleted because it was "in use by another program." It was also free.

Gregory Hanes
December 29, 2011 8:08 AM

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

malik
December 30, 2011 12:24 AM

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

wendy klein
January 2, 2012 2:04 PM

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

Connie
January 2, 2012 5:13 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.

Nicole
January 16, 2012 9:09 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!

corwin
October 1, 2012 2:38 AM

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)

Mark J
October 1, 2012 3:08 AM

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

Comments on this entry are closed.

If you have a question, start by using the search box up at the top of the page - there's a very good chance that your question has already been answered on Ask Leo!.

If you don't find your answer, head out to http://askleo.com/ask to ask your question.