Daily use of instant messengers inevitably leads to clogging the internal memory of a smartphone with hundreds of unnecessary pictures, screenshots and videos. Users often notice that the default Android gallery turns into a chaotic dump of images from work chats, promotional mailings and random cards from relatives. This is not just visual noise, but also a serious problem for the device’s performance, since the system is forced to constantly index new files.

This problem can be solved by changing the privacy settings and saving data within the messenger itself. WhatsApp. The process for disabling autosave differs depending on the version of the operating system Android and the specific build of the application, but the general principle remains the same. In this article, we will analyze in detail all the available methods, from simple switches in the menu to deep settings of access rights in the system.

It is important to understand that disabling the visibility of media files in the gallery does not completely remove them from the phone’s memory. They will still be stored in hidden application folders, taking up space, but they will no longer be an eyesore in the general album. To completely free up space, you will need additional steps to clear the cache, which we will also talk about below.

Media saving settings inside the WhatsApp application

The simplest and most obvious way to prevent new photos from appearing in your gallery is to use the built-in settings of the messenger. The developers WhatsApp have provided the ability to flexibly manage content loading for each chat separately or globally for all dialogues. This allows you to save important photos from loved ones, but ignore spam from group conversations.

To change global settings, you need to open the main application menu by clicking on the three dots in the upper right corner of the screen. Next, go to the section Settings, select item Chats and find the switch Media visibility. If this slider is active, all received images automatically go to the system gallery. Disabling this option will hide future media files from sharing, leaving them visible only within conversations.

However, more fine-tuning is often required when autosaving needs to be disabled only for specific workgroups or news channels. In this case, a global shutdown would be unnecessary. You can go to information about a specific chat by clicking on the contact or group name at the top of the screen and select Chat settings. There you will find a similar switch Media visibilitythat applies exclusively to this conversation.

  • 📸 Global disabling hides all new photos from the gallery for all chats at once.
  • 👥 Individual setting allows you to flexibly manage visibility for each contact separately.
  • 🔄 Reversibility —you can always return the setting to its original state if you change your mind.

⚠️ Attention: Changing media visibility settings only applies to files received after edited. Photos that had already been saved to the gallery before the function was disabled will remain there forever and require manual deletion.

It is worth noting that the menu interface may differ slightly on different Android firmware, such as MIUI, OneUI or ColorOS. Sometimes the "Media Visibility" option may be hidden in the "Privacy" submenu inside the chat settings. If you cannot find the switch you need, make sure that you have the latest version of the messenger installed from the official store Google Play.

📊 How often do you clean the gallery from WhatsApp garbage?
Daily
Once a week
Once a month
Never, there is enough space

Limiting access rights through Android system settings

Starting with version Android 10 and especially in Android 11, 12, 13 and 14, Google has tightened the policy for application access to the file system. You can now prevent WhatsApp from writing files to public folders at the system level, regardless of settings within the app itself. This is a more reliable method that ensures that no image appears in the gallery.

To implement this method, open the system Settings of your smartphone and go to the Applications or All applications. Find it in the list WhatsApp and click on it. Next, select Permissions (Permissions). Here we are interested in the category Photos and videos or Files and media, depending on the OS version.

Changing access rights from “Allowed” to “Forbidden” or “Ask” will create a barrier to writing files. However, there is an important nuance here: if you completely deny access to the storage, the messenger may stop downloading pictures correctly, even for viewing within the chat. Therefore, in modern versions of Android it is better to use selective access or set up special folders if such a function is supported by the shell.

☑️ Checking system rights

Done: 0 / 4

On some devices with shell Xiaomi MIUI or Realme UI there is an additional function “Autorun” or management of hidden folders. In these systems, you can set up a rule that automatically scans a folder as hidden. This does not prevent writing, but makes the files invisible to standard gallery applications without having to dig into system permissions. WhatsApp Images automatically scanned as hidden. This doesn't prevent writing, but it does make the files invisible to standard gallery apps without having to dig into system permissions.

Android Version Permission Type Recommended Action Risk of Crashing
Android 9 and below Storage Complete ban (not recommended) High
Android 10-11 Files and media Read only (if possible) Medium
Android 12-13 Photos and videos Blocking writing to shared folders Low
Android 14+ Partial access Selecting specific albums Minimum

Remember that manipulating system permissions may affect the ability to send photos from the gallery via WhatsApp. If you deny an application access to media files, the attach picture button may become inactive or display an error when you try to select a file. In this case, you will have to temporarily return the permission.

Using the .nomedia file to hide folders

If settings within the application and system permissions do not give the desired result, or you want to hide existing folders without deleting files, you can use the old proven Android method - creating a marker file .nomedia. This empty file tells the Media Scanner that there is no content in this directory to display in the gallery.

To do this, you will need any file manager, for example, the built-in “My Files” or an advanced one. Total Commander. Follow the path Internal memory/Android/media/com.whatsapp/WhatsApp/Media (on new Android) or Internal memory/WhatsApp/Media (on older versions). This is where all received images are stored.

Create a new text file in this folder and name it strictly .nomedia. Pay attention to the dot at the beginning of the name - this is critical, as it makes the file hidden. The file extension (.txt) does not need to be specified; the name must consist only of the word .nomedia. After creating the file, it is recommended to restart your smartphone so that the system updates the media database.

Why may the .nomedia file not work immediately?

The Media Scanner service in Android does not always respond to changes instantly. Sometimes you need to force clear the cache of the Media Storage application in the system settings or wait for several hours until a background process scans the file system again.

This method is universal and works on almost all versions of Android, regardless of the smartphone brand. It does not interfere with the work of the messenger itself: you will still be able to see and send photos inside WhatsApp chats. The only limitation is that these images will disappear from the gallery widgets and will not be offered when selecting photos in other applications through the standard selection interface.

⚠️ Attention: The file .nomedia hides the contents of only the folder in which it is located. If WhatsApp creates subfolders (for example, Sent for sent or Private), you may need to create a separate marker file in each of them for full effect.

Disabling autosave solves the problem of future receipts, but does not clear the “baggage” accumulated over months of use. To return the gallery to a neat appearance, you must manually delete old files. Simply selecting and deleting through the gallery can be time-consuming if there are thousands of photos.

A more efficient way is to use the built-in storage management tool in WhatsApp itself. Go to SettingsStorage and dataStorage management. Here you will see a list of chats sorted by space. You can select a specific dialog, click Select all or select files manually and then delete them.

When deleting through the messenger menu, you will have a choice: delete only from the chat or delete everywhere. To clear the gallery, just select the option to delete the file from the device. The system will offer to free up space, and the files will disappear both from the correspondence and from the system images folder.

  • 🗑️ Mass deletion Through storage settings, it saves time compared to manual cleaning.
  • 📊 Sorting by size helps to quickly find chats with heavy videos and photos.
  • 🛡️ Security —deleting through the app ensures file status is synchronized.

If you prefer to work with the file system directly, connect the phone to the computer in file transfer mode (MTP). Go to the folder WhatsApp Images and delete the contents through Windows or macOS Explorer. This is often faster, especially if you need to delete an entire year's worth of files at once.

💡

Before deleting old photos in bulk, back up important images to Google Drive or your computer. Recovering accidentally deleted family archives from WhatsApp chats can be extremely difficult or impossible.

Nuances of working on different versions of Android and shells

The Android ecosystem is extremely fragmented, and what works on “pure” Android Pixel may function differently on Samsung or Xiaomi smartphones. Manufacturers often modify file paths and the logic of the media scanner, which affects the process of disabling autosave.

On devices Samsung with shell One UI WhatsApp folders are often duplicated. Images can be saved in a standard path or in a special folder DCIM. Samsung's gallery settings have a "Hide Albums" feature that allows you to simply hide the WhatsApp folder from view without touching the files. This is a cosmetic solution, but very convenient for users of this ecosystem. Owners of smartphones are faced with aggressive memory optimization. Sometimes the system automatically hides folders with a large number of small files, considering them garbage. However, you should not rely on this. MIUI also has a “Locked Folder” function where you can move a WhatsApp album, additionally protecting it with a password or fingerprint.

Smartphone owners Xiaomi, Redmi And Poco face aggressive memory optimization. Sometimes the system automatically hides folders with a large number of small files, considering them garbage. However, you should not rely on this. MIUI also has a “Locked Folder” feature where you can move a WhatsApp album, further protecting it with a password or fingerprint.

On new versions of Android (13 and 14), the file access has changed to a more complex one: Android/media/com.whatsapp. Old instructions pointing to the root of internal memory can be misleading. If you do not find the WhatsApp folder at the old address, look for it in the Android system directory.

⚠️ Attention: Interfaces and file paths may change with security updates and new firmware versions. If the described paths do not match your device, use the file search in the manager by entering the name of any known picture from WhatsApp.

Frequently asked questions (FAQ)

Will a photo be deleted from the chat if I delete it from the gallery?

No, these are different copies of the file. Deleting an image from the system gallery through Explorer does not affect the messenger database. The photo will remain visible in correspondence. To delete it everywhere, you need to use the “Delete for everyone” function inside the chat or clearing the storage in the WhatsApp settings.

Is it possible to disable autosave only for videos, leaving photos?

Unfortunately, these settings cannot be separated using standard WhatsApp tools. The “Media Visibility” switch works comprehensively for all file types (photos, videos, audio, documents). For separate management, you will have to use third-party file managers or scripts, which requires Android administration skills.

Why are photos still visible after creating the .nomedia file?

The system caches thumbnails. Try clearing the Gallery and Media Storage app cache in your phone settings. Also make sure that the file is named correctly, with a period at the beginning, and does not have a .txt extension. Sometimes simply renaming the folder with images helps.

Will hidden photos take up less space on the phone?

No, the .nomedia file or the visibility setting only affects the display, and not the physical presence of the data. Files still take up space on the internal memory. To free up space, you need to delete files, not hide them.

How can I get all the settings back if I change my mind?

Simply turn on the “Media Visibility” switch in the WhatsApp chat settings. If you used a .nomedia file, delete it from the Media folder. After this, you may need to restart the device for the gallery to scan the directory again and display the images.

💡

A comprehensive approach to configuration (inside the application + system rights + .nomedia file) ensures maximum privacy and cleanliness of your gallery, but requires care when updating the system.