How to disable saving photos from WhatsApp to the gallery on Xiaomi: 5 working ways

Xiaomiโ€™s MIUI-based smartphones automatically store all of the photos and videos you receive on WhatsApp into a standard gallery of devices, which is convenient if you want to quickly access media files, but over time leads to thousands of unnecessary photos littering your memory, and itโ€™s especially annoying when the gallery has memes, stickers or random screenshots from chats you never planned to save.

To make matters worse, autosave works by default โ€” many users donโ€™t even know it exists until they notice that the free space on their phone is melting away. In this article, weโ€™ll look at 5 proven ways to disable WhatsApp photos from uploading to a gallery on Xiaomi, including hidden MIUI settings that arenโ€™t obvious at first glance. Youโ€™ll learn how to set up saving selectively (only for certain chats), completely disable the feature, or even delete files already saved without losing important data.

The reason is that MIUI and the messenger itself work, and WhatsApp creates a WhatsApp/Media folder on the phone, where it puts all the media files it receives, while Xiaomi scans all the folders on the device and adds their contents to the gallery โ€” even if you didnโ€™t open those files.

Key points:

  • ๐Ÿ“ folder WhatsApp/Media โ€” The main source of "garbage" is the subfolders WhatsApp Images, WhatsApp Video and other.
  • ๐Ÿ”„ MIUI Updates the gallery in the background, so new files appear almost instantly.
  • ๐Ÿ“ฑ On some Xiaomi models (e.g. Redmi Note 10 Pro) POCO X3 Pro) auto-save function is enabled at firmware level.
  • ๐Ÿ”’ Even if you disable saving in WhatsApp settings, old files will remain in the gallery.

Interesting fact: on the iPhone, this is not a problem โ€” WhatsApp only stores media in its cloud storage. But on Android (and Xiaomi in particular), the logic is different: the manufacturer believes that it is more convenient for the user to have all the files at hand, but in practice this often leads to overflowing memory and chaos in the gallery.

๐Ÿ“Š How often do you experience memory filling because of WhatsApp?
Constantly.
Sometimes.
It used to be, but it solved the problem.
Never.

Method 1: Disable auto-save in WhatsApp settings

The easiest method is to use the messengerโ€™s built-in settings, which are suitable for users who want to completely disable automatic saving for all chats.

Instructions:

  1. Open WhatsApp and tap on three dots in the upper right corner.
  2. Select Settings โ†’ Chat.
  3. Find the Visibility of Media Files (or Saving to Gallery in older versions).
  4. Uncheck the option to Save incoming media files.

โš ๏ธ Warning: This doesn't delete files that are already saved, it only prevents new ones from appearing, and to clean the gallery, you have to manually delete the folder. WhatsApp/Media or use the method 5.

Chat settings open|The item "Visibility of media files" was found"|Check off the save option removed|Reboot the phone to apply changes-->

On some MIUI firmware (such as Xiaomi 12T or Redmi K50), this item may be called differently or on a different menu. If you can't find it, try updating WhatsApp to the latest version via Google Play.

Method 2: Set up for individual chats

If you want to save media only from important chats (such as close or work contacts) and ignore the rest, use custom settings.

How to set up:

  1. Open the desired chat on WhatsApp.
  2. Slip on the contact name or group name at the top of the screen.
  3. Select Visibility of Media Files (or Media, Links, and Documents).
  4. Activate the Save to Gallery switch for important chats and turn off for others.

๐Ÿ’ก Useful tip: Create a separate group for important contacts and turn on saving only for it. So you do not miss important photos, but avoid cluttering the gallery.

Action.The resultSuitable for
Disable saving for all chatsNew media will not appear in the galleryThose who donโ€™t want to keep anything.
Enable save only for selected chatsThe gallery will only have photos from important contacts.Those who want to filter the content
Leave the default settingsAll media is saved automaticallyThose who do not monitor the phone memory

This is useful if you actively use WhatsApp for work and personal correspondence, for example, you can save photos from customers or colleagues, but ignore memes from family chat.

If you canโ€™t disable autosave (or want to leave files on your phone but hide them from the gallery), you can add an empty.nomedia file to your WhatsApp/Media folder, which will cause MIUI to ignore its contents.

Step-by-step:

  1. Install any file manager with access to hidden files (such as Solid Explorer or FX File Explorer).
  2. Go to /storage/emulated/0/WhatsApp/Media/.
  3. Create a new text file and call it.nomedia (a point at the beginning is a must!).
  4. Reboot the phone.

โš ๏ธ Warning: After that, all the media from WhatsApp will disappear from the gallery, but will remain in the memory of the phone. To return them back, delete the.nomedia file and restart the device.

What to do if the.nomedia file is not working?
If the media from WhatsApp is still displayed in the gallery after you create the file, check: 1. Is the file correctly named (point at the beginning, without extension). 2. Is it located at the root of the Media folder, not in the subfolders. 3. Update the gallery data: open it, pull it down for an update or clear the cache in the Gallery application settings. 4. Some MIUI firmware (for example, MIUI 14) may also need to create.nomedia in each subfolder (WhatsApp Video Images, etc.).

This method doesn't delete files, it only hides them from being scanned. If you need to make room, use Method 5.

Method 4: Using MIUI settings to exclude folders

MIUI has a hidden feature in the firmware that allows you to exclude certain folders from the gallery scanning, which works on most Xiaomi, Redmi and POCO models with the MIUI 12 firmware version and later.

How to set up:

  1. Open the Gallery app.
  2. Slip on three dots in the upper right corner and select Settings.
  3. Find the Manage folders or Hidden folders (the name may vary).
  4. In the list, find the WhatsApp folder and turn off its display.

On some devices (such as Xiaomi 11T or Redmi Note 11), this item may be called Excluded Folders or Folder Filter. If you can't find it, try updating the Gallery app through Google Play.

๐Ÿ’ก

If the gallery settings do not have the option โ€œFolder Managementโ€, try an alternative way: open any photo from WhatsApp in the gallery, tap on three points โ†’ โ€œInformationโ€ โ†’ โ€œHide the folderโ€.

The advantage of this method is that it doesn't affect the files themselves -- they stay in place, but they don't show up in the main gallery. You can always return them back if you need to.

Method 5: Completely clean and disable via file system

If you want to not only disable auto-save, but also remove all previously saved media from WhatsApp, follow this instruction. It is suitable for users who want to completely clear the phone of unnecessary files.

What needs to be done:

  1. Connect your phone to your PC via USB (in file transfer mode).
  2. Go to the internal memory folder โ†’ WhatsApp โ†’ Media.
  3. Remove all subfolders (WhatsApp Images, WhatsApp Video, etc.) or transfer them to your computer for backup.
  4. Return to Method 1 and turn off autosave in WhatsApp settings.

โš ๏ธ Attention: Deleting folders permanently erases all media files, including those you may want to save. Before cleaning, check the contents of the folders for important photos or videos!

After cleaning, it is recommended:

  • ๐Ÿงน Clear the gallery cache: Settings โ†’ Annexes โ†’ gallery โ†’ Warehouse โ†’ Clear the cache.
  • ๐Ÿ”„ Reboot your phone to make the changes take effect.
  • ๐Ÿ“ Create a.nomedia file (as in Method 3) so that new files donโ€™t appear in the gallery.

๐Ÿ’ก

The combination of Method 5 (clean up) + Method 1 (disable autosave) + Method 3 (.nomedia file) gives a 100% guarantee that the gallery will no longer be cluttered by media from WhatsApp.

More Memory Management Tips on Xiaomi

Even after disabling auto-save, WhatsApp can take up a lot of space due to cache and backups. Here are some life hacks to optimize:

  • ๐Ÿ—‘๏ธ Clearing WhatsApp cache: Go to Settings โ†’ Annexes โ†’ WhatsApp โ†’ Warehouse โ†’ Clear the cache, it will delete the temporary files without losing correspondence.
  • โ˜๏ธ Disable Autoboot in Mobile Data: In WhatsApp settings (Storage and Data section), limit media downloads to Wi-Fi only.

On models with MIUI 13/14 (such as Xiaomi 13 Pro or Redmi K60), there is a Deep Clean feature that deletes residual application files. Run it through Settings โ†’ About Phone โ†’ Memory โ†’ Deep Clean.

If you share large files on WhatsApp frequently, consider alternatives:

  • ๐Ÿ“Ž Use Google Drive or Telegram (with Save to the Cloud) to transfer large media.
  • ๐Ÿ“ค Set up an automatic upload of photos to Google Photos, then delete local copies.

Frequent Questions (FAQ)

After the auto-save is turned off, new photos still appear in the gallery.
Check: Update WhatsApp to the latest version, in older versions of the save bug. Remove the WhatsApp/Media folder manually (see Method 5). Create a.nomedia file at the root of the WhatsApp folder. Reboot your phone - sometimes changes only apply after a reboot. If the problem persists, reset WhatsApp settings (but this will delete chat history!).
Can I save a photo from WhatsApp to the gallery selectively without turning off auto-save?
Yes! To do this: Open your photos in WhatsApp chat. Tap three dots in the top right corner. Select Save (or Export in new versions) and save them to Download or Pictures, bypassing auto-save.
How to return deleted photos from WhatsApp if they are missing from the gallery?
If files were deleted less than 30 days ago: Check the Recycle Bin in the Gallery app (Baskbasket section or recently deleted). Use data recovery software (e.g. DiskDigger or Recuva on PC). If backups of Google Photos are enabled, check the web version of photos.google.com. โš ๏ธ After deleting, do not save new files to your phone โ€“ this reduces the chances of recovery!
Will.nomedia work on all Xiaomi models?
The.nomedia file should work on all Android devices, but there are nuances: MIUI 12 and later sometimes requires a phone reboot. Some models (such as POCO F3) need to create.nomedia in each subfolder (WhatsApp Images, WhatsApp Video, etc.). If you use a third-party gallery (such as Google Photos), the file may not work - check the settings of this application.
How to disable auto-save videos from WhatsApp, but leave a photo?
Unfortunately, WhatsApp doesn't have a separate setting for photos and videos, but you can: Turn off autosave completely (see Method 1). Save photos manually (long tap โ†’ Save). Use the.nomedia file only for the WhatsApp Video folder, leaving WhatsApp Images unchanged.