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.
Why WhatsApp saves photos to Xiaomi Gallery automatically
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.
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:
- Open WhatsApp and tap on three dots in the upper right corner.
- Select Settings โ Chat.
- Find the Visibility of Media Files (or Saving to Gallery in older versions).
- 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:
- Open the desired chat on WhatsApp.
- Slip on the contact name or group name at the top of the screen.
- Select Visibility of Media Files (or Media, Links, and Documents).
- 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 result | Suitable for |
|---|---|---|
| Disable saving for all chats | New media will not appear in the gallery | Those who donโt want to keep anything. |
| Enable save only for selected chats | The gallery will only have photos from important contacts. | Those who want to filter the content |
| Leave the default settings | All media is saved automatically | Those 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.
Method 3: Hiding WhatsApp folder from Xiaomi Gallery
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:
- Install any file manager with access to hidden files (such as Solid Explorer or FX File Explorer).
- Go to /storage/emulated/0/WhatsApp/Media/.
- Create a new text file and call it.nomedia (a point at the beginning is a must!).
- 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?
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:
- Open the Gallery app.
- Slip on three dots in the upper right corner and select Settings.
- Find the Manage folders or Hidden folders (the name may vary).
- 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:
- Connect your phone to your PC via USB (in file transfer mode).
- Go to the internal memory folder โ WhatsApp โ Media.
- Remove all subfolders (WhatsApp Images, WhatsApp Video, etc.) or transfer them to your computer for backup.
- 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.