Blog

Microphone not working? How to test your mic and fix it

· Andrij Tkachenko · 4 min read

A desk microphone beside a level meter of rounded bars, with a small wrench beneath them

To find out why a microphone isn't working, test it on a page that does nothing else: open our microphone test, press Start microphone and speak. If the bar moves, your microphone and browser are fine and the problem is in the site or app of your call. If it doesn't, the test tells you what it found, and the causes below say how to fix it.

You can also record a few seconds and play them back, which is the only way to hear what others hear. The sound stays in your browser, with nothing sent anywhere, and a recording is gone when you leave the page.

The site is blocked

The browser asks each site for permission once, and remembers the answer. If it was refused, you have to change it yourself:

  • Chrome and Edge: click the icon at the left of the address bar, set the microphone to allow, and reload the page.
  • Firefox: click the permissions icon in the address bar, remove the block, and reload.
  • Safari on a Mac: open the Safari menu, choose Settings for This Website, and set the microphone to allow.

If the browser never asks at all, the block is usually in your system.

Your system blocks the browser

  • Windows 11: open Settings, then Privacy & security, then Microphone. Turn on microphone access, access for apps, and access for desktop apps.
  • Mac: open System Settings, then Privacy & Security, then Microphone, and turn it on for your browser. Restart the browser afterwards.
  • iPhone and iPad: open Settings, then Apps, then Safari, and set the microphone to ask or allow. On older versions, Safari is directly in Settings.
  • Android: open Settings, then Apps, then your browser, then Permissions, and allow the microphone.

The bar doesn't move

The browser has the microphone and hears nothing. Most often it is muted, or it is the wrong one:

  • Look for a mute switch on the headset or its cable, and a mute key on the keyboard.
  • Check the input level in your system. On Windows it is in Settings, then System, then Sound. On a Mac it is in System Settings, then Sound, then Input.
  • Pick another microphone in the list in the test. Computers often list several, and the browser may not have chosen the one you are speaking into.

The microphone isn't found

Check the cable and try another port. A Bluetooth headset has to be connected for calls and not only for music, so if it doesn't appear, connect it again in your system settings. On Windows, also check that the input device isn't turned off in the sound settings.

You sound muffled, far away or distorted

Record a few seconds in the test and listen. What you hear tells you which it is:

  • Muffled, on a Bluetooth headset. While its microphone is on, most Bluetooth headsets switch to a low quality mode in both directions. A wired microphone, or the one in your computer, often sounds much better.
  • Far away. Move closer, and keep the microphone clear of clothing and hair.
  • Distorted. It is too loud, which the test warns about when the bar reaches the end. Move back a little, or lower the input level.

While speaking normally, the bar should reach about the middle and stay out of the last part.

Others hear an echo

Your microphone is picking up your own speakers, and the others hear themselves. Use a headset, or lower the volume. If several people in one room are in the same call, only one of them should have the sound on.

What a call does to your voice

A browser usually changes your voice in a call, and the test has a switch for each thing it does:

  • Echo cancellation removes the sound of your speakers from what the microphone hears.
  • Noise suppression removes steady background noise, such as a fan.
  • Automatic gain evens out your level as you move or speak louder.

Turn one off and record again to hear the difference. They help most of the time, but noise suppression can also cut off music or a quiet voice, which may be what you are hearing.

It works here but not in your call

If the bar moves here and nobody hears you in the call, the microphone is fine and the fault lies with that one site or app:

  • Each site has its own permission, so the site of your call may still be blocked.
  • It may be using a different microphone, so check its own device settings.
  • You may be muted in the call itself.
  • Leave the call, reload the page and join again.

The steps are much the same for a camera, as how to test and fix a camera shows. If you are helping someone else, send them the microphone test, which needs no account.

For developers: asking for a microphone

A page has to be served over HTTPS, or on localhost while you develop, to use a microphone. These three settings are on by default in most browsers, and you can ask for them by name:

JavaScript
const stream = await navigator.mediaDevices.getUserMedia({
  audio: {
    echoCancellation: true,
    noiseSuppression: true,
    autoGainControl: true,
  },
});

console.log(stream.getAudioTracks()[0].getSettings());

getSettings() says what the browser really gave you, which can differ from what you asked for. To show a level as our test does, send the stream to an AnalyserNode and never to the speakers, or the voice feeds back.

Sound in a group call has further to go, as how group video calls work explains. The call screen in our SDKs for video calls deals with permissions, switching devices and mute for you, and the docs on calls show how to add it.