Why Codex Remote Mac Control Changes How You Work
Codex remote Mac control turns your iPhone or iPad into a powerful command center for your computer. Instead of waiting until you are in front of your Mac, you can ask Codex from your phone to use apps on your Mac and complete tasks in the background. Crucially, this works even when the Mac screen is off and the device is locked, solving a major limitation of many AI agents that previously required a fully unlocked, active desktop to operate. With this new approach, Codex temporarily unlocks your Mac only when it needs to, carries out the requested action, and then relocks everything automatically. For busy professionals, this means you can trigger remote app automation while commuting, on the sofa, or in another room, without exposing your full desktop to anyone nearby or leaving your Mac permanently unlocked.

Set Up Codex and Enable Locked Mac Access
To control your Mac from iPhone or iPad, start by installing the Codex app on your Mac and signing in with your account. Next, you need the Computer Use plugin, which is what allows Codex to interact with your desktop and apps. Once installed, open Codex on your Mac and go to Codex → Settings → Computer Use. Here you will find the option to allow Codex to use your computer even when it is locked. Enable this locked computer use setting and follow any permission prompts from macOS, such as granting accessibility or screen control access. These permissions let Codex move the mouse, type, and click on your behalf. After setup, Codex can receive tasks from your phone and, when necessary, briefly unlock your Mac in the background to complete them while keeping your screen visually protected.
Send Tasks From Your Phone and Automate Apps
Once locked Mac access is enabled, you can control your Mac from iPhone by describing tasks in the Codex mobile interface. For example, you might ask Codex to open a productivity app, export a document, or update a spreadsheet. When the task requires access to your Mac and it is locked, Codex silently unlocks the desktop just long enough to perform the specific actions. Every time Codex needs a new app, it will ask you for permission before operating it, giving you granular control over what it can touch. You can also choose an “Always allow” option for apps you fully trust, streamlining repeated workflows. When Codex finishes, your Mac returns to its locked state. This makes remote app automation practical for real-world tasks such as preparing files before a meeting, kicking off background workflows, or handling routine computer chores without sitting at your desk.
How Codex Stays Secure While Your Mac Is Locked
Locked Mac access naturally raises questions about security, so Codex includes several safeguards designed to keep you in control. Each automatic unlock is short-lived and scoped only to the active Codex task; it does not grant ongoing, general access. While your Mac is temporarily unlocked, Codex covers every display with an overlay so that no one nearby can view your desktop or sensitive information. If Codex detects that someone has touched the keyboard or mouse, it immediately relocks the Mac and stops further automatic unlocks until you manually log in again. You can interrupt a task at any time or take back control of the computer. Codex also cannot automate Terminal apps, Codex itself, or system-level admin prompts, reducing the risk of high‑privilege changes. These guardrails help balance powerful remote control with practical protection for your data.
Practical Use Cases and When to Avoid Locked Mac Access
With secure safeguards in place, locked Mac access opens many practical scenarios. You can trigger long-running tasks, such as data processing in desktop apps, without needing to stay at your Mac. You might ask Codex from your phone to organize files, prepare presentation assets, or respond to app notifications, all while your Mac remains physically unattended. It is especially useful when your Mac is in another room or connected to external hardware that Codex can control through apps. However, you should avoid using remote app automation for highly sensitive operations, like changing critical system settings or handling confidential content in shared spaces. Remember that you must explicitly approve app access, and you can revoke it at any time. Think of Codex as a powerful assistant that extends your Mac beyond the desk, while you set clear boundaries for what it is allowed to touch.
