Thumb folder on Xiaomi: what is this directory, why it takes up a lot of space and how to clean it

What is the Thumb folder on Xiaomi and why does it appear on your phone?

If you've ever looked into the file system of your Xiaomi smartphone through a conductor or connected the device to a computer, you might notice a strange folder called Thumb (or.thumbnails, DCIM/.thumbnails). It often takes hundreds of megabytes, and sometimes several gigabytes of memory โ€” and this is despite the fact that the user did not create it. Where does it come from and why?

Thumb is a system directory that is automatically generated by Android (and MIUI in particular) to store thumbnails (previews) of photos and videos. Every time you open a gallery, view images in a file manager, or even flip through chats in instant messengers, the system creates smaller copies of the original files, which is to speed up the loading of sketches: instead of processing heavy photos at 4000ร—3000 resolution each time, the phone shows light previews of 200ร—200 pixels.

The problem is that these thumbnails are never automatically deleted โ€” they accumulate over the years, even if the original photos have been erased long ago. And given that modern Xiaomi smartphones (such as the Redmi Note 12 Pro+ or Xiaomi 13 Ultra) take pictures weighing 10-20 MB, the Thumb folder can grow to incredible sizes.

Once a week.|Once a month|Only when the place ends.|Never clean.-->

Where is the Thumb folder on Xiaomi and how to find it

The folder location depends on the MIUI version and the phone model, but it is most often hidden in one of the following ways:

  • ๐Ÿ“ /storage/emulated/0/DCIM/.thumbnails โ€” gallery-house.
  • ๐Ÿ“ /storage/emulated/0/Pictures/.thumbnails โ€” alternative path in some firmware.
  • ๐Ÿ“ /storage/emulated/0/MIUI/Gallery/thumb โ€” specifically MIUI 12โ€“14.
  • ๐Ÿ“ /data/media/0/DCIM/.thumbnails โ€” root-access devices.

To see the folder:

  1. Open any file manager (e.g., standard MIUI File Manager or Solid Explorer).
  2. Enable the display of hidden files: in MIUI File Manager press โ‹ฎ โ†’ Settings โ†’ Show hidden files.
  3. Follow one of the paths mentioned above.

If you don't have a folder at these addresses, try searching for the keyword thumb (no register), sometimes called thumbnails or thumbnail.

๐Ÿ’ก

On some Xiaomi models (e.g. POCO F5), the Thumb folder can be subfolded by year: 2023, 2026, etc. This makes it easier to clean old thumbnails.

Can you delete the Thumb folder on Xiaomi without consequences?

Yes, you can delete Thumb without harming the system, and miniatures are just cache, and their absence will not affect the phone's performance or the integrity of the original photos.

  • โšก After removing the preview, the gallery will load more slowly when it first opens, as the system will have to regenerate sketches.
  • ๐Ÿ”„ Miniatures will recover automatically after a while (when watching a photo or video).
  • ๐Ÿ“ฑ On some devices (e.g. Xiaomi) 12T) The folder may appear again in a few days.

The only risk is that you accidentally delete the wrong folder, for example, if you confuse DCIM/Thumb with DCIM/Camera, where the original photos are stored, so always check the path before cleaning.

โš ๏ธ Note: If you use third-party galleries (like Google Photos or Simple Gallery), they can create their own thumbnail folders. Deleting system Thumb won't affect these caches - they need to be cleaned separately in the app settings.

How to Clean Thumb Folder on Xiaomi: Step-by-step instructions

There are several ways to remove thumbnails, and choose the right one depending on your skills and phone model.

Method 1: Manual cleaning through file manager

  1. Open MIUI File Manager or other conductor.
  2. Go to DCIM/.thumbnails (or another path from the list above).
  3. Select all files inside the folder (long press). โ†’ ยซChoose everythingยป).
  4. Click "Delete" and confirm the action.

Method 2: Through Storage Settings (without root)

  1. Open the Settings โ†’ Storage.
  2. Click on โ€œCleanโ€ or โ€œFree the placeโ€.
  3. Select โ€œCash of thumbnailsโ€ or โ€œSketch Galleryโ€ (if such item is available).
  4. Confirm the cleanup.

Method 3: With ADB (for advanced users)

If the folder is not deleted by standard methods, you can use ADB:

adb shell


su




rm -rf /storage/emulated/0/DCIM/.thumbnails

This method requires enabled debugging over USB and root rights (on some devices).

Backup of important photos|Check the free space on the phone|Close the gallery and file manager|Make sure the folder is not system-based (e.g., not /system)-->

Why Thumb folder reappears after deletion

MIUI (like any Android) automatically restores thumbnails when you do the following:

  • ๐Ÿ“ธ Viewing photos in a gallery or file manager.
  • ๐ŸŽฅ Video playback (even in messengers like WhatsApp or Telegram).
  • ๐Ÿ” Using image search features (e.g. Google Photos).
  • ๐Ÿ“ฑ Update the firmware or reset settings.

To minimize the re-accumulation of cache:

  • ๐Ÿ›‘ Avoid frequent leafing through the gallery "just soยป.
  • ๐Ÿ—‘๏ธ Clean your folder regularly (every 1-2 months).
  • ๐Ÿ“ด Use cloud services (like Google Photos) to store originals and disable local caching.

โš ๏ธ Note: On some Xiaomi devices (e.g. Redmi) K50) Thumb folder can be protected from removal by the system, in which case only disabling automatic preview creation in the gallery settings (if such an option is available) will help).

How to disable the creation of thumbnails on Xiaomi (if possible)

Unfortunately, most versions of MIUI don't have a direct option to disable preview generation, but there are workarounds:

MethodDescriptionDeficiencies
Use a third-party galleryInstall Simple Gallery or Aves and turn off caching in their settings.Thumb system folder can still be created.
Disable media scanningUsing ADB, execute the command:adb shell pm disable-user com.android.providers.mediaAll media functions (gallery, music, etc.) will cease to work.
Delete the rights from the folderWith ADB or Root Explorer, you can prevent recording in DCIM/.thumbnails.It could cause a breakdown in the gallery.
Regular cleaningDelete the folder manually or through SD Maid, Files by Google.It takes discipline.

The most reliable method is periodic cleaning. + Using cloud-based photo storage services, which will not completely shut down thumbnails, but will significantly reduce the size of thumbnails.

What happens if you delete Thumb on a root-righted device?
On root phones, you can not only delete the folder, but you can also prevent it from being re-created by changing the permissions (chmod: ๐Ÿšซ Mistakes in the work of the gallery (for example, empty previews). ๐Ÿ”„ Automatic folder recovery after update MIUI. ๐Ÿ› ๏ธ You need to manually fix the rights after you reset, and you'd better use this method only if you know exactly what you're doing.

FAQ: Frequent questions about the Thumb folder on Xiaomi

Can I transfer the Thumb folder to a memory card?
Technically yes, but it requires root rights and manually creating a symbolic link. -s). Without root, the system will always create thumbnails in the internal memory. The alternative is to use a gallery that supports cache on the computer. SD-card (e.g. QuickPic).
Why did the gallery stop after Thumb was removed?
This is normal: the first time you open it after cleaning it, the system regenerates the previews for all the photos. In 5-10 minutes, the gallery will be back to normal. If the brakes are still there, check the available space on the device - maybe there is a critical memory shortage.
Thumb folder takes 10GB โ€“ is that normal?
No, it's anomalously large. It's usually less than 500 to 1,000 MB: ๐Ÿ“‚ Thousands of photos/videos are stored on the phone. ๐Ÿค– Media scanner failure (for example, after updating) MIUI). ๐Ÿ“ฑ Use custom galleries that duplicate cache. Try clearing the folder and restarting the phone. If the volume grows again, check the phone for viruses or reset the gallery settings.
Will Thumb folder be created on Xiaomi after resetting to factory settings?
Yes, but it's going to be empty. Once reset, the system will re-scan the media files and generate thumbnails as you watch the photo/video, and if you want to avoid cache accumulation, transfer all the media files to the cloud or memory card immediately after reset.
Are there any automatic cleaning programs for Thumb?
Yes, a few utilities can help: ๐Ÿงน SD Maid โ€“ Clears cache, including thumbnails. ๐Ÿ—‘๏ธ Files by Google โ€“ has the function of โ€œCache Clearingยป. ๐Ÿ“ฑ CCleaner (with caution, it can delete files you want) but no program will turn off preview creation entirely, they only make it easier to manually clean up.

๐Ÿ’ก

Thumb is not a virus, it's not a system bug, it's a tool that's designed to speed up the gallery, but it can and should be cleaned if it takes up too much space, and the key is not to delete the original photos or confuse them with other system folders.