Codex Mobile Not Connecting: Full Checklist (2026)
Codex mobile usually fails to connect because the host isn't ready. The host computer must be awake, online, and signed in to the same account and workspace as your phone. Fully restart the ChatGPT desktop app on the host, then try again.
If you also want direct terminal access to your Mac from your iPhone while you sort this out, Macky does that.
The Quick Checklist
Go through these in order.
- Awake and online: the host can't be asleep or offline.
- Restart: quit the ChatGPT desktop app and reopen it.
- Same account and workspace: phone and host must match.
- Admin access: in a workspace, your admin may need to enable Remote Control access.
- Setup path: Settings > Connections > Control this Mac or PC, then Set up or Add.
- Fresh QR code: scan it, sign in, and approve.
Match the Symptom to a Fix
| What you see | Where | First fix |
|---|---|---|
| "Waiting for desktop..." | Phone | Restart the desktop app and check the account. See Codex stuck on Waiting for desktop. |
| Error after you select Add | Host | Restart the ChatGPT desktop app, then try again. |
| Mac shows offline and "Reconnect" does nothing | iOS | Quit the desktop app completely, then reopen it. |
| "Authorize this phone" loops | Android | Update the app and quit every desktop app instance. |
Only the restart advice for Add errors is official. The rest comes from user reports on GitHub, so treat it as a fix to try.
Check Account and Sign-In
If the phone can't see the host, check that both use the same account and workspace. Signing out of ChatGPT turns off Remote Control but keeps your pairings. Turn it on again after you sign back in.
Sleep, Proxy, and VPN
A sleeping Mac drops the connection. The docs say to keep the computer awake and online. To stop sleep, see caffeinate on Mac.
One user reported that the desktop app uses the macOS proxy but the remote-control daemon may not. Their fix: log out and fully close both apps. Then close old QR screens and re-scan. This is anecdotal.
Restart the Host From Your iPhone
Codex mobile needs the ChatGPT app running on your Mac. Pairing can break while you're away. Then you can't restart the app.
Macky puts your Mac's terminal and screen on your iPhone. You can check the host, quit and reopen the app, or run commands yourself. Connections are end-to-end encrypted with no open ports, and closed-lid access works.

SSH and Linux Hosts
Linux and SSH hosts work only as SSH projects that the desktop app connects to. The codex command must be on PATH in the remote user's login shell.
One reporter got "Unable to connect" with codex 0.133.0 and 0.134.0. Downgrading the remote host fixed it for them. This may be fixed in newer versions.
npm install -g @openai/codex@0.130.0Last Resorts
One user traced a stuck pairing to stale state in ~/.codex/.codex-global-state.json. Their workaround: quit the desktop app and clear the remote and mobile keys. Then reopen it and scan a fresh QR code. Only one report supports this, and the key names aren't confirmed.
For more errors, see Codex Remote Control not working on Mac.
FAQ
Why is Codex mobile not connecting?
The host computer must be awake, online, and signed in to the same account and workspace as your phone. Restart the ChatGPT desktop app on the host, then try again.
How do I connect Codex to my phone?
Start from the ChatGPT desktop app on the host. Open Settings > Connections > Control this Mac or PC, choose Set up or Add, then scan the QR code with your phone.
Does my Mac need to stay awake for Codex mobile?
The docs say to keep the computer awake and online. Lid-closed behavior isn't documented. See how to keep a MacBook awake with the lid closed.
Related Guides & Comparisons
Try Macky
Connect to your Mac terminal from your iPhone.