Codex Plan Mode: How to Use It, Approve a Plan and Know When to Skip It
Updated 2026-11
TL;DR: Codex plan mode makes Codex inspect your code, ask clarifying questions and propose a plan before it edits a single file. OpenAI's Codex docs, checked in November 2026, say you toggle it with /plan or Shift+Tab, and the Codex CLI 0.94.0 release notes from February 2026 say plan mode is now enabled by default. Use it on big codebases and multi-file changes; skip it for a one-file fix.

Screenshot of OpenAI's official Codex best practices page, "Plan first for difficult tasks", November 2026.
What Is Codex Plan Mode?
Codex plan mode is a mode where Codex reads, asks and plans, but does not change your code until you approve. OpenAI's best practices page, checked in November 2026, puts it in 1 line: "Plan mode lets Codex gather context, ask clarifying questions, and build a stronger plan before implementation." The plan-mode template in the open source Codex repository allows only non-mutating actions such as reading, searching and inspecting, in 3 phases: explore, clarify intent, then produce a decision complete plan.
Without a plan, most people use Codex like this: just directly go ahead and ask Codex to fix the issue, and it's definitely going to work. Codex is going to evaluate all the files, and it will start modifying the code as required.
The catch is visibility. You won't be having any control as such, like what kind of file it's changing. You will only get to know once all the changes are done. It's a kind of reactive approach where you are getting to know everything once it is done.
So plan mode will never touch your code because it's guard rail.
Plan mode flips that order. It's not just going to start making the changes in the code. It's going to inspect everything. It's going to propose the plan, wait for your approval, and then only it will go ahead and edit something in the file.
How to Turn On Codex Plan Mode
Turning on Codex plan mode is a 1-step switch, and as of November 2026 there are multiple ways to do it in Codex. OpenAI's slash command docs say /plan switches to plan mode and accepts an optional inline prompt, and the best practices page adds Shift+Tab as the toggle. In the Codex app you can also click the plan control in the composer. The Codex CLI 0.94.0 release, published in February 2026, made plan mode enabled by default.

Screenshot of the Codex 0.94.0 release notes on GitHub, February 2026.
Here is the flow in practice:
- Slash command. You can just put a slash and say plan. As soon as you select it, you can see the icon, and the plan mode got invoked. Now it's not going to make any changes before your approval.
- Toggle. You can enable it and disable it from the composer. As soon as you disable it, the plan is gone from the bar.
- Shortcut. Press Shift+Tab to switch in and out.
- Hardware. On OpenAI's Codex Micro keyboard, by default, swipe it up to use plan mode.
One detail trips people up. As soon as you say implement plan, Codex comes out of the plan mode. If you have to enable it again, you have to go ahead and enable it before you provide your next set of input. OpenAI's docs also note /plan is unavailable while Codex is already working on a task.
If you are new to the tool itself, start with how to use Codex.
What a Codex Plan Looks Like and How to Approve It
A Codex plan is a short, structured proposal that lists what will change before anything changes. In a June 2026 walkthrough of a 1-file React bug, the plan came back in 5 parts. It's giving you the summary of what exactly it's going to do, the key changes, the code changes, how it is planning to test it, and the assumptions.

Frame from a Codex plan mode walkthrough on X.
In plan mode, Codex is going to inspect the current file state and build a precise fix plan rather than editing anything. Then it asks whether you can go ahead and approve this plan.
You get two choices:
- Approve. Say "yes, implement the plan", and it's just going to read everything, do the modification as per the plan and give you a final output. OpenAI's slash command docs also list "Yes, clear context and implement" for a fresh start.
- Push back. Rather than just approving this plan, you can type your input so that Codex can consider it before you provide any final approval.
Plans also ask you questions. On a bigger feature, the plan mode is actually giving you the choice of how you want it implemented. Although it's not yet implementation, it's gonna update the plan based on the answers that you give it. So the iteration of planning is an important part of the process.
When to Use Codex Plan Mode (and When to Skip It)
Codex plan mode is most useful when a change spans many files and you cannot predict which ones Codex will touch. A June 2026 tutorial drew the line by size: in certain scenarios where the code base is very small and you don't have to deal with a lot of files, like just 1 file, you can just directly ask Codex to fix the code.
The other side is just as clear. If your code base is very big and it has a lot of components, then it's always ideal to plan it first before actually giving the free runway to Codex. The issue could be at the UI, the validation layer, the API level or the state layer.
Use plan mode when:
- the change touches several components and you do not want Codex to just make the changes on any of the files without your approval;
- you are building a big feature or a technical feature where not all the details that you want in your feature, you can actually think off the bat;
- you want to map out the architecture and the details of the implementation and see if it's actually in sync.
Some developers skip it on purpose. In a May 2026 clip, one developer said: "I never use planning mode, although it does exist as an equivalent in the Codex harness." Instead, in Codex, you just prefer long conversations with voice mode, and you don't reach for the planning mode toggle. Codex does a good job of researching the codebase as well as the web without you prompting or using explicit modes.
The guardrail argument is the counterweight. Even if the model is so intelligent, there's still a possibility that when you're asking a question, it's gonna update your code. Imagine you let it implement everything, then it tested everything, for a feature that you don't even agree with.
A Codex Plan Mode Workflow That Holds Up
A good Codex plan mode workflow is a short loop of context, prompt, plan, challenge and only then code. A November 2026 tip list for people starting with Codex boiled it down to 3 tips, and the third point is always use plan mode. If you're starting with Codex and you want to get the maximum out of it, the order matters: docs first, then the prompt, then you switch to plan mode and let the prompt go into the plan mode and come up with a plan.
- Give it context first. Don't just use
/init. Spend some time creating a README and also create as many MD files as possible, preferably in a docs folder, where it summarizes what this project is all about. If you already have the code, Codex can build this for you. - Build the prompt. When you want to ask Codex to do some code changes, build the prompt and then go to plan mode.
- Plan, then review. Once you have the prompt, switch to plan mode, let it come up with a plan, then always review the plan before you implement it.
- Challenge it. If you think there is something that is not clear, or you don't agree with something, always challenge Codex to fix it before you let it execute and get the work done.
Tell me how many PRs you need to execute the plan and what each PR will do.

Frame from a planning-first coding workflow video on X.
That second step keeps execution small. As humans, when you write PRs, they're usually limited to 200 to 400 lines, while AI tools in general can create PRs that are very, very long and could be thousands of lines. A November 2026 workflow asks the AI, in the planning phase, to break the PR into smaller PRs, with each PR around 200 to 400 lines of code, up to 1,000, but not beyond that.
Planning works outside code too. In a November 2026 demo, putting a dashboard idea into plan mode meant it will ask you a few questions, because it needs to understand your context better, and then it will come up with a plan.
For running several Codex sessions on one plan, see Codex multi-agent, and for scripted runs see Codex headless.
Review a Codex Plan With Other Agents in Pachat
Pachat is a web product at pachat.ai: "Different personal AI agents, in one group chat." Pachat also has apps for Mac, Windows, Linux and iPhone. In November 2026, it is one way to get a second opinion on a Codex plan before you approve it.

Pachat screenshot from pachat.ai.
- Copy the plan Codex proposed: summary, key changes, test plan and assumptions.
- Open pachat.ai and put your Claude, Grok Bot, Muse and ChatGPT dots in one group chat.
- Ask what the plan misses. They check each other's facts and argue it out, then you make the call, and you bring the challenge back to Codex before it executes.
More examples are in how people use multi-agent group chats.
FAQ
What does Codex plan mode do?
Codex plan mode makes Codex gather context, ask clarifying questions and build a plan before it changes any code. OpenAI's best practices page, checked in November 2026, describes it exactly that way, and the plan-mode template in the open source Codex repository limits it to non-mutating actions such as reading and searching. Codex only edits files after you approve the plan or choose to implement it.
How do I turn on plan mode in Codex?
Type /plan in the composer, optionally followed by your prompt, or press Shift+Tab to toggle it, as OpenAI's Codex docs describe in November 2026. In the Codex app you can also click the plan control before you send. Codex leaves plan mode once you choose to implement, so turn it on again before your next planned task.
Is plan mode on by default in Codex?
Yes, in recent versions. The Codex CLI 0.94.0 release notes on GitHub, published in February 2026, say "Plan mode is now enabled by default" with updated interaction guidance in the plan prompt. That means the mode is available without extra setup; you still switch into it per task with /plan or Shift+Tab when you want a plan first.
When should I skip plan mode?
Skip it for small, well-understood changes. A June 2026 tutorial showed Codex fixing a 1-file bug correctly without a plan, and recommended plan mode mainly for large codebases with many components. Some developers, as one said in a May 2026 clip, never use it and prefer long voice conversations with Codex instead. Use it whenever you cannot predict which files will change.
What does "Yes, clear context and implement" mean?
It is one of the choices Codex shows after a plan, according to OpenAI's slash command docs checked in November 2026. As the label says, Codex clears the earlier context and then implements the approved plan. It is handy after a long planning back-and-forth; the plain implement option keeps the conversation as it is.
Can Pachat help me review a Codex plan?
Yes. Pachat is a web product at pachat.ai, described as "Different personal AI agents, in one group chat." Pachat also has apps for Mac, Windows, Linux and iPhone. Paste the plan Codex proposed, for example its 4 parts (summary, key changes, test plan, assumptions), and put your Claude, Grok Bot, Muse and ChatGPT dots in one group chat. They check each other's facts and argue it out, then you make the call.
Want more than one opinion before you hit implement? Start at pachat.ai.
References
- Codex best practices, OpenAI, fetched 2026-11-30
- Codex slash commands, OpenAI, fetched 2026-11-30
- Codex release rust-v0.94.0, GitHub, 2026-02-02
- Plan mode template, GitHub openai/codex, fetched 2026-11-30
- @PraveenKS30, X, 2026-06-07
- @lowtouch_ai, X, 2026-11-23
- @melvindvivas, X, 2026-09-27
- @RoupenMD, X, 2026-11-20
- @BHolmesDev, X, 2026-05-14
- @MrSathyaSankar, X, 2026-11-27
- @getdarwinai, X, 2026-07-20
- Drawing board, designer, Wikimedia Commons (Fortepan), CC BY-SA 3.0



