Use Android Guest Mode to safely lend your phone to others without exposing your contacts, messages, photos, or apps. This isolated user profile keeps your personal data completely hidden while allowing guests to make calls, browse the web, and use basic functions.
What is Android Guest Mode?
Guest Mode creates a completely isolated user profile on your Android device. When someone accesses your phone in Guest Mode, they see a clean slate with no access to your apps, files, contacts, messages, or settings. The guest user can browse the web, make calls, and use basic apps, but everything they do is separated from your main account.
This isolation works at the Android user profile level, which means:
- Guest data is stored in a separate partition
- Your apps and their data remain inaccessible
- Browser history and downloads from the guest session do not appear in your account
- Any changes made to settings affect only the guest session
How to Activate Guest Mode
Method 1: Quick Settings Tiles
The fastest way to switch to Guest Mode on most Android devices:
- Swipe down from the top of your screen to open Quick Settings
- Look for your user avatar in the status bar (usually top-right)
- Tap the avatar to open the user switcher
- Select “Add guest” or “Switch to guest”
Method 2: Settings Menu
For more control or if Quick Settings tiles are customized:
- Open Settings
- Navigate to System → Multiple users (or Users & accounts → Users)
- Enable “Allow multiple users” if prompted
- Tap “Add user” and select “Guest”
- The device switches to Guest Mode automatically
Method 3: ADB Command-Line Activation
For developers who want to script or automate this process:
# List current users
adb shell pm list users
# Switch to guest user
adb shell am switch-user 10
# Create a new guest session (user ID 10 is typically guest)
adb shell pm create-user --guest guest_name
# Remove guest user when done
adb shell pm remove-user 10
The user ID for guest may vary depending on your device. Run adb shell pm list users to see available users and their IDs.
Automating Guest Mode with Tasker
Power users can automate Guest Mode switching for convenience. Here’s a Tasker profile example:
Profile: Auto-Switch to Guest on Lock Screen
Event: Display Cleared
- From: On (keyguard becomes hidden)
Enter Task:
1. Variable Set: %GUEST_MODE to "1"
2. If %PACTIVE ~ "*guest*"
3. HTTP Post: server=https://your-home-server/api/lockdown
4. End If
Exit Task:
1. If %GUEST_MODE = "1"
2. Wait 2 seconds
3. Action: Launch App (select browser or phone only)
4. Variable Clear: %GUEST_MODE
5. End If
This ensures that when you hand your phone to someone, only basic apps launch automatically.
What Gets Protected in Guest Mode
Understanding what data remains private helps you configure Guest Mode appropriately:
Fully Protected
- All installed applications and their data
- Contacts and call history
- SMS and messaging app conversations
- Photos, videos, and files in internal storage
- Browser bookmarks and saved passwords
- App notifications and notification history
- Device settings and preferences
Partially Accessible
- Storage Some Android versions allow guests to use external SD cards with limitations
- Wi-Fi Guests can connect to Wi-Fi networks but cannot see saved networks
- Bluetooth Pairing is disabled by default in guest sessions
Guest Session Defaults
By default, guest users can:
- Make and receive phone calls
- Send and receive SMS messages
- Use the web browser
- Take photos and record videos (saved to guest storage)
- Download and use apps from the Play Store (these are installed temporarily)
Developer Considerations
If you’re building apps that need to respect multi-user environments:
Detecting Guest Mode Programmatically
fun isGuestMode(context: Context): Boolean {
val userManager = context.getSystemService(Context.USER_SERVICE) as UserManager
val userHandle = android.os.Process.myUserHandle()
return userManager.isGuestUser
}
public boolean isGuestMode(Context context) {
UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE);
UserHandle userHandle = android.os.Process.myUserHandle();
return userManager.isGuestUser(userHandle);
}
Handling Multi-User App Data
For apps that store sensitive data, ensure proper user isolation:
// Get the correct files directory for current user
val userSpecificDir = context.filesDir
// For device-protected storage (available to all users)
val deviceDir = context.createDeviceProtectedStorageContext().filesDir
Limitations and Security Notes
Guest Mode provides solid privacy but has boundaries you should understand:
-
Not a security boundary A knowledgeable user with physical access could potentially exit Guest Mode through developer settings or recovery. For true security against determined access, use Android’s Work Profile feature.
-
Network traffic visibility Your mobile carrier can still see all network traffic from the device regardless of user mode.
-
App installations persist Apps installed during a guest session remain until manually removed.
-
No encrypted profile Unlike Work Profile with Samsung Knox, Guest Mode does not provide additional encryption layers.
Combining with Other Privacy Features
For maximum privacy when lending your phone, layer Guest Mode with these settings:
Disable Quick Settings in Guest Mode
Restrict guest access to settings by adding to your device policy:
val devicePolicyManager = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager
val adminComponent = ComponentName(context, MyDeviceAdminReceiver::class.java)
// Restrict user control
devicePolicyManager.addUserRestriction(adminComponent,
UserManager.DISALLOW_CONFIG_WIFI)
devicePolicyManager.addUserRestriction(adminComponent,
UserManager.DISALLOW_CONFIG_BLUETOOTH)
Lock Down Settings Completely
Before lending your phone:
- Enable Airplane Mode to prevent background data
- Use an app launcher like “Simple Launcher” that limits available apps
- Enable “Screen Pinning” to lock the device to a single app
# Enable screen pinning via ADB
adb shell settings put secure pin_prompt 1
adb shell settings put secure show_pinning 1
# Pin current app
adb shell settings put secure lock_task_enabled 1
When to Use Guest Mode vs. Work Profile
| Scenario | Recommended Feature |
|---|---|
| Lending phone to child | Guest Mode or Family Link |
| Business device separation | Work Profile |
| Lending to stranger | Guest Mode |
| App testing on same device | Secondary User Profile |
| Maximum security required | Work Profile + encryption |
Cleaning Up After Guest Sessions
After a guest finishes using your device:
- Switch back to your account Tap the user avatar and select your profile
- Remove guest data Go to Settings → System → Multiple users → Remove guest
- Check for residual data Verify Downloads folder and any new app installations
- Review installed apps Remove any apps the guest may have installed
For automated cleanup, create a script:
#!/bin/bash
# cleanup_guest.sh - Run after guest session ends
# Get guest user ID
GUEST_ID=$(adb shell pm list users | grep "Guest" | grep -oP '(?<=id=)\d+')
if [ -n "$GUEST_ID" ]; then
echo "Removing guest user $GUEST_ID"
adb shell pm remove-user $GUEST_ID
echo "Guest session cleaned up"
else
echo "No guest user found"
fi
Related Articles
- How To Detect And Remove Stalkerware From Android Phone Comp
- Anonymous Phone Number Services for Verification Without.
- Register Social Media Accounts Without Providing Real Phone
- How To Tell If Your Phone Has Been Jailbroken Without Consen
- Tell If Your Phone Has Been Jailbroken Without Consent
Built by theluckystrike — More at zovo.one