You noticed that the gallery on your Android smartphone has begun to work slower, and the free space on the device is melting in front of your eyes? This is often caused by thumbnails cached thumbnails of images and videos that the system creates for quick display in the gallery. These files can take up hundreds of megabytesand sometimes several gigabytes, especially if you actively use the camera or download media files.

Unlike the usual application cache, thumbnails are not always cleared by standard Android tools. They are stored in hidden folders, and their accumulation can lead not only to a lack of memory, but also to slowdown of the gallery, errors when viewing photos and even malfunctions of the media scanner. In this article we will look at all the current ways to clean thumbnails - from simple methods through settings to advanced solutions using ADB and third-party utilities.

What are thumbnails and why they need to be cleaned

Thumbnails (translated as โ€œthumbnailsโ€) are small copies of images and videos that Android creates automatically to speed up the loading of previews in the gallery. These files are stored in special folders:

  • ๐Ÿ“ /storage/emulated/0/DCIM/.thumbnails โ€” standard location for most devices
  • ๐Ÿ“ /data/data/com.android.providers.media/databases โ€” media scanner database (requires root access)
  • ๐Ÿ“ /storage/emulated/0/Pictures/.thumbnails โ€” alternative storage on some firmware

Why does their accumulation become a problem?

  • ๐Ÿ“‰ Take up space: on on devices with active use of the camera, the folder can grow to 1โ€“3 GB.
  • ๐Ÿข Slow down the gallery: with a large number of thumbnails, the application takes longer to load the preview.
  • ๐Ÿ”„ Conflict with updates: after the change firmware or resetting settings, old thumbnails can cause errors.
  • ๐Ÿ” Violate privacy: even after deleting the original photos, thumbnails may remain in the cache.

Android does not always correctly clear these files when deleted original media. For example, if you deleted a photo via Google Photosbut not from the device gallery, the thumbnails may remain in the cache.

๐Ÿ“Š How often do you clear the cache on Android?
Once a week
Once a month
Only when memory runs out
Never clear

Method 1: Cleaning through storage settings

The easiest method is to use the built-in Android tools. It is suitable for most devices on Android 8.0+ and does not require additional apps.

  1. Open Settings โ†’ Storage (on some devices the path may differ: Settings โ†’ Memory and backup copy โ†’ Memory).
  2. Click on the section "Other applications" or "Cache".
  3. Find in the list "Gallery" (or Google Photos, if you use it as the main application).
  4. Tap on the button "Clear cache".

This method deletes only the application cache, but does not affect the thumbnails files in the folders .thumbnails. To completely clear it, an additional step will be required:

  1. Return to the main menu Storage select "Files".
  2. Manually find the folders DCIM/.thumbnails and Pictures/.thumbnails, then delete their contents.
โš ๏ธ Attention: On some devices (for example Samsung with shell One UI) folders .thumbnails may be hidden. To see them, enable the display of hidden files in the file manager.

โ˜‘๏ธ Preparation to manual cleaning thumbnails

Done: 0 / 4

Method 2: Deleting through a file manager

If standard cleaning did not help, you can manually delete thumbnail files. For this, any file manager with access to hidden folders will do, for example:

  • ๐Ÿ“ฑ Files by Google (free, no extra). water)
  • ๐Ÿ“ฑ Solid Explorer (paid version with advanced features)
  • ๐Ÿ“ฑ FX File Explorer (supports root access)

Step-by-step guide:

  1. Install and open the file manager.
  2. Go to the root directory storage (usually /storage/emulated/0/).
  3. Enable the display of hidden files (in Files by Google: โ‹ฎ โ†’ Settings โ†’ Show hidden files).
  4. Find folders:
    /DCIM/.thumbnails
    

    /Pictures/.thumbnails

    /Android/data/com.android.gallery3d/cache

  5. Select all files inside these folders and delete them.
  6. Reboot your device.

After restarting, Android will automatically recreate the thumbnails the next time you open the gallery. This process may take several minutes depending on the number of media files.

What to do if the .thumbnails folder is not visible?

If a file manager is not enough, try connecting your smartphone to your PC via USB in file transfer mode (MTP). On Windows, enable the display of hidden files in Explorer: View โ†’ Hidden items. On Mac, use Android File Transfer or Commander One.

Folder with thumbnails Size (approximate) Can I delete Root required
/DCIM/.thumbnails 100 MB - 1 GB Yes No
/Pictures/.thumbnails 50 MB โ€“ 500 MB Yes No
/Android/data/com.android.gallery3d/cache 50 MB โ€“ 300 MB Yes No
/data/data/com.android.providers.media/databases 10 MB - 100 MB Partially Yes

Method 3: Using ADB for deep cleaning

If you are familiar c Android Debug Bridge (ADB), you can delete thumbnails via the command line. This method is useful when:

  • ๐Ÿ”’ Folders are not deleted through the file manager (access errors).
  • ๐Ÿ“ฑ The device is not rooted, but you need to clear the system caches.
  • ๐Ÿ”„ Automation is required (for example, for regular cleaning).

Instructions:

  1. Install ADB on PC (download Platform Tools from Google).
  2. Enable USB debugging on your smartphone: Settings โ†’ About phone โ†’ Build number (tap 7 times), then Settings โ†’ System โ†’ For developers โ†’ USB debugging.
  3. Connect the device to the PC and run the commands:
    adb shell
    

    su (if root)

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

    rm -rf /storage/emulated/0/Pictures/.thumbnails/*

    pm clear com.android.providers.media

โš ๏ธ Attention: Command pm clear com.android.providers.media reset settings After the media scanner is completed, the gallery may temporarily not display new files until the system scans the storage again (usually takes 5-15 minutes).
๐Ÿ’ก

If ADB displays the โ€œdevice unauthorizedโ€ error, check the debugging permission request on the smartphone screen. Sometimes it is hidden under other notifications - swipe down the notification panel and confirm. access.

Method 4: Applications for automatic cleaning

If manual methods seem complicated, you can use specialized utilities. They not only remove thumbnails, but also optimize other types of cache.

Application Functions Root access Rating (Google Play)
SD Maid Cleaning thumbnails, duplicates, cache Optional 4.6
CCleaner Cache removal, memory optimization No 4.4
Files by Google Manual cleaning, storage analysis No 4.7
Clean Master Auto cleaning, system acceleration No 4.3

How to use SD Maid (recommended option):

  1. Download and install the application from Google Play.
  2. Run and provide the necessary permissions.
  3. Go to the section "Trash" (Explorer).
  4. Find the folders .thumbnails and delete their contents.
  5. In the section "System cleaning" (System Cleanerselect Media storage and execute scanning.

SD Maid also allows you to configure automatic clearing on a schedule, which is convenient for regular device maintenance.

๐Ÿ’ก

Applications like CCleaner or Clean Master often aggressively clear the cache, which can lead to data being re-downloaded. Use them carefully and do not enable auto-cleaning for system applications.

Method 5: Resetting the media scanner settings (for experienced ones)

If after cleaning the thumbnails the gallery still does not work correctly (for example, it does not display new photos or shows old thumbnails), you may need to reset the media scanner database. This method removes all media file tags, forcing the system to rescan the storage from scratch.

Instructions:

  1. Open Settings โ†’ Applications.
  2. Find the application "Multimedia storage" (Media Storage) or "Google Photos" (if used as the main gallery).
  3. Click "Storage" โ†’ "Space Management" โ†’ "Clear all data".
  4. Confirm the action.

After reset:

  • ๐Ÿ”„ Gallery temporarily will become empty.
  • ๐Ÿ•’ After 5โ€“30 minutes (depending on the volume of media), the files will appear again.
  • ๐Ÿ“ Folders and files on the device will not be deleted, but albums and tags may be reset.
โš ๏ธ Attention: On devices with MIUI (Xiaomi) or ColorOS (Oppo) resetting the media scanner may cause thumbnails to disappear in system applications (for example, in Mi Gallery). In this case, only a reboot or rescanning will help through Settings โ†’ Advanced โ†’ Scanning media files.

How to prevent the accumulation of thumbnails in the future

So as not to clear the thumbnails every time week, follow these tips:

  • ๐Ÿ“ค Regularly transfer photos to a PC or cloud (Google Photos, Yandex Drive).
  • ๐Ÿ—‘๏ธ Use automatic cache clearing in applications like SD Maid.
  • ๐Ÿšซ Disable automatic creation of thumbnails (on some firmware this can be done via Settings โ†’ Advanced โ†’ Media scanner).
  • ๐Ÿ”„ Reboot your device periodically - this resets temporary caches.

For users Google Photos:

  1. Open the application and go to Settings โ†’ Free up space.
  2. Click "Clear" โ€”this will delete local copies of photos that have already been uploaded to the cloud.
  3. Enable the option "Delete copies after downloading"so that the originals are not duplicated.

If you often work with a large amount of media (for example, a photographer or video blogger), consider using external). drive (microSD or SSD via OTG). This will reduce the load on the internal memory and reduce the amount of thumbnails created.

FAQ: Frequently asked questions about cleaning thumbnails

Is it possible to delete thumbnails without rebooting the device?

Yes, but after deleting the folders .thumbnails the gallery may be unstable until the system re-creates the thumbnails. Reboot. speeds up this process. If you donโ€™t want to reboot, wait for the automatic scanning (it can take up to an hour).

Why did the gallery start to slow down after cleaning the thumbnails?

This is a temporary phenomenon. After deleting the thumbnails, Android rescans all media files, which requires resources. After 10-30 minutes, the gallery will normalize. If the brakes remain, check the free space on your phone. device or try resetting the media scanner settings (described in Method 5).

Is it safe to delete the .thumbnails folder on the memory card (SD)?

Yes, but note that on some devices (for example, Samsung c Adoptable Storage) The SD card can be integrated into the system. In this case, it is better to use a file manager with root access or ADB to avoid errors. If the card is used as portable storage, feel free to delete the thumbnails - they will be recreated.

How to clear thumbnails on Android TV or tablet?

The process is identical to smartphones. On Android TV use a file manager (for example, FX File Explorer) or ADB. The folder paths are the same: /DCIM/.thumbnails and /Pictures/.thumbnails. data-i="259">(for example, stock Android (For example, Nexus or Pixel) you can use Method 1 or Method 2 without additional settings.

What to do if, after clearing the thumbnails, the photos in the gallery are missing?

This means that you deleted not the thumbnails, but the original files. Check the trash in the gallery or use data recovery apps (for example, DiskDigger or Recuva when connecting to a PC). In the future, before cleaning, make backups via Google Photos or Local Backup.