{"slug": "switch-macos-users-with-a-different-touch-id-finger", "title": "Switch macOS users with a different Touch ID finger", "summary": "A macOS feature lets users switch between logged-in accounts by resting a different enrolled finger on the Touch ID sensor and pressing the button, a technique Ian Landsman described on Mostly Technical episode 123 as a way to isolate Claude Code in a separate Standard user account. Apple's Touch ID documentation states a Mac stores up to three fingerprints per user account and five fingerprints total, and Apple's Fast User Switching guide mentions Touch ID switching in only a couple of lines. The setup requires not enrolling the same finger on both accounts, since each account keeps its own fingerprint template in the Secure Enclave, and Touch ID still requires a password after a restart, after 48 hours without unlocking, or after five failed reads.", "body_md": "# Switch macOS users with a different Touch ID finger\n\nBy [Flavio](https://flaviocopes.com/about/)\n\nTagged: [Mac](https://flaviocopes.com/tags/mac/)\n\nSwitch macOS user accounts with a different Touch ID finger for cleaner work or recording setups, or to isolate AI coding agents in a Standard user.\n\nAlmost nobody knows that macOS lets you switch user accounts by pressing Touch ID with a different finger.\n\nI first heard about it on [Mostly Technical episode 123 (Isolate The Claude)](https://share.transistor.fm/s/25dda743), around [47:36 on YouTube](https://www.youtube.com/watch?v=UFAtaocShto&t=2856s), where Ian Landsman described how he isolates Claude Code in a separate Standard macOS user account and jumps back and forth with Touch ID. When I tweeted about it, [Ian replied](https://x.com/IanLandsman/status/2035049620242595914) that it is barely documented, and later shared his [full setup notes on X](https://x.com/IanLandsman/status/2035352702767526374).\n\nEven Apple’s own [Fast User Switching guide](https://support.apple.com/guide/mac-help/switch-quickly-between-users-mchlp2439/mac) mentions Touch ID switching in a couple of lines, so most Mac users never discover it. Once you set it up, it turns multiple macOS accounts from a chore into something you can flip between in about a second.\n\nThat makes it useful both for everyday Mac workflows (work vs. personal, clean screen recordings, focus spaces) and as a practical OS-level boundary for AI coding agents.\n\n## How per-finger Touch ID switching works\n\nAccording to [Apple’s Touch ID documentation](https://support.apple.com/guide/mac-help/use-touch-id-mchl16fbf90a/mac), a Mac can store up to **three fingerprints per user account** and **five fingerprints total** across the machine.\n\nWhen two accounts are both logged in at the same time (Fast User Switching keeps both sessions alive in the background), each account can claim its own finger:\n\n- Right index finger for your main Admin account\n- Right middle finger (or left index finger) for your second account\n\nTo switch from one desktop to the other, you do not open the menu bar or visit the lock screen. Rest the other account’s finger on the Touch ID sensor for about half a second so macOS reads the print, then press the Touch ID button down until it clicks. macOS jumps straight to that user’s desktop.\n\nDo not register the same finger on both accounts. Each account stores its own fingerprint template in the Secure Enclave, so enrolling one finger twice confuses the matcher and makes switching unreliable.\n\nTouch ID still follows macOS’s normal password rules: you have to type the password once after restarting or logging out, after 48 hours without unlocking, or after five failed reads. Once both users are logged in, Touch ID handles every switch after that.\n\n## Everyday ways to use a second Mac account\n\nBefore getting into AI agents, fast per-finger switching makes several regular Mac setups much cleaner:\n\n- **Personal vs. work on one machine.** Separate browser profiles, email, Slack, calendar notifications, and Dock layouts, without paying for a second laptop.\n- **Clean screen recordings and demos.** Keep a Standard account with a clean wallpaper, larger UI scaling, no personal notifications, and no private bookmarks. One finger press switches you into recording mode.\n- **Distraction-free focus.** Set up an account that has your editor, terminal, and browser docs, with no email client, chat apps, or social logins.\n\nNormally, people avoid a second macOS user because clicking through the menu bar and typing a password every time gets old fast. Binding each account to a different finger removes almost all of that friction.\n\n## Why it works well for isolating AI coding agents\n\nIf you run [Claude Code](https://flaviocopes.com/claude-code-guide/) (covered in the [Claude Code Handbook](https://flaviocopes.com/ebooks/claude-code-handbook/)) or [Codex](https://flaviocopes.com/codex/) (covered in the [OpenAI Codex Handbook](https://flaviocopes.com/ebooks/codex-handbook/)) every day, approving every shell command gets tiring quickly. On the other hand, running an agent with fewer prompts inside your main Admin account gives every test runner and subprocess access to your personal files, your `~/.ssh` keys, your browser cookies, your macOS Keychain, and your password manager.\n\nMoving your coding agents and dev apps into a dedicated **Standard** (non-admin) macOS account creates a real Unix boundary enforced by macOS itself:\n\n- The Standard user is not in the `admin` group and cannot run`sudo` .\n- It has its own home folder, its own login Keychain, its own browser profiles, and its own clipboard.\n- You do not sign in to 1Password, personal email, banking, or cloud billing dashboards in that user. If an agent needs limited site credentials, keep them scoped rather than exposing your full vault, as I covered in [how AI agents can log in without seeing your passwords](https://flaviocopes.com/ai-agent-passwords/) .\n\nBecause both accounts run natively on your Mac, Xcode, Swift toolchains, local browsers, and Apple Silicon performance all work at full speed with zero container or VM translation overhead.\n\n## Step-by-step setup\n\n### 1. Create a Standard user account\n\nOpen **System Settings → Users & Groups** and click **Add User…**.\n\nChoose **Standard** (not Administrator) as the account type, give it a short name like `Dev` or `Recording`, and set a password.\n\n### 2. Enable Fast User Switching\n\nOpen **System Settings → Control Center**, scroll down to **Fast User Switching**, and set **Show in Menu Bar** to **Icon** (or turn on **Show in Control Center**). You will need the menu bar switcher for the first login after a reboot, before Touch ID takes over.\n\n### 3. Enroll a different finger in each account\n\nSwitch to the new Standard user from the menu bar and log in with its password.\n\nOpen **System Settings → Touch ID & Password**, click **Add Fingerprint**, and enroll a finger you have not registered in your main account. Keep your main Admin account on one finger (for example, your right index finger) and the Standard account on another (for example, your right middle finger or left index finger).\n\n### 4. Test the press-and-click motion\n\nStay logged into both accounts. From your Admin desktop, rest your Standard account’s finger on the Touch ID sensor for half a second, then press the button down until it clicks. macOS switches directly to the Standard desktop. Do the same with your Admin finger to jump back.\n\nIf you tap too fast without letting the sensor read the fingerprint first, macOS locks the screen instead of switching. Resting for half a second before clicking is the trick that makes it consistent.\n\n## What macOS isolates (and one default gap you should close)\n\nI tested a fresh Standard user (`dev`) against an Admin user (` admin`) on macOS 15.7.7 to see what macOS blocks out of the box and what stays visible.\n\nFirst, `dev` has no `admin` group membership and cannot run `sudo`:\n\n```\ndseditgroup -o checkmember -m dev admin\n# no dev is NOT a member of admin\n\nsudo -u dev sh -c 'echo devpass | sudo -S id'\n# dev is not in the sudoers file.\n# This incident has been reported to the administrator.\n```\n\nSecond, macOS protects every standard personal subfolder inside your Admin home directory with `700` (`drwx------`) permissions:\n\n```\nls -ld /Users/admin /Users/admin/Desktop /Users/admin/Documents /Users/admin/Downloads /Users/admin/Library /Users/admin/Library/Keychains /Users/admin/.ssh /Users/Shared\ndrwxrwxrwt    5 root   wheel   160 Jun  4 06:00 /Users/Shared\ndrwxr-x---+ 174 admin  staff  5568 Nov 28 07:50 /Users/admin\ndrwx------    5 admin  staff   160 Nov 28 07:50 /Users/admin/.ssh\ndrwx------+  12 admin  staff   384 Nov 28 07:50 /Users/admin/Desktop\ndrwx------+  32 admin  staff  1024 Nov 28 03:52 /Users/admin/Documents\ndrwx------+   5 admin  staff   160 Nov 23 18:44 /Users/admin/Downloads\ndrwx------@  84 admin  staff  2688 Nov 21 23:56 /Users/admin/Library\ndrwx--x--x    7 admin  staff   224 Nov 28 07:19 /Users/admin/Library/Keychains\n```\n\nWhen `dev` tries to read `Desktop`, `Documents`, `.ssh`, or `Library/Keychains`, macOS denies every one of them.\n\nLook closely at the `/Users/admin` line above, though: `drwxr-x---+` owned by `admin:staff`. Every Standard user created on macOS is also a member of the `staff` group (`gid=20`). That means any file or custom folder sitting directly in `/Users/admin` with default `644` or `755` permissions is readable by `dev`, including `.gitconfig`, `.zshrc`, `.config`, `.npm`, and any custom `~/dev` or `~/www` folder you keep outside `Documents`.\n\nWhen I ran `sudo -u dev head -n 2 /Users/admin/.gitconfig`, `dev` read the file cleanly. Running `chmod 700 /Users/admin` closed that hole right away:\n\n```\nchmod 700 /Users/admin\nsudo -u dev head -n 2 /Users/admin/.gitconfig\n# head: /Users/admin/.gitconfig: Permission denied\n```\n\nIf you use a Standard user to isolate coding agents, run `chmod 700 ~` from your Admin account so your top-level dotfiles and project folders are not exposed through the shared `staff` group. (That also blocks other users from reaching your `~/Public` folder, which is fine because `/Users/Shared` is a better handoff spot anyway.)\n\n| Surface | Default Standard user | After `chmod 700 /Users/<admin>` | \n|---|---|---|\n| `sudo` and system settings | Blocked ( `not in the sudoers file` ) | Blocked | \n| `Desktop` ,`Documents` ,`Downloads` ,`Library` ,`.ssh` | Blocked ( `700` ) | Blocked | \n| Admin login Keychain & 1Password | Isolated (separate Keychain) | Isolated | \n| Clipboard between GUI sessions | Isolated (separate pasteboard) | Isolated | \n| Top-level Admin dotfiles ( `~/.gitconfig` ,`~/.zshrc` ,`~/dev` ) | **Readable** via`staff` group (`750` ) | **Blocked** (`700` ) | \n| `/Users/Shared` | Shared read/write ( `1777` ) | Shared read/write ( `1777` ) | \n| `/Applications` , network, macOS kernel | Shared | Shared | \n\nBecause macOS isolates the clipboard between logged-in GUI sessions, copy-and-paste does not carry across when you switch users. If you want a quick way to pass a snippet or file between accounts, keep a scratch file or folder in `/Users/Shared`.\n\n## Standard user vs. VMs, Docker, and a second Mac\n\nA Standard macOS user is not a full security sandbox, and it is not meant to replace one. It sits right between running everything in your Admin account and spinning up a container or virtual machine.\n\n| Isolation option | Switch speed | Native Mac / Xcode tools | Hides `~/.ssh` , Keychain, 1Password | Blocks outbound network / kernel | Memory overhead | \n|---|---|---|---|---|---|\n| Main Admin account | Instant | Yes | No | No | None | \n| Standard macOS user + Touch ID | ~1 second | Yes | Yes (with `chmod 700 ~` ) | No | Moderate (two macOS sessions in RAM) | \n| [Docker Sandboxes](https://flaviocopes.com/docker-coding-agent/) | Seconds | No (Linux VM) | Yes | Yes (network & VM boundary) | Low to moderate | \n| [Headless macOS VM (Tart)](https://flaviocopes.com/mac-test-vm/) | SSH / viewer | Yes | Yes | Strong (separate guest OS) | High (8 GB+ RAM, 25 GB+ disk) | \n| Dedicated Mac mini | Separate machine / SSH | Yes | Yes | Strong (separate hardware) | Separate machine | \n\n## How I would use this, and where it falls short\n\nMy own setup already relies on guardrails for [unattended coding agents](https://flaviocopes.com/agents-unattended/) (scoped tokens, hooks, and read-only modes) plus a [headless macOS VM with Tart](https://flaviocopes.com/mac-test-vm/) whenever an agent needs to launch and click through a Mac app without hijacking my screen.\n\nWhere I would add a second Standard user with Touch ID switching is for two things:\n\n1. **A clean recording and demo account.** Having a separate macOS desktop with zero notifications, clean browser tabs, and big readable fonts that I can jump into with one finger press beats toggling Focus modes and hiding windows every time I record a video.\n2. **A daily Standard dev account when working on less trusted repos or running agents with looser local approvals.** Running`chmod 700 ~` on my Admin home folder keeps my personal 1Password, email, hardware-key-protected admin accounts (which I lock down with[hardware security keys](https://flaviocopes.com/hardware-security-keys/) ), and`~/.ssh` out of reach, while keeping native macOS speed.\n\nThere are also clear cases where this setup is the wrong tool:\n\n- **Untrusted code that could exfiltrate data or exploit the OS.** A Standard user still shares the macOS kernel, your local network, and`/Applications` . For untrusted third-party repositories, use[Docker Sandboxes](https://flaviocopes.com/docker-coding-agent/) or a disposable VM instead.\n- **Tight RAM budgets.** Fast User Switching keeps both desktop sessions alive in memory. On a 32 GB or 48 GB Mac that is barely noticeable; on a 16 GB Mac running browsers and an IDE in both sessions, memory pressure climbs fast.\n- **Workflows that need `sudo` or shared local services.** Installing Homebrew packages or running services that bind to privileged ports inside a Standard account takes extra work, which is why Ian noted he still runs PHP/Valet from his Admin account over a shared folder.\n\nEven if you never isolate an AI agent with it, setting up per-finger Touch ID switching takes five minutes and makes multiple macOS user accounts genuinely pleasant to use.\n\nWant me to talk about your product? You can [sponsor this site](https://flaviocopes.com/sponsor/).", "url": "https://wpnews.pro/news/switch-macos-users-with-a-different-touch-id-finger", "canonical_source": "https://flaviocopes.com/macos-touch-id-user-switching/", "published_at": "2026-11-28 08:00:00+00:00", "updated_at": "2026-11-28 08:12:18.414787+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools"], "entities": ["Apple", "Touch ID", "Ian Landsman", "Mostly Technical", "Claude Code", "Codex", "Secure Enclave", "macOS"], "also_reported_by": [], "takeaway": "Enroll a different finger on each macOS account (up to three per user, five per machine) to switch desktops in about a second, and never enroll the same finger twice because each account's template lives in the Secure Enclave and duplicate enrollment makes the matcher unreliable.", "recommendation": {"advice": "Run Claude Code or Codex in a separate Standard macOS account and bind it to its own Touch ID finger, so agent shell commands execute inside an OS-level boundary you can enter and leave in about a second.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/switch-macos-users-with-a-different-touch-id-finger", "markdown": "https://wpnews.pro/news/switch-macos-users-with-a-different-touch-id-finger.md", "text": "https://wpnews.pro/news/switch-macos-users-with-a-different-touch-id-finger.txt", "jsonld": "https://wpnews.pro/news/switch-macos-users-with-a-different-touch-id-finger.jsonld"}}