Language
November 4, 20263 min read

Claude Code Remote Control Disconnects: Fixes (2026)

After a connection failure, Claude Code Remote Control doesn't reconnect by itself. Run /remote-control in the terminal where Claude Code is running to bring the session back.

If it keeps dropping, the sections below match each message to a fix. Macky puts your Mac's terminal on your iPhone, so you can run that command without walking back to your desk.

Reconnect a Dropped Session

  • Read the line that starts with Remote Control disconnected. It shows the reason.
  • Run /remote-control to reconnect.
  • If the session stays offline, choose "Disconnect this session" in the /remote-control menu and run /remote-control again. This comes from a GitHub issue reporter, not the docs.
  • If you started it with claude remote-control and the process exited, restart it and create a new session.

What Each Disconnect Means

What you seeCauseFix
Server mode process exitedAwake machine with no network for roughly 10 minutesRestart claude remote-control and create a new session
"could not reach the Remote Control server" for about 30 minutesHeartbeat failure in an interactive sessionRun /remote-control
Transport recovery exhausted (code 4093)Reconnect attempts ran out (GitHub issue #34255)Run /remote-control
Remote Control server rejected the request (HTTP 403)Unconfirmed (open Windows bug report, #112145)Run /remote-control to retry

For setup and account errors, see Claude Code Remote Control Not Working?.

Drops With No Clear Reason

These are user reports on GitHub. Anthropic hasn't confirmed the causes.

  • Drops about every 25 minutes: the server closed the WebSocket, and on the third reconnect it returned close code 1002 and the client fell back to polling (#31853).
  • Silent drop: the mobile app says "The remote control session is offline" while the terminal shows nothing (#34255).
  • Another login: re-authenticating a different CLAUDE_CONFIG_DIR disconnected an unrelated running session (#88855).

Check on Your Mac From Your iPhone

When Remote Control goes offline, the session still lives in a terminal on your Mac. Macky gives you that terminal on your iPhone, end-to-end encrypted, with no open ports.

Macky terminal on iPhone showing a Claude Code session on a Mac

Check whether the claude process is still running. If it exited, start it again from your phone.

Keep the Mac Awake

The docs say Claude Code reconnects when your machine comes back online after sleep. A sleeping Mac can't be reached until then. To keep it available, run:

caffeinate -i

See caffeinate on Mac and keeping a MacBook awake with the lid closed.

Related Guides

For setup steps and limits, read Claude Code Remote Control: Setup, Limits and Fixes. For other phone options, see Claude Code on iPhone.

FAQ

Does Claude Code Remote Control reconnect automatically?

The docs say Remote Control doesn't reconnect on its own after a connection failure. Run /remote-control to reconnect. In an interactive session, short network drops are different: Claude Code keeps retrying and reconnects when the network returns.

How do I reconnect a Claude Code Remote Control session?

Run /remote-control in the terminal where Claude Code is running. If that fails, choose "Disconnect this session" in the same menu and run /remote-control again. The second step is a user-reported workaround, not a documented one.

How long can the network be down before Remote Control gives up?

If the machine is awake but can't reach the network, claude remote-control (server mode) gives up after roughly 10 minutes and the process exits. Restart it and create a new session.

Does Remote Control survive my Mac going to sleep?

The docs say Claude Code reconnects when the machine comes back online after sleep. Until then, the session can't be reached from your phone.

Try Macky

Connect to your Mac terminal from your iPhone.