How to Set Up Android Guest User for Secure Device Sharing

16 min read Learn step‑by‑step how to enable, configure, and use Android’s Guest User to share your phone safely without exposing personal data or apps. October 02, 2026 11:00 How to Set Up Android Guest User for Secure Device Sharing (No Root)

Before you start

Sharing a smartphone with a friend, a child, or a colleague can be risky if you hand over your primary account. Android’s Guest User creates a temporary, sandboxed environment that isolates apps, contacts, and personal files. The guest session is wiped when you exit, leaving no trace of what was done. This tutorial assumes you have a device running Android 9 (Pie) or later – the Guest feature has been stable since then – and that you have Developer options disabled (no root or ADB needed). If your device’s manufacturer has removed the Guest option, we’ll cover a fallback using ADB commands.

Make sure the device is fully charged or plugged in. Switching users briefly suspends the foreground app, but a low battery could interrupt the process.

Understanding the Guest User model

Android supports multiple user profiles: the primary owner, secondary users, and a special Guest profile. The Guest is a temporary secondary user that starts with a clean slate – no apps, no contacts, no saved passwords. Anything the guest does (installed apps, downloaded files) lives only in that profile and is automatically deleted when you switch back to the owner.

Key characteristics:

  • Isolation: The guest cannot see your apps, messages, or files.
  • Auto‑reset: Exiting the guest wipes its data, preventing lingering traces.
  • No root required: All steps use the system UI; optional ADB commands are for edge cases.

Step 1 – Verify that Guest mode is available

  1. Open Settings on your phone.
  2. Tap System > Advanced (if present) > Multiple users or Users & accounts > Users. The exact path varies:
    • Pixel / stock Android: Settings > System > Advanced > Multiple users
    • Samsung: Settings > Biometrics and security > Other security settings > Users
    • OnePlus: Settings > Utilities > Users & accounts > Users
  3. If you see a toggle labeled Guest or a button Add guest, the feature is present. If the menu only shows “Add user” without a Guest option, continue to the ADB fallback (see Step 7).

Step 2 – Enable Guest mode (if disabled)

Some manufacturers hide the Guest toggle by default. Enabling it is a one‑time action.

  1. In the same Users screen, look for a switch named Allow guest user or Guest mode. Turn it ON.
  2. When prompted, confirm that you understand the guest will have limited access.

After enabling, the Guest entry appears in the user list.

Step 3 – Switch to the Guest profile

  1. Pull down the notification shade and long‑press the Power button (or use the quick‑settings tile labeled Users if your ROM provides one).
  2. Select Guest from the list. The device will briefly lock and then launch the Guest home screen.
  3. Notice the lock‑screen message: “Guest – data will be erased when you leave.” This confirms you are in the sandboxed environment.

At this point, the guest has a fresh launcher with only the core system apps (Settings, Phone, Camera, etc.). No personal apps or accounts are visible.

Step 4 – Configure the Guest experience

While the Guest profile is active, you can fine‑tune what the temporary user can do. This is useful if you want to allow a child to watch YouTube but prevent them from installing new apps.

  1. Open Settings (still inside the Guest session).
  2. Navigate to Apps & notifications > See all apps.
  3. Tap the three‑dot menu > Show system if you need to hide a system app (e.g., Settings itself). Most devices hide this by default.
    • To disable an app, select it and choose Disable. The app will disappear from the launcher.
    • To restrict an app’s permissions, tap Permissions and toggle off anything you don’t want the guest to use.
  4. If you want the guest to have internet access but no ability to install new apps, go to Google Play Store (you may need to sign in with a dummy account) and disable the Auto‑update apps option under Settings > Network preferences > Auto‑update apps.

These changes affect only the Guest profile; your primary account remains untouched.

Step 5 – Add useful apps for the guest

Because the Guest starts with a minimal app set, you may want to install a few utilities (e.g., a web browser, a media player). Install them while you are in the Guest session – they will be removed automatically when you exit.

  1. Open the Google Play Store (or any trusted APK source).
  2. Search for the desired app (e.g., Chrome, YouTube Kids).
  3. Tap Install. The app appears in the Guest launcher.
  4. After the guest finishes using the device, you can uninstall the app manually, or simply rely on the auto‑reset that removes everything.

Step 6 – Exit Guest mode safely

When the sharing session ends, you must return to the owner profile to trigger the data wipe.

  1. Pull down the notification shade and tap the Users quick‑tile again.
  2. Select your primary account (usually your name or email address).
  3. Confirm the switch if a dialog appears. Android will log you back into the owner profile.
  4. Immediately after the switch, you will see a toast notification: “Guest data cleared.” This confirms the sandbox was purged.

If you notice any leftover files (e.g., photos taken in Guest mode), they will be stored in /storage/emulated/0/Android/data/ under a temporary UID and are removed during the switch. However, double‑check the Gallery app to ensure no stray images remain.

Step 7 – Using ADB to create a Guest when the UI hides it

Some OEM skins (especially older versions of Xiaomi’s MIUI or Huawei’s EMUI) hide the Guest toggle altogether. In those cases you can create a guest user via ADB – a safe, non‑root method that works on any device with USB debugging enabled.

  1. Enable Developer options on your phone:
    • Open Settings > About phone.
    • Tap Build number seven times until you see “You are now a developer!”.
  2. Go back to Settings > System > Developer options and turn USB debugging ON.
  3. Connect the phone to a PC with a working adb installation (Android SDK Platform‑Tools).
  4. Open a terminal and verify the connection:
    adb devices
    You should see your device’s serial number listed as device.
  5. Create a guest user with the following command:
    adb shell pm create-user --guest "Guest"
    The output will be something like Success: created user id 10.
  6. Switch to the newly created guest:
    adb shell am switch-user 10
    The device will instantly change to the guest UI.
  7. When you are ready to end the session, switch back to the owner (usually user id 0):
    adb shell am switch-user 0
    Android will automatically erase the temporary guest data.

Note: The numeric user ID may differ; you can list all users with adb shell pm list users and look for the entry marked guest.

Step 8 – Troubleshooting common issues

  • Guest option missing entirely: Some devices (e.g., older Samsung One UI) have removed Guest support. Use the ADB method above, or consider creating a regular secondary user and manually clearing its data after each use.
  • Guest data not cleared: If you see files left behind, check that you switched back to the owner profile using the system UI, not just locking the screen. The auto‑reset only triggers on a user switch, not on screen lock.
  • Cannot install apps in Guest: The Play Store may require a Google account. You can either add a dummy account (which will be removed on exit) or sideload APKs via adb install while the guest is active.
  • Battery drain while in Guest: Guest runs the same background services as the owner (e.g., Google Play Services). Disable unnecessary system apps in the Guest profile (Settings > Apps) to reduce drain.
  • Wi‑Fi or Bluetooth settings revert: Guest inherits the owner’s network connections. If you need a separate network, turn Wi‑Fi off in the Guest session and reconnect to a guest‑only hotspot.

Step 9 – Best‑practice checklist for safe sharing

  1. Enable Guest mode well before you need it – test the switch to ensure it works.
  2. Keep a spare charger handy; switching users briefly pauses the foreground app.
  3. If you plan to let the guest browse the web, enable SafeSearch in the browser settings.
  4. Consider enabling Screen pinning (Settings > Security > Screen pinning) after the guest finishes – this prevents them from leaving the guest app unintentionally.
  5. Review the App permissions granted to the guest before handing over the device.

What happens under the hood?

Android treats each user as a separate Linux UID. The Guest profile gets a temporary UID that is marked FLAG_GUEST. When you switch away, the system calls pm remove-user on that UID, which wipes its data directory (/data/user/10/ in the example). Because the UID is removed, any file handles held by apps are closed, preventing leaks.

Understanding this helps you trust the process: the guest never sees your owner UID’s files, and the OS guarantees that no residual data survives the removal.

Wrapping up

By following the steps above you now have a reliable, zero‑root method to share your Android phone without compromising personal data. Whether you’re lending the device to a colleague, letting a child watch a video, or simply testing an app on a clean slate, the Guest User offers a built‑in sandbox that’s both convenient and secure.

Remember to verify the Guest switch each time you hand over the device, and use the troubleshooting tips if anything looks off. With a little preparation, you can keep your digital life private while still being generous with your hardware.

User Comments (0)

Add Comment
We'll never share your email with anyone else.