How to Use Claude Code With Voice: 3 Ways That Work
Quick answer
Type /voice in Claude Code, then hold Space and talk. Your words appear in the prompt, and you press Enter to send. That built in dictation needs a claude.ai login and a microphone on the machine you are sitting at, and Claude Code still answers in text. If /voice is not available to you, the dictation built into Windows or macOS can type into your terminal instead. If you want Claude Code to answer out loud and take requests when the terminal is not in front of you, you need a voice layer on top, such as Filect.
Speaking a prompt is faster than typing it, and it changes what you ask for. When you talk, it is easy to explain the goal, the constraints and the bit you are unsure about, because saying three sentences costs nothing. Typed prompts tend to shrink to "fix the bug".
There are three practical ways to do it. This guide walks through each one, including the errors that stop the built in option from working and how to clear them.
The three ways, side by side
| Way | What you need | Claude Code answers | Best for |
|---|---|---|---|
Built in /voice dictation | A claude.ai login and a local microphone | In text | Most people using the CLI or the VS Code extension |
| Windows or macOS dictation | Nothing extra, it ships with the system | In text | API key, Bedrock or SSH setups where /voice is not available |
| Filect on top of Claude Code | Filect, plus your own Claude plan | Out loud | Hands-free requests and spoken replies, away from the terminal |
Claude Code details come from Anthropic's voice dictation docs, and the system dictation details from Microsoft's and Apple's support pages, all checked on December 3, 2026. These features change often, so confirm on the source before you rely on one.
Way 1: Claude Code's built in voice dictation
This is the place to start, because it costs nothing extra and it is tuned for the job. Anthropic's docs say the transcription recognizes development terms like regex, OAuth, JSON and localhost, and that your project name and git branch name are added as hints automatically.
Check the requirements first
- A claude.ai account as your sign in. Dictation is not available when Claude Code is set up with an Anthropic API key, Amazon Bedrock, Google Cloud or Microsoft Foundry.
- A local microphone. It does not work in cloud sessions or over SSH.
- An internet connection. Your audio is streamed to Anthropic's servers for transcription. It is not processed on your machine.
- WSLg if you run Claude Code inside WSL. On WSL1, the docs say to run Claude Code in native Windows instead.
Recording works on macOS, Linux and Windows. Transcription does not use Claude messages or tokens and does not count toward the limits shown in /usage.
Turn it on and speak
- Open Claude Code in your project and run
/voice. It runs a microphone check. On a Mac, the first run brings up the system prompt asking to let your terminal use the microphone. - Hold Space. The footer shows "keep holding…" for a moment, then "listening…".
- Say your prompt. The words appear dimmed as you speak.
- Release Space. The text is inserted at your cursor and Claude Code waits.
- Read it, fix anything by typing, and press Enter to send.
Because the transcript lands at the cursor, you can mix the two. Type a file path or a symbol heavy snippet, then hold Space and say the rest.
Hold mode or tap mode
Hold mode is the default. If holding a key feels awkward, run /voice tap. With the prompt empty you tap Space once to start, talk, and tap again to finish. In tap mode a transcript of three words or more is sent automatically, and a shorter one is inserted but not sent, so an accidental tap does not fire off a stray word. A tap recording also stops by itself after 60 seconds with no recognized words or after 10 minutes in total, and your words stay in the prompt unsent.
/voice off turns dictation off. The setting persists across sessions, and you can set it directly in your user settings file:
{
"voice": {
"enabled": true,
"mode": "tap"
}
}
Two more settings are worth knowing. Adding "autoSubmit": true to that voice object makes hold mode send on release when the transcript has at least three words. And dictation follows Claude Code's language setting, which defaults to English when empty, so change it in /config if you speak another language.
In VS Code
The Claude Code extension for VS Code supports dictation with the same claude.ai requirement. You click the microphone button in the prompt box. It is not available in VS Code Remote sessions, including SSH, Dev Containers and Codespaces, because the microphone is on your machine and the extension runs on the remote host.
When /voice does not work
These are the failures the docs list most prominently, with the fix for each.
| What you see | Cause | Fix |
|---|---|---|
| "/voice needs a Claude subscription" | An API key or third party provider is the active sign in | Remove it, restart Claude Code and run /login |
| Microphone access is denied | Your terminal has no microphone permission | Mac: System Settings, Privacy & Security, Microphone. Windows: Settings, Privacy & security, Microphone, and allow desktop apps |
| Holding Space just types spaces | Dictation is off | Run /voice hold |
| One or two spaces, then nothing | Your terminal is not sending key repeat events | Switch to /voice tap |
| No audio detected from microphone | The wrong input device, or it is muted | Pick your microphone as the system default input |
If your terminal does not appear in the Mac microphone list at all, the docs have a short reset procedure using tccutil. Follow it from the docs, because run without your terminal's identifier it revokes microphone access for every app on the Mac.
Way 2: System dictation, when /voice is not an option
Some setups rule out the built in feature. Your company may route Claude Code through Bedrock, you may pay by API key, or you may work on a remote box over SSH. In those cases your own computer can still do the typing, because the terminal window is local even when the session is not.
- Windows 10 and 11. Microsoft's voice typing starts with the Windows key and H. Microsoft says it needs an internet connection, a working microphone and your cursor in a text box.
- macOS. Turn on Dictation under System Settings, Keyboard, then start it with the microphone key or the shortcut shown there. Apple says it lets you speak to enter text anywhere you can type it, and that it stops by itself after 30 seconds without speech.
Click into the Claude Code prompt first, start dictation, and test with one short sentence, since terminals differ in how they accept dictated text. The tradeoff is vocabulary. System dictation is built for messages and documents, so expect to correct function names and library names by hand. Our guide on how to talk to your computer covers both tools in more depth.
Way 3: Spoken replies and hands-free requests with Filect
We build Filect, so weigh this section accordingly. Both ways above give you speech going in. Neither gives you a voice coming back, and both need the Claude Code prompt focused on your screen. Filect is a voice first AI assistant that fills that gap: you say a job out loud, it hands the work to Claude Code running on your own Claude plan, and it answers out loud. Every feature works on both Windows and Mac.
- A hands-free Assistant. Click Start and just talk. It can look at your screen when you ask, so "what does this error mean?" gets a spoken answer about the window in front of you.
- Claude Code as the agent. Bigger requests, such as "turn these meeting notes into a summary doc in my Projects folder", go to Claude Code from Anthropic or Codex from OpenAI. If one agent hits its usage limit or is not set up, Filect switches to the other on its own.
- Approvals you control. Ask first makes it stop for your approval before every action, and Full access lets it run.
- Dictation into any app. Hold a key and talk, and your words type into whatever app is in front, your terminal and editor included.
The honest caveats. If you live in the terminal and only want to stop typing prompts, /voice already does that at no extra cost and you do not need us. Filect is a paid app on top of your Claude plan. The agents and the hands-free Assistant need your own Claude or ChatGPT plan, which is why Filect adds no per-task fee. Basic includes 90 minutes of talking a day and 10,000 characters of spoken replies a day, and Pro is unlimited with fair use. Basic and Pro start with a 10-day free trial, and a card is required. Current prices are on the pricing page, and our Claude Jarvis guide compares Filect with the other ways to put a voice on Claude.
Give Claude Code a voice that answers.
Say the job, approve the steps, hear when it is done. Free for 10 days on Windows and Mac.
Get Filect →How to speak a good prompt
Dictation rewards a slightly different habit from typing.
- Say the goal, then the limits. "Add rate limiting to the login route. Do not touch the session code, and keep the existing tests passing."
- Name files the way you would to a colleague. "The auth middleware" is usually enough for Claude Code to find the file. Type exact paths when it matters.
- Type the symbols. Regular expressions, flags and config keys are quicker by keyboard. Dictate around them.
- Read before you send. In hold mode nothing is sent until you press Enter, so use that pause. One misheard word can change a request.
The bottom line
Run /voice first. It takes a minute to set up and covers most of what people mean by using Claude Code with voice. Fall back to system dictation if your sign in or your remote setup rules it out. Move to a voice layer when you want answers out loud, or when you want to hand over a job without sitting at the terminal. If that last part is what you are after, our guide to hands-free computer control shows what else opens up.
FAQ
Does Claude Code have a voice mode?
Yes. Run /voice in the Claude Code CLI to turn on voice dictation. Your speech is transcribed into the prompt, and you either hold Space while you talk or switch to tap mode with /voice tap. It is speech to text only, so Claude Code still replies in text. The VS Code extension has a microphone button that does the same job.
Why does /voice say it needs a Claude subscription?
Voice dictation only works when a claude.ai account is your active sign-in. If Claude Code is using an Anthropic API key, Amazon Bedrock, Google Cloud or Microsoft Foundry, the speech to text service is not available. Anthropic's docs say to remove the API key setting, restart Claude Code and run /login.
Does voice dictation use up my Claude usage limits?
No. Anthropic's docs say transcription does not consume Claude messages or tokens and does not count toward the limits shown in /usage. The prompt you send afterwards counts the same as a typed one.
Can Claude Code talk back to me?
Not on its own. Claude Code's voice feature is input only. To hear answers out loud you need a layer on top of it. Filect is one: a voice first AI assistant for Windows and Mac that hands spoken requests to Claude Code on your own Claude plan and answers out loud. It is a paid app with a 10-day free trial, and a card is required.
Filect