TechBuzzPro

How to Hide WhatsApp Photos from Gallery

· 6 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can stop WhatsApp photos from appearing in your phone's gallery, and the exact method depends on your phone. On Android, the most reliable fix is to place a .nomedia file inside WhatsApp's media folders; on iPhone, WhatsApp media is saved inside the app and only appears in Photos if you have enabled saving to the camera roll. This guide covers both platforms, the settings to check first, and what to do when pictures still show up.

What You'll Need

  • Your phone with WhatsApp installed and up to date from the official app store.
  • A file manager app on Android (most phones include one; Google Files is a safe free option).
  • Access to your phone's Settings app.
  • About five minutes. No root, jailbreak, or unofficial apps are required.

Step-by-Step

The steps below are for Android first, because that is where WhatsApp photos most often leak into the gallery. iPhone steps follow. Menu labels can differ slightly by phone brand, Android version, or region, so treat the names as a guide and look for the closest match.

Android: Hide WhatsApp Photos from the Gallery

  1. Open your file manager and go to Internal storage.
  2. Open the WhatsApp folder, then Media. You will see subfolders such as WhatsApp Images, WhatsApp Video, WhatsApp Audio, and WhatsApp Voice Notes.
  3. In each media subfolder you want hidden, create a new empty file named exactly .nomedia (include the leading dot, no extension after it). In most file managers this is done through a New or Create menu, then File. If your file manager will not let you create a dot-file, use a plain text editor to save an empty file with that name and move it into the folder.
  4. Repeat for WhatsApp Images, WhatsApp Video, and any other folder whose contents you do not want scanned by the gallery.
  5. Restart your phone. The gallery app scans storage at startup, so a restart makes the change take effect immediately.
  6. Open your gallery app and confirm the WhatsApp folders are gone. If they remain, open the gallery's settings and look for a refresh or rescan option, or clear the gallery app's cache from Settings > Apps > [Gallery app] > Storage > Clear cache. Clearing cache does not delete your photos.

Note that .nomedia hides the folder from media scanners, not from file managers. Your photos still exist on the phone and remain visible inside WhatsApp chats. This is the intended behaviour: you are hiding them from the gallery, not deleting them.

Android: Stop New Downloads from Being Saved to the Gallery

  1. Open WhatsApp and go to Settings > Chats.
  2. Turn off Media visibility if your version of WhatsApp offers it. This option controls whether newly downloaded WhatsApp media appears in your phone's gallery. The label and location can vary by WhatsApp version, so if you do not see it, rely on the .nomedia method above.
  3. Also check Settings > Storage and data > Media auto-download and set photos, audio, and video to Never if you want to download media manually only. This does not hide existing files, but it reduces how much lands in the gallery going forward.

iPhone: Keep WhatsApp Photos Out of the Photos App

  1. Open WhatsApp and go to Settings (the gear icon).
  2. Open Chats and turn off Save to Camera Roll. With this off, photos you receive in chats stay inside WhatsApp and do not appear in the Photos app unless you tap the save option on an individual photo.
  3. If photos are already in the Photos app, open Photos, select the WhatsApp images, and delete them. They will go to Recently Deleted and be removed permanently after the usual retention period. Deleting from Photos does not remove the copy inside the WhatsApp chat.
  4. To hide existing WhatsApp albums from the Photos app without deleting them, select the WhatsApp album and use the hide option if your iOS version offers it. Album hiding is a display setting and can be reversed later.

Common Mistakes

  • Naming the file wrong. It must be .nomedia, not nomedia.txt or .nomedia.txt. If your file manager appends a hidden extension, the file will not work.
  • Putting the file in the wrong folder. It belongs inside each media subfolder, not just in the top-level WhatsApp folder.
  • Expecting the chat to change. Hiding from the gallery does not hide or delete anything inside WhatsApp. The photos remain in the conversation.
  • Forgetting to restart or rescan. Many galleries cache their index. A restart or cache clear is usually needed before the change shows.
  • Using third-party "vault" apps from outside official stores. These often request broad storage permissions and are not necessary for this task.

Tips

  • Create the .nomedia file once per folder; it stays in place across app updates and new downloads.
  • If you use a cloud backup, remember that hidden files may still be backed up. Hiding from the gallery is not the same as excluding a folder from backup.
  • On Android, you can also hide entire albums from within some gallery apps (for example, Samsung Gallery and Google Photos both offer album-hiding options). This is a per-app setting and does not affect other gallery apps.
  • If you only want to hide WhatsApp videos, you can apply .nomedia to the video folder alone and leave images visible.
  • Keep a note of which folders you modified so you can reverse the change later by deleting the .nomedia file.

Troubleshooting

If WhatsApp photos still appear in your gallery after following the steps, work through these checks in order.

  1. Confirm the file name and location. Open the folder in your file manager and check that a file named exactly .nomedia is present. Some file managers hide dot-files by default; enable "show hidden files" to verify.
  2. Restart the phone. A full restart forces most gallery apps to rebuild their index.
  3. Clear the gallery app's cache. Go to Settings > Apps > [Gallery app] > Storage > Clear cache. Do not choose Clear data unless you are prepared to lose the app's own settings; your photos are not deleted by either option.
  4. Check for a second gallery app. Many phones ship with two gallery apps, and each scans independently. Apply the same checks to the other app.
  5. Check cloud sync. Google Photos and similar services may show WhatsApp images that were uploaded before you made the change. Remove them from the cloud service separately if needed.
  6. Update WhatsApp and your gallery app from the official app store, then repeat the restart.

If none of this works, the simplest reliable fallback is to move the WhatsApp media folders to a location your gallery does not scan, or to use the gallery app's own album-hiding feature. Avoid deleting WhatsApp's folders outright, because that removes the media from your chats as well.

Frequently Asked Questions

Does hiding WhatsApp photos from the gallery delete them?

No. The files stay on your phone and remain visible inside WhatsApp chats. You are only stopping the gallery from indexing them.

Will this affect WhatsApp backups?

It can. A .nomedia file hides the folder from media scanners, but backup tools may still include the folder. Check your backup app's folder selection if you want to exclude WhatsApp media from backups.

Can I hide only some WhatsApp photos?

Not with .nomedia, which applies to a whole folder. To hide individual photos, move them into a separate folder that contains a .nomedia file, or use your gallery app's album-hiding feature.

Why do WhatsApp photos still show in Google Photos?

Google Photos may have already uploaded them to the cloud. Delete or archive those items in Google Photos, and turn off backup for the WhatsApp folder if the option is available in your version of the app.

Does this work on iPhone the same way?

No. iPhone does not use .nomedia. Instead, turn off Save to Camera Roll in WhatsApp's chat settings so new media stays inside the app.

Will WhatsApp stop working if I add a .nomedia file?

No. WhatsApp continues to send and receive media normally. The file only affects how other apps scan the folder.