Files by Google Safe folder, and how not to lose what's in it.
Open Files by Google, scroll to Collections, tap Safe folder and choose a PIN or pattern. Files you move there are hidden and locked, but a forgotten PIN can't be recovered and Safe folder has no backup.
Last reviewed 14 November 2026
Safe folder is a locked folder inside the Files by Google app. To set it up, open Files by Google, scroll to Collections, tap Safe folder, then choose PIN or Pattern. To hide a photo, touch and hold it, tap More, then Move to Safe folder. It needs Android 8.0 or later.
Before you move anything you can’t replace, know two things from Google’s help page. If you forget the PIN or pattern, you can’t get your files back. And Safe folder has no Back up to Google Drive option, so the copy inside may be your only one.
What Safe folder is
Safe folder is a feature of the Files by Google app, not a separate app. Google says it keeps your files secure using Android storage with encryption. Files inside:
- don’t show in Files by Google’s search results or categories;
- can’t be opened by any third-party app;
- can’t be shared or backed up to Google Drive from inside the folder;
- can’t be screenshotted while the folder is open.
It holds files, not apps. Google says installed apps can’t be moved into it. To hide an app, see how to hide apps on Android.
People often call it “secure folder”, but Secure Folder is a different, Samsung-only feature. If that’s the one you mean, see the Samsung Secure Folder guide.
Safe folder, Locked Folder and private space
Google offers three places to hide photos on Android, and they’re easy to mix up.
| Safe folder | Locked Folder | Private space | |
|---|---|---|---|
| Lives in | Files by Google | Google Photos | Your app list, set up in Settings |
| Needs | Android 8.0+ | Android 6+ | Android 15+, if the maker supports it |
| Lock | Its own PIN or pattern | Your screen lock | Its own lock or your screen lock |
| Backup | None from inside it | Optional, to Google Photos | Not in device backup |
| If you forget its lock | No access; reset deletes the files | It’s your screen lock | No access; reset deletes the space |
Safe folder is the only one of the three with a lock that’s always separate from your screen lock. That’s its main strength: someone who knows your phone’s PIN still can’t open it. The trade-off is that nothing in it is backed up. If you want backup, Google Photos Locked Folder offers it.
Set up Safe folder
- Open the Files by Google app.
- Scroll to Collections and tap Safe folder.
- Tap PIN or Pattern.
- Enter your PIN or draw your pattern, tap Next, enter it again on the Confirm screen, and tap Next.
- On the Remember your PIN (or Remember your pattern) screen, tap Got it.
Write the PIN or pattern down somewhere safe before you move anything in. There is no reset link and no account recovery.
Move photos and files into Safe folder
- Open Files by Google and find the files.
- In grid view, touch and hold the files, then at the top tap More, then Move to Safe folder.
- In list view, tap More, then Move to Safe folder next to one file. For several, tap More, then Select, check each file, and tap More, then Move to Safe folder.
- Enter your PIN or draw your pattern.
Safe folder only covers the file on this phone. Google’s page doesn’t mention other copies, such as photos already backed up to Google Photos or sent in a chat. Check those separately.
Open Safe folder
Open Files by Google, scroll to Collections, tap Safe folder, and enter your PIN or draw your pattern. It isn’t in your Gallery or in Google Photos.
Move files out of Safe folder
- Open Safe folder and unlock it.
- In grid view, press and hold a file (tap the circles to select more), then at the top right tap More, then Move out of Safe folder.
- In list view, tap More next to the file, then Move out of Safe folder.
Google says files go back to their original location, and if that folder no longer exists, it’s recreated. Stay in Safe folder until the move finishes. If you close it or switch apps, the move is canceled and the file stays inside.
If you’re moving a photo out to send it, you can remove its location and camera data first.
Change your Safe folder PIN or pattern
- In Files by Google, tap Menu at the top left, then Settings.
- Tap Safe folder, then Change lock.
- Enter your current PIN or pattern.
- Choose PIN or Pattern, set the new one, confirm it, and tap Got it.
Forgot your Safe folder PIN or pattern
Google’s help page is direct: if you forget your PIN or pattern, you can’t access your files. There’s no Google Account recovery and no “forgot PIN” link.
The only option Google lists is a reset, and a reset permanently deletes everything in Safe folder. Only do this if you’ve accepted that the files are gone:
- In Files by Google, tap Menu, then Settings.
- Tap Safe folder, then Reset your Safe folder.
- In the confirmation dialog, tap Reset.
Before you reset, keep trying the PINs and patterns you might have used, and check whether copies exist elsewhere, such as in Google Photos or a chat app. If the folder you forgot is Samsung’s, read forgot your Secure Folder password instead. Samsung’s can be reset with a Samsung account if that option was turned on.
What can lose your Safe folder files
Google says that on rare occasions files in Safe folder can become corrupt or get deleted, and then no one can open them, Files by Google included. To protect them, Google says not to:
- clear storage or cache with other apps;
- plug in an SD card with Safe folder files from another phone;
- copy the encrypted Safe folder files from an old phone to a new one.
Google’s page has no steps for moving Safe folder to a new phone, and doesn’t say what happens if you uninstall Files by Google or reset the phone. With no backup, the safe route is the same each time: move the files out first, copy them to the new phone or a backup as ordinary files, then move them into Safe folder again.
Don’t make Safe folder the only place you keep a photo you can’t lose.
What Safe folder protects, and what it doesn’t
What it does well. It’s part of Files by Google, so there’s nothing else to install, and its lock is separate from your screen lock. A partner or friend who knows your phone’s PIN, or who borrows your unlocked phone, can’t open it.
What it doesn’t protect against:
- Someone who reaches the phone’s storage. Google says anyone who gains unauthorized access to your device’s internal storage may be able to access the files.
- Someone who knows your Safe folder PIN. A short or obvious PIN is easy to guess. A pattern traced on a smudged screen can be too.
- Losing the phone. There’s no backup from inside Safe folder, so a lost or broken phone takes the files with it.
- Copies elsewhere. Backups in Google Photos, photos you sent in chats, and copies on other devices are untouched.
Google’s page doesn’t say how the encryption works or where the key is kept, so this guide doesn’t either.
Is there a Secure Folder on Google Pixel?
Not by that name. Secure Folder is a Samsung feature. On a Pixel or another Android phone, Google’s options are Safe folder in Files by Google, Locked Folder in Google Photos, and, on Android 15 and later, Android private space, which can hide apps as well as files behind a second lock. For a side-by-side look at every built-in option, see how to hide photos on Android.
Questions
Is Safe folder in Google Photos?
No. Safe folder is in the Files by Google app. Google Photos has its own feature, Locked Folder, which uses your screen lock instead of a separate PIN.
Can I back up Safe folder to Google Drive?
Not from inside it. Google says Back up to Google Drive isn’t available in Safe folder. Move a file out first, then back it up.
Does Safe folder work with an SD card?
Google’s page only says not to plug in an SD card that holds Safe folder files from another phone.
Sources
Checked against these official pages on 14 November 2026.