Software & OS

How to Fix Microphone Blocked in Browser (Chrome, Safari)

To fix a microphone blocked in your browser, open the site's permission settings and change Microphone from Block to Allow (Chrome) or from Deny to Ask or Allow (Safari), then reload the page. If the setting is already on Allow, the cause is elsewhere: an insecure HTTP page, an iframe without microphone permission, a managed-browser policy, or the operating system's own microphone switch.

Browsers remember your answer to the "use your microphone" prompt for each site. If you chose "Never allow" once, even by accident, the site cannot ask again, and every video call, voice recorder or dictation page fails silently or with an error. The steps below change that stored answer.

Fix a blocked microphone in Chrome

Per Google's Chrome Help, you can change a single site's access like this:

  1. Click the three-dot More menu at the top right, then choose Settings.
  2. Open Privacy and security, then Site settings.
  3. Under Permissions, choose Microphone.
  4. Find the site in the not-allowed list and open it. Switch its microphone permission to Allow. Or use the delete control on the right of the entry to remove the exception, so Chrome asks again next time.

A shortcut: select the View site information icon to the left of the web address, then Site settings, and change the microphone permission there. Chrome saves the change automatically. If a Reset permissions button appears, it restores the site's earlier preferences. The prompt itself offers "Allow this time", "Allow while visiting the site" and "Never allow".

After changing the setting, reload the page. A page that already failed to get the microphone usually will not retry on its own, so a fresh load is the simplest way to make it ask again.

Check the default for all sites

The same Microphone page in Site settings also holds the default for sites you have not configured. If that default is set to block, every new site is refused without a prompt. Switch it to the option that lets sites ask, then handle individual sites in the lists below it.

Fix a blocked microphone in Safari on Mac

Apple's Safari guide gives these steps:

  1. Open Safari and choose Safari > Settings.
  2. Click Websites.
  3. Select Microphone in the list on the left.
  4. Use the pop-up menu next to the website to pick a setting. When visiting other websites sets the default for sites you have not listed.
OptionWhat it does
AskThe site must ask permission before using your microphone.
DenyThe site cannot use your microphone.
AllowThe site can always use your microphone.

If your site is set to Deny, change it to Ask or Allow. Apple notes that microphone settings are not shared across your Apple devices, so an iPhone or iPad needs its own change.

Other browsers

This article only gives steps for Chrome and Safari, because those are the ones checked against the vendors' own help pages. In other browsers the same idea applies: find the per-site permissions list, locate the site, and change Microphone from Block to Ask or Allow.

If the permission says Allow but the microphone is still blocked

Work through these in order. Each one matches a documented cause.

1. The page is not on HTTPS

MDN states that getUserMedia() "can only be used in secure contexts". A secure context is a page loaded over HTTPS, from file:///, or from localhost. On a plain http:// page, navigator.mediaDevices is undefined, so there is nothing to ask permission for and no prompt appears. Check that the address starts with https://. If you run the site yourself, serve it over HTTPS or test on localhost.

2. The page is inside an iframe without permission

When a site embeds a call widget or recorder from another domain, the embedding page has to delegate microphone access. MDN's example gives the iframe the allow attribute:

<iframe src="https://mycode.example.net/etc" allow="camera; microphone">
</iframe>

A site can also control the microphone with a Permissions-Policy header, for example:

Permissions-Policy: microphone=(self "https://developer.mozilla.org")

Per MDN, on browsers that support Permissions Policy, getUserMedia() fails if the policy does not allow the microphone. As a visitor you cannot fix this; tell the site owner. As an owner, add microphone to the iframe's allow attribute or to your header.

3. Chrome is managed by your work or school

Google's help page says an administrator may control these settings when Chrome is managed. If your Microphone settings are greyed out or keep reverting, ask whoever manages the browser.

4. The operating system is blocking it

Browser permission is only half of it. The operating system has its own switch for which apps may reach the microphone, and the browser counts as an app. On Windows, see how to allow apps to use the microphone in Windows, and if the device never shows up at all, fix a microphone not detected in Windows. To confirm that the microphone itself works, use how to test a microphone on your computer.

5. The browser is using the wrong microphone

Google's help lists a per-site microphone choice among the camera and microphone settings. A site pointed at a disconnected headset or a virtual device will look like it is blocked, though no permission is at fault. Pick the right input in the site's own audio settings (most call apps have one) and in the browser's microphone page.

What the error names mean

If you are a developer or you see an error code in a web app, MDN lists these getUserMedia() exceptions:

ErrorMeaning (from MDN)
NotAllowedErrorThe source cannot be used at this time: insecure page, access denied by the user for the site or session or globally, or blocked by Permissions Policy.
NotFoundErrorNo media tracks of the requested type were found that satisfy the constraints, so no microphone was found.
NotReadableErrorPermission was granted, but a hardware, operating system, browser or page-level error prevented access to the device.
SecurityErrorUser media support is disabled on the document. MDN says how this is enabled or disabled is left to each browser.

Use this to narrow things down. NotAllowedError points at permissions, HTTPS or iframe policy, all covered above. NotFoundError points at the device or the OS, so use the Windows articles linked earlier. NotReadableError means permission is fine, but something went wrong at the device level, which commonly means another program is already holding the microphone. Close other apps that use it and reload.

If it still fails

Reload the page after every change, then try once in a private or incognito window. If the site works there, a stored exception or an extension in your normal profile is the likely cause, so recheck the site's entry in the permissions list. If it fails everywhere in the browser, the problem is at the operating system or hardware level rather than in the browser's permission list.

Frequently asked questions

Why does my browser say the microphone is blocked?
Either you or the browser set that site's microphone permission to block (for example by choosing 'Never allow' on the prompt), the page is not served over HTTPS, an embedding iframe lacks permission to use the microphone, or an administrator policy controls the setting. Check the site's microphone permission first, since that is the most common cause.
Why don't I get a permission prompt any more?
Once a site is set to block, the browser stops asking and rejects the request straight away. The prompt only returns after you remove the block exception or switch the site back to Allow or Ask in the browser's site settings.
Does a website need HTTPS to use my microphone?
Yes. Browsers only expose getUserMedia() in secure contexts: pages loaded over HTTPS, from localhost, or from a file:/// URL. On a plain HTTP page the microphone API is not available at all, so no prompt appears.
What does NotAllowedError mean?
NotAllowedError is the error a page receives when getUserMedia() is refused. MDN lists these causes: an insecure page, a user who denied access for the site or session, a user who denied all media access globally, or a Permissions Policy that does not allow the microphone.

Sources