Claude Code Remote Control: use it from your phone

How Claude Code Remote Control works: start it, connect a phone or browser, turn on auto-connect, and know the limits, plus the SSH and tmux alternative.

on this page

Remote Control lets you steer a Claude Code session that runs on your computer from your phone, a tablet or any browser. You start the work at your desk. You pick it up from the couch.

This guide shows how to start it, how to connect, which settings matter, and where it stops working. We checked the details against the official Remote Control docs on 2026-11-23. The feature is still changing, so check the docs for your version.

What you’ll learn

  • What Remote Control is, and how it differs from cloud sessions
  • The three ways to start it, and how to connect from another device
  • How to turn it on for every session
  • What to know about permissions, security and limits
  • When SSH with tmux is the better tool

Prerequisites

  • A claude.ai subscription: Pro, Max, Ultra, Team or Enterprise. On Team and Enterprise, an Owner must first turn on the Remote Control toggle in Claude Code admin settings.
  • Signed in through claude.ai with /login. API keys do not work, and neither does a long-lived token from claude setup-token.
  • A direct connection to the Anthropic API. It does not work on Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry. It also does not work if ANTHROPIC_BASE_URL points at a gateway or proxy host, if you sign in through a Claude apps gateway, or if CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC or CLAUDE_CODE_DISABLE_FEATURE_FLAGS is set.
  • The Claude app for iOS or Android, or any browser, on the second device.

What Remote Control is, and is not

Remote Control does not move your code to the cloud. Claude Code keeps running on your machine, with your files, your MCP servers and your project settings. The phone or browser is a window into that session. Your computer must stay on, and the claude process must keep running.

That is the key difference from a cloud session. A cloud session runs on cloud infrastructure and needs no local setup. Use Remote Control when you are in the middle of local work. Use a cloud session when you want to start from nothing, or work on a repository you have not cloned.

Three ways to start it

Server mode

claude remote-control

claude rc is a short alias. The first time, Claude Code explains what Remote Control does and asks you to confirm.

The process stays open in your terminal and waits for connections. It shows a URL, and you can press the spacebar to show a QR code. This mode can serve several sessions from one process. Useful flags:

FlagWhat it does
--name "My Project"Sets the session title in the list at claude.ai/code
--spawn worktreeGives each new session its own git worktree (the default is same-dir, where sessions share your directory and can conflict)
--capacity <N>Maximum concurrent sessions (default 32)
--permission-mode <mode>Starting permission mode for the server’s sessions, such as acceptEdits

For more on why separate worktrees help when several sessions run at once, see Claude Code git worktrees in parallel.

An interactive session with Remote Control on

claude --remote-control "My Project"

--rc is the short form, and the name is optional. You get a normal terminal session that you can also drive from another device.

From a session you already started

Inside Claude Code, run:

/remote-control

or /rc. You can add a name after it. Your conversation history carries over. Run the command again to open the status panel, which shows the session URL and a QR code, and lets you disconnect while the local session keeps running.

Connect from another device

Once a session is active, you have three options:

  • Open the URL that Claude Code shows, in any browser. It goes to claude.ai/code.
  • Scan the QR code with your phone to open the session in the Claude app.
  • Open claude.ai/code or the Claude app and find the session by name. Online sessions show a computer icon with a green dot. In the mobile app, tap Code to reach the list.

If you do not have the app yet, run /mobile in Claude Code to get a QR code for the app store.

Both sides stay in sync. You can type in your terminal, in the browser and on your phone, and the conversation updates everywhere. You can also attach photos and files from your phone or browser.

If you want to try a different direction without disturbing the running session, open it at claude.ai/code and choose Fork. This needs Claude Code v2.1.277 or later.

Turn it on for every session

Typing /rc each time gets old. Run /config in Claude Code and set Enable Remote Control for all sessions. It takes the values on, off and default. Each interactive Claude Code process then registers its own remote session.

You can also set remoteControlAtStartup to true in ~/.claude/settings.json. A true in a project settings file is ignored, so a repository cannot turn Remote Control on for everyone who opens it. A false in project settings does turn it off for that repository.

Permissions from a remote device

Permission prompts work as usual. Claude Code keeps a permission prompt open until you answer it, from any connected device. If a long task asks for approval and nobody answers, it waits.

That means you should choose the permission mode before you walk away. In server mode, pass --permission-mode. For a task you trust, a mode such as acceptEdits cuts the number of prompts. Read our guide on hooks as guardrails before you widen what runs without asking.

Mobile push notifications help here. With Remote Control on, run /config in the terminal and turn on Push when actions required (permission prompts and questions) and, if you like, Push when Claude decides. You need the Claude app signed in to the same account, with notifications allowed.

Security: what travels where

Your machine makes outbound HTTPS requests only. It opens no inbound ports. All traffic goes through the Anthropic API over TLS, with several short-lived credentials that each cover a single purpose.

Two points often surprise people:

  • While Remote Control is connected, the session transcript, including your messages, Claude’s replies and tool activity, is stored on Anthropic servers. This keeps your devices in sync and lets the session reconnect after a network drop. Execution and file access stay on your machine.
  • Organizations with Zero Data Retention or the HIPAA configuration cannot enable Remote Control. Administrators can also turn it off with the disableRemoteControl setting, and can require Trusted Devices.

Limits to know before you rely on it

  • One remote session per interactive process. Use server mode when you need several at once.
  • The local process must keep running. If you close the terminal, quit the app or stop claude, the session goes offline.
  • You can get it back. In server mode, run claude remote-control again in the same directory within about four hours. --continue brings back the session the last server in that directory started with, and --session-id <id> brings back one by its ID. For an interactive session, resume the conversation with claude --continue or claude --resume.
  • Network drops. Claude Code reconnects on its own after a sleep or a network drop. In an interactive session it keeps retrying for as long as the outage lasts. In server mode, it gives up after about 10 minutes of no network and the process exits.
  • Some commands are local only. Commands such as /plugin and /resume work only from the terminal. /compact, /clear, /context, /model, /effort and a few more work from phone and browser.
  • Proxies. In Claude Code 2.1.326, Remote Control began to use a CONNECT tunnel through proxies, so a proxy that refuses CONNECT blocks it. See our daily diff note on that release.

When SSH and tmux is the better tool

Remote Control is a good fit for steering one task. It is a weaker fit when you need a full terminal, port forwarding, or no dependence on Anthropic’s relay. The Remote Control docs themselves suggest tmux or screen if you run claude on a remote machine, so the session survives a dropped SSH connection.

# on the machine that runs the work
tmux new-session -s claude
claude

# later, from your phone or laptop
ssh you@your-machine
tmux attach -t claude

You get the exact terminal back, with no pairing step. The cost is setup: SSH keys and a way to reach the machine, such as a VPN. Many people use both. Remote Control gives a quick look from the phone, and tmux gives a full session when it matters.

For scheduled and unattended work, a different tool fits better. See headless Claude Code in CI and cron.

Next steps