Most of the work with Claude Code is explaining what you want, and typing that out every time is the slow part. Voice mode takes it away: you say the idea out loud and it lands in the prompt as text, ready to send. It suits the long prompts most, where you would otherwise spend a few minutes typing context that takes seconds to say. A good example is reviewing a long piece of writing, like a blog post draft: you keep your eyes on the page and say what needs changing as you read, instead of stopping to type each note.
Type / in Claude Code and scroll the command menu to /voice, described as Toggle voice mode. Voice mode is dictation: you speak your prompt and Claude Code types it into the input as you talk. Claude still answers in text.

Below is how to switch it on, the two ways to record, and what it needs before it will work.
Turn It On
Run the command at the prompt:
/voice
Claude Code checks your microphone and confirms the mode. The docs show the reply as Turned on voice mode (hold). Hold space to record. Dictation language: en (/config to change).
/voice takes an optional mode:
/voiceturns it on or off and keeps the current mode./voice holdturns it on in hold mode, the default./voice tapturns it on in tap mode./voice offturns it off.
It stays on across sessions. You can set the same thing in your user settings file instead:
{
"voice": {
"enabled": true,
"mode": "tap"
}
}Hold or Tap
Hold is push to talk. Hold Space, speak, let go. There is a short warmup while Claude Code spots that the key is being held, and the footer shows listening... once it is recording. The text lands in the prompt and waits for you to press Enter, so you can type and dictate in the same message.
Tap has no warmup. With an empty prompt, tap Space once to start and again to stop. The prompt is sent on its own if the transcript is at least three words, so a stray tap does not send a single word. A recording also stops after 15 seconds of silence or two minutes in total.
Esc or Ctrl+C cancels a recording and puts the prompt back the way it was.
What It Needs
- A Claude.ai account sign-in. It does not work when Claude Code is set up with an API key or a cloud provider such as Amazon Bedrock.
- A microphone on the machine you are sitting at. It does not work in SSH or cloud sessions.
- On Windows, microphone access for desktop apps: Settings > Privacy & security > Microphone.
- In WSL, WSLg, which comes with WSL2 from the Microsoft Store. On WSL1, run Claude Code in native Windows instead.
Your audio is sent to Anthropic to be transcribed; it is not processed on your machine. Transcription does not use your Claude messages or count towards the limits in /usage.
Dictation follows the same language setting as Claude’s replies and defaults to English. Change it in /config if you speak something else.
Frequently Asked Questions
Does Claude talk back?
No. Voice mode is speech in, text out. You speak the prompt and read the reply.
Can I use a different key to Space?
Yes. The action is voice:pushToTalk and you rebind it in ~/.claude/keybindings.json. A combination such as meta+k starts recording on the first press with no warmup. The keybindings docs have the format.
Does it work in VS Code?
The Claude Code extension supports dictation with the same Claude.ai account rule, but not in Remote sessions such as SSH, Dev Containers or Codespaces, because the microphone is on your machine and the extension runs on the remote one.
Related
If SQL Server is part of your day job, my current work lives over at sqldba.blog: production DBA scripts, an error library and the SSMS guide.
Leave a Reply