Claude Code Voice Not Working? Match Your Symptom to a Fix

You hold Space and nothing happens. Yesterday, the same prompt box picked up every word. Find the symptom below, get a short instruction into the field, and check it before you send.

A match with a violet head bursts into flame against a dark background.
VoiceBoard editorial teamVoiceBoard editorial teamVoice input tools editorial team
Contents

Which symptom do you see?

Start with what happens when you try to speak. A missing command, a silent recording, and a key that only types spaces lead to different checks.

What you seeWhere to start

/voice missing or “voice isn't available in this environment”

Check your login and where Code is running.

No audio or no speech

Check whether your microphone picks up sound.

Space does nothing or Stopped after sleep

Check the key mode, or reconnect the audio input.

Before changing settings, see which version you have:

claude --version

Could an update be enough? Run this, restart Claude Code, and try again:

claude update

This page is about speaking an instruction into Claude Code's input field. If you want Claude to answer out loud, you're looking for Claude voice mode.

Was your symptom fixed in an update?

Code once reported a silent recording as a “connection failure.” That message could send you looking in the wrong place.

The changelog records 60 voice-related changes across 36 releases. These three fixes are worth a quick look before you troubleshoot further. All dates below are in 2026.

Voice hangs after a connection failure
Native versions 2.1.229 through 2.1.231 could hang here. Fixed in 2.1.232, August 13.

Silence is reported as a connection failure
Fixed in 2.1.200, July 3.

A failed capture keeps retrying
Fixed in 2.1.202, July 6.

Check claude --version against the fix that matches your symptom. An older version gives you a reason to update; a matching symptom alone doesn't prove the cause.

See all version fixes

Does recording fail even though the microphone is ready?

Recording fails with SoX already installed, or a Mac records silence after changing inputs
Fixed in 2.1.195, June 26.

Windows shows WebSocket HTTP 101, or an Apple Silicon Mac never asks for microphone access
Fixed in 2.1.89, March 31.

Check claude --version. If you're below the relevant fix, update and restart before changing your audio setup.

Did voice disappear or ask you to sign in again?

Voice looks unavailable when an organization policy is the reason
The explanation was improved in 2.1.191, June 24.

Switching voice on or off makes you log in again
Fixed in 2.1.166, June 5.

A folder or branch name containing non-ASCII characters breaks the connection
Fixed in 2.1.160, June 1.

VS Code offers unavailable dictation with a third-party provider
Fixed in 2.1.257, September 1.

VS Code checks the microphone in an unsupported environment
Fixed in 2.1.301, October 15.

Check claude --version against the matching fix. For a current version, continue with the login and environment checks below.

Does the recording key behave strangely?

Holding the key does nothing in the agent view's reply pane
Fixed in 2.1.145, May 19.

Your remapped recording key is ignored
Fixed in 2.1.141, May 13.

Holding again while speech is processing inserts spaces
Fixed in 2.1.98, April 9.

Ctrl+C or Esc won't cancel recording or processing, or Space starts recording outside the input field
Fixed in 2.1.280, September 22.

Check claude --version. Update if needed, then try the recording key in an empty prompt.

Is the microphone covering part of the VS Code input?

The microphone blocks scrolling in a tall input field
Fixed in 2.1.282, September 24.

Check claude --version against that fix, then update and restart if needed.

Claude Code changelog · Release dates

Why is /voice missing?

If /voice has disappeared, first check which account Claude Code is using. Run /login and sign in with your active claude.ai account.

An API key or a configured provider can take priority over that login. On a work setup, keep the organization's configuration and ask your administrator about voice access if a policy blocks it.

Quick check: After signing in, try /voice again. If it says “voice isn't available in this environment,” check where Code is running next.

Microphone here, Claude Code thereDiagram: microphone capture stays on this computer while SSH or cloud Code runs remotely.This computerRemote computerSSH · cloud
Where is your microphone being captured?

Is Code running over SSH, in the cloud, or through VS Code Remote? Those environments don't capture your speech through Code's voice input. Continue to “How can I keep dictating across my apps?” for a workflow that captures speech on your own computer.

Are you using VS Code locally? Use the extension's microphone control. The CLI commands on this page belong in the terminal.

No audio detected or no speech detected?

Before changing the network, make a short recording on your computer. Watch the input level in Sound → Input as you speak. Whether sound reaches the computer decides which check comes next.

Two microphone checksDiagram, not a system screenshot: a flat input level means no sound reaches the computer; an active level means sound arrives but words do not.No sound reaches the computerInput / accessSound arrives, but words don’tLanguage
Diagram: follow the input level before changing the network.

No audio detected: can the computer hear you?

Choose the microphone you're speaking into in Sound → Input, then check its permission:

  • macOS: Open Privacy & Security → Microphone and allow your terminal.
  • Windows: Open Privacy & security → Microphone and allow desktop apps to access the microphone.

Speak again and watch the input level. If it moves, return to Code and try recording.

Your Mac terminal isn't in the permission list?

Reset the microphone permission for that terminal so it can ask again. For Apple Terminal, run:

tccutil reset Microphone com.apple.Terminal

For iTerm2, use:

tccutil reset Microphone com.googlecode.iterm2

Use the command for your terminal. Each resets permission only for the named app. Fully quit the app, reopen it, and run /voice to request access again.

No speech detected: sound arrives, but words don't

Move closer to the microphone and reduce background noise. Check the speech language in /config; the default is English (en). Then try “Hello Claude” in English, or a short phrase in the language you've selected.

Does it explicitly say “Voice connection failed”?

Check the network connection. For a WebSocket 4xx error, try /login and check your proxy settings. If the input level stays flat, return to the microphone checks first.

Why does holding Space do nothing?

A held key sends repeated keypresses. What appears in the prompt helps you tell whether Code is using the wrong voice mode or isn't receiving those repeats.

What Space puts into your promptDiagram: many spaces point to hold mode; one or two spaces point to missing key repeats and a tap mode test.Lots of spaces␣␣␣␣␣␣␣␣/voice holdOnly one or two spaces␣␣/voice tap
Diagram: the spaces in your prompt point to your next check.

You get lots of spaces: select hold mode with /voice hold, then try holding Space again.

You get only one or two spaces: the repeated keypresses aren't reaching Code. Try tap mode to test recording without holding the key:

  1. Run /voice tap.
  2. Start with an empty prompt and tap the recording key.
  3. Say “Hello Claude,” then tap again to stop.

Look for those words in the input field. In tap mode, three or more words are submitted automatically, so keep this first test to the two-word phrase.

Want to review a full instruction before sending? In your editor, open or create ~/.claude/settings.json. Add {"voice":{"autoSubmit":false}}, merging it with any settings already there. Save the file and restart Code, then run /voice hold. Hold Space, speak, then release it. Check the text and press Enter when you're ready to send.

Why did it stop after sleep or in WSL?

If you had dictation working and it went quiet after sleep or a headset change, start with the audio input. If you're in Linux or WSL, check whether the environment can record at all.

After sleep or a Bluetooth change

Select the intended microphone in Sound → Input, then restart Code. Treat this as a way to get going again. Test with “Hello Claude” before returning to your instruction.

On Linux

Code selects the recorder automatically. Check that a recording on the host computer contains your voice. In Code, run /voice hold, hold Space, say “Hello Claude,” and release it. If Code says it needs SoX, run the install command shown in that error and repeat the test. If it says SoX cannot open an audio capture device, run Code on a computer with a microphone.

In WSL

Check that you're using WSLg. If Code reports a recorder error requiring SoX and PulseAudio support, install both packages:

sudo apt install sox libsox-fmt-pulse

SoX alone isn't enough for that fallback. Try “Hello Claude” again after installation. In a headless environment, installing a recorder package won't create a microphone; use a workflow that records on your local computer.

How can I keep dictating across my apps?

You can get words into Code again. Then you switch to an editor to explain a change, or to your browser to write a bug report, and want to keep speaking there too.

Wispr Flow gives you one dictation tool across apps on Mac and Windows. Speak your instruction into the field you're using, review the text, and send it when it's ready.

Wispr Flow in Cursor, 0:40–0:49: speak, then check the instruction in the field. Wispr Flow demo
Cursor prompt: Can you help me write a component that will create a nice celebration animation for when the user completes their onboarding?
Cursor, 0:48 in the video: the dictated instruction is still in the field, ready to check.

Will it put the text into my terminal?

In Claude Code on Mac, long pastes can arrive in parts. Supported Windows IDEs use Shift+Insert for pasting. Check that the full instruction reached the field before you submit it.

If the text doesn't appear, use Paste last transcript: Cmd+Ctrl+V on Mac or Shift+Alt+Z on Windows. You can also use your terminal's paste command.

Using Flow with Cursor, VS Code, and other IDEs

Working over SSH? Run dictation on your local computer and insert the text into the local window containing your SSH session. Microphone access and your organization's policy still apply.

Finish the instruction you came here to write, then keep dictating when you move to your editor or browser. Try Wispr Flow on Mac or Windows; pricing is on the download page.

Dictate. Check the text in the field. Send when it says what you mean.

Comments

No comments yet. Ask a question or share what worked for you.

Leave a comment

Comments are checked before they appear, usually within a day.