Guides

How to use voice input in Codex on a Mac

In the Codex app, hold Control + M and talk to dictate a prompt. The Codex CLI has no dictation. This guide shows what works on a Mac and how to fix it.

Codex has voice input in its Mac app. You hold Control + M, talk, and Codex types your prompt for you to read before you send it. The Codex CLI in the terminal is different: it has a voice conversation, but no dictation.

We have built Roar, a dictation app that is light years ahead of Apple Dictation. There's a link to try Roar for free at the end of this article.

Does Codex support voice input?

Yes, in the Codex app. The app on your Mac has dictation: you hold a shortcut, talk, and it types your words into the message box.

The Codex CLI doesn't have dictation. Its /voice command starts a spoken conversation instead, where Codex talks back. If you want to type a prompt by voice in the CLI, you need Mac dictation or a dictation app.

Where you use CodexHow to talk to it
The Codex appHold Control + M to dictate a prompt
The Codex CLINo dictation. Use Mac dictation, or /voice for a spoken conversation
The ChatGPT appChatGPT Voice, a spoken conversation that can also start Codex tasks

Claude Code and Cursor have dictation built in too. Our guides to voice input in Claude Code and voice input in Cursor show how to set them up.

How to use Codex voice in the Codex app?

Hold Control + M while the message box is on screen, and talk. Codex turns what you say into text in the message box.

Time needed About 1 minute.

  1. Open the Codex app, and open the task or chat you want to write in.
  2. Hold Control + M, or click the microphone in the message box.
  3. The first time, your Mac asks if Codex can use the microphone. Click Allow.
  4. Talk while you hold the keys. Say what is broken, what you already tried, and what Codex must not change.
  5. Let go. Your words appear in the message box.
  6. Read the prompt, fix anything, and send it.

Codex doesn't send the prompt for you, so you can change anything first.

Can Codex CLI dictate text?

No. The Codex CLI has no dictation built in. An early version of voice typing was in the CLI, and Codex's team removed it in March 2026.

What the CLI has now is a /voice command. Codex describes it as "start or stop voice". It is a spoken conversation, where you talk and Codex talks back. Type /voice settings to choose the voice Codex speaks with.

To type a prompt into the CLI by voice, use Apple Dictation. It comes with every Mac, and it types into Terminal like into any other app.

  1. Click in the terminal window where Codex is running.
  2. Press the Microphone key once. On most Mac keyboards from the last few years, the F5 key has a small microphone on it. This is the Microphone key.
  3. When a small microphone appears next to your cursor, talk.
  4. Press the Microphone key again when you finish. Read the prompt, and press Return to send it.

Don't hold the key down. If Siri is turned on, holding the key opens Siri instead.

Apple Dictation stops by itself when you haven't spoken for 30 seconds. Apple designed it this way, and there is no setting to make it longer. There is no limit on how long you talk, so if you stop to think, press the Microphone key again before you carry on.

If nothing happens when you press the key, Apple Dictation may be off. Our guide on how to dictate on a Mac shows how to turn it on.

Does Codex have a voice mode?

Yes, two. In the CLI, /voice starts a spoken conversation. In the ChatGPT app on your Mac, ChatGPT Voice lets you talk through ideas and run Codex tasks by voice.

ChatGPT Voice is a live conversation. You can interrupt it, ask follow-up questions and change direction. It can start new tasks, check on tasks that are running, and send them more instructions.

Before you use ChatGPT Voice, check two things:

  • Your plan. ChatGPT's help pages list it for the paid plans: Plus, Pro, Business and Edu, among others.
  • Screen context. On a Mac, Screen context has to be on, in the app's Settings, under Voice. Your Mac may also ask for Screen & System Audio Recording and Accessibility permissions.

You can set a shortcut for it in Settings, under Voice, then Voice chat hotkey.

For dictation in ChatGPT itself, see our guide on how to dictate into ChatGPT and Claude on a Mac.

Why is Codex voice input not working?

Check that Codex can use your microphone first. If you clicked Don't Allow the first time, Codex can't hear you.

Try these fixes in order:

  1. Open System Settings, click Privacy & Security, then click Microphone. Find Codex in the list and turn it on. Quit Codex with Command + Q and open it again.
  2. Open System Settings, click Sound, then Input. Check that the right microphone is selected and that the input level moves when you talk.
  3. Update the Codex app to the latest version.

If the microphone button is missing or Control + M does nothing, update the Codex app. A bug in April 2026 caused this, and Codex's team fixed it in a later update. While you wait for an update, use Apple Dictation in the message box.

When should you pay for a dictation app?

For simple, short text, like a text message, a web search or a quick reply, Apple Dictation works fine in most cases. For prompts in the Codex app, its own dictation is a good start.

A paid app makes sense if you write for hours every day, and if you don't want to fix the dictation errors that Apple Dictation makes.

We've built Roar, the best way to write with your voice. Roar cleans up and formats text based on where you're writing to retain your exact meaning. Think of how emails, LinkedIn posts and AI prompts all need to be formatted differently. It keeps your exact words, to the best extent possible. In Terminal and iTerm2, Roar adds no punctuation you did not say, and nothing runs until you press Return.

Roar keeps no recordings of your voice and no transcripts on our servers. It does not use your data to train AI models. Roar works on Macs with macOS 14 Sonoma or later and Apple silicon (M1 or newer).

Your first 5 dictations on Roar are free. You can read how Roar works for developers or download Roar for Mac.

Roar

Download Roar. Your first five dictations are on us.

Press a key and talk. Everything you dictate is formatted cleanly, punctuated correctly, spelled perfectly, and appears wherever your cursor is.

Get Roar for Mac

Download Roar for Mac. Requires macOS 14 Sonoma or later and Apple silicon (M1 or newer).

First five dictations are free, no credit card needed.