How to Hide Files and Folders on Android
In this article
Hiding files and folders on your Android phone is a simple way to keep sensitive documents, personal photos, or work files out of sight from anyone who borrows your device. This guide covers the built-in methods that work on most Android versions, plus a few app-based options for extra privacy. No root access is required, and you won’t need any special skills—just a few taps in your file manager or settings.
What You'll Need
- An Android smartphone (any recent version, from Android 8 to the latest)
- A file manager app (most phones come with one pre-installed, like Files by Google, Samsung My Files, or Xiaomi File Manager)
- Optional: a third-party app like Google Files or Solid Explorer if you prefer more features
- Optional: a lock screen PIN or pattern to protect hidden items with app-level security
Step-by-Step
Method 1: Hide Files with a Dot Prefix (Works in Most File Managers)
- Open your file manager app. If you don’t have one, install “Files by Google” from the Play Store—it’s free and works on all Android phones.
- Navigate to the folder that contains the file or folder you want to hide. For example, open Internal Storage or SD Card.
- Create a new folder if you want to hide multiple items together. Tap the “+” or “New folder” button, then name it with a period at the beginning, like .hidden or .private. The dot makes Android treat it as a hidden system folder.
- Move the files or folders you want to hide into this new hidden folder. Long-press an item, tap “Move” or “Cut,” then paste it inside the hidden folder.
- After moving, the folder will disappear from the main view in most file managers. To see it again, you’ll need to enable “Show hidden files” in the file manager’s settings (usually a three-dot menu or a toggle in the top-right).
Method 2: Use the Built-in “Hide” Feature in Samsung or Other OEM File Managers
- Open the default file manager on your phone (e.g., “My Files” on Samsung).
- Navigate to the file or folder you want to hide.
- Long-press the item to select it, then tap the three-dot menu (⋮) in the top-right corner.
- Look for an option called “Hide” or “Move to Private”. On Samsung, you might need to tap “More” first, then “Hide.”
- Confirm your choice. The item will be moved to a private area that’s only accessible with your fingerprint, PIN, or password.
Method 3: Hide Files Using a Third-Party App (Google Files or Solid Explorer)
- Install “Files by Google” or “Solid Explorer” from the Play Store.
- Open the app and navigate to the file or folder you want to hide.
- In Files by Google: tap the three-dot menu next to the item, then select “Move to Safe folder”. You’ll be asked to set a 4-digit PIN the first time. The item is now encrypted and hidden from other apps.
- In Solid Explorer: long-press the item, tap the three-dot menu, then select “Hide”. The file will be moved to a hidden folder that only appears when you enable “Show hidden files” in the app’s settings.
Method 4: Hide Photos and Videos in Google Photos (If You Use It)
- Open the Google Photos app on your phone.
- Select the photos or videos you want to hide by long-pressing them.
- Tap the three-dot menu and choose “Move to Archive”. Archived items are removed from your main photo feed but still exist in the “Archive” section.
- To make them truly private, you can also use the “Locked Folder” feature (available in Google Photos on most devices). Tap “Library” → “Utilities” → “Locked Folder” and add photos there. They’ll be hidden and require your device PIN to view.
Common Mistakes
- Forgetting to enable “Show hidden files”—if you can’t see a hidden folder you made, it’s because the file manager is hiding it by default. You’ll need to toggle that setting to access it again.
- Using a dot prefix on a file that’s already visible—the dot trick only works if the file manager respects the hidden attribute. Some third-party apps ignore it, so test it first.
- Hiding files in a folder that’s synced to cloud—if you have Google Drive or OneDrive sync enabled, hidden files might still be uploaded and visible online. Disable sync for that folder or use a dedicated private folder.
- Not backing up hidden files—if you reset your phone or uninstall the file manager, hidden files may be lost. Always keep a backup in a secure location.
Tips
- For maximum privacy, combine the dot-prefix method with a lock screen PIN. That way, even if someone enables “show hidden files,” they still can’t open the folder without your device password.
- Use a dedicated “Private” or “Safe” folder feature if your phone’s file manager has one—it’s more secure because it encrypts the files.
- If you hide a folder, remember that some apps (like gallery apps) may still show thumbnails of images inside it if the folder is indexed. Use a .nomedia file in the hidden folder to prevent media scanning. Create a blank file named .nomedia and place it in the hidden folder—this tells Android’s media scanner to ignore it.
- Test the hiding method with a dummy file first to make sure you can still access it later.
Troubleshooting
I can’t see my hidden folder anymore
Open your file manager, tap the three-dot menu (usually top-right), and select “Settings” or “Show hidden files”. Toggle it on. If you don’t see that option, try using the search bar in the file manager—it might still find the folder.
Hidden files show up in other apps
If your photos appear in the gallery even after hiding, create a file named .nomedia inside the hidden folder. Use a text editor or a file manager to create a new file with that exact name (no extension). Then restart your phone or clear the gallery app’s cache to rescan.
The “Hide” option is missing in my file manager
Not all file managers have a hide button. Use the dot-prefix method instead, or install a third-party file manager like Solid Explorer or Files by Google, which both support hiding.
I forgot my PIN for the Safe folder in Google Files
There’s no way to recover the PIN—it’s encrypted. You’ll have to reset the Safe folder, which will permanently delete the files inside. To avoid this, write down your PIN in a secure place or use a pattern you won’t forget.
Hidden files still appear in cloud backups
Cloud backup apps often ignore hidden attributes. Move the files to a folder that’s excluded from backup, or use a private folder feature that’s not synced.
Frequently Asked Questions
Can I hide files without any app?
Yes. The dot-prefix method (adding a period to the folder name) works with most built-in file managers and requires no third-party app. However, it’s not encrypted—anyone who enables “show hidden files” can see the folder.
Are hidden files safe from other people?
Hidden files are only hidden from casual browsing. They are not encrypted unless you use a private/safe folder feature or a third-party app that encrypts them. For true security, use a locked folder with a PIN.
Will hiding files free up storage space?
No. Hiding only changes visibility; it does not delete or compress the files. They still occupy the same amount of storage.
Can I hide files on an SD card?
Yes. The same dot-prefix method works on SD cards. However, some file managers may not show hidden files on external storage by default, so you’ll need to enable “show hidden files” in the app settings.
What is a .nomedia file and how do I create it?
A .nomedia file is a blank file that tells Android’s media scanner to ignore the folder it’s in. To create it, open a file manager, navigate to the folder, tap “New file,” name it .nomedia (no extension), and save. This prevents photos and videos in that folder from appearing in gallery apps.
Does hiding files work on all Android versions?
Yes, the dot-prefix and .nomedia methods work on all Android versions. The built-in “hide” feature in file managers may vary, but the core methods are universal.