If Firefox shows a box saying “The proxy moz-proxy://… is requesting a username and password”, nothing is wrong with Firefox itself. A proxy server between you and the internet is asking you to log in. This guide explains what moz-proxy means, why the box appears, and how to make it go away.
What is moz-proxy?
moz-proxy:// is the label Firefox uses for a proxy server when it asks for a login. It isn’t a website, a virus or a Mozilla service. The address after it, such as moz-proxy://192.168.1.10:8080, is the proxy’s IP or hostname and port.
The full message usually looks like this:
The proxy moz-proxy://proxy.example.com:8080 is requesting a username and password. The site says: “proxy”
It appears when Firefox sends traffic through a proxy that requires a login, and either no credentials are saved or the saved ones were rejected. Firefox also uses the same moz-proxy:// label for proxy logins it stores in its password manager.
Why the moz-proxy prompt appears
| Situation | What’s happening | Fix |
|---|---|---|
| You set up a paid proxy | The proxy needs your username and password | Enter the credentials from your provider and save them |
| It asks again after every restart | Firefox isn’t reusing the saved login automatically | See “Stop it asking every time” below |
| It keeps rejecting your login | Wrong or changed credentials are saved | Delete the saved moz-proxy login and enter the right one |
| You never set up a proxy | Firefox, an extension or your system settings route traffic through one | Check Connection Settings and extensions |
| You’re on a work or school network | The organization’s proxy needs your network login | Use your network account, or ask your IT team |
Fix 1: Enter and save the right credentials
- Find the proxy username and password in your proxy provider’s dashboard. They’re not your Firefox or email password.
- Enter them in the prompt.
- Tick the option to save the login in Firefox’s password manager, then click OK.
If the box returns straight away with empty fields, the details were rejected. Copy them again without spaces and check that the host and port in Firefox match your provider’s.
Fix 2: Delete a wrong saved proxy login
- Open Firefox Settings → Privacy & Security → Saved passwords (or type
about:loginsin the address bar). - Search for moz-proxy.
- Select the entry for your proxy and click Remove.
- Restart Firefox and enter the correct credentials when asked.
Fix 3: Stop it asking every time Firefox starts
Firefox normally asks you to confirm saved proxy credentials once per session. To have it log in automatically:
- Type
about:configin the address bar and accept the warning. - Search for
signon.autologin.proxy. - Set it to true, then restart Firefox.
This doesn’t work in every setup, especially on corporate networks. Two other options:
- IP whitelisting: if your proxy provider lets you authorize your own IP address, the proxy stops asking for a password at all.
- A proxy extension: add-ons such as FoxyProxy store proxy credentials and switch proxies for you.
Fix 4: You didn’t set up a proxy
If you don’t use a proxy and the box still appears, something else is routing Firefox through one.
- Open Settings → General, scroll to Network Settings and click Settings.
- Look at the top of the Connection Settings window. If an extension is controlling your proxy, Firefox names it there, with a button to disable it.
- If you don’t need a proxy, select No proxy. If your network needs one, select Use system proxy settings instead.
- Check your operating system’s proxy settings too, since Firefox can inherit them.
- Review your extensions in Add-ons and themes and remove any you don’t recognize.
If a proxy keeps reappearing after you remove it, scan your computer with your security software.
Fix 5: On a work or school network
Many organizations require all traffic to go through a proxy that checks your network account. Enter your network username and password, the ones you use to sign in to your work computer. If the prompt keeps coming back, your IT team manages these settings and can fix it centrally.
Using a proxy in Firefox without the prompts
If you use proxies for work, a clean setup avoids the box entirely:
- Save your credentials once in Firefox’s password manager, or use IP whitelisting where available.
- Use one extension, such as FoxyProxy, to manage proxies rather than mixing extensions and manual settings.
- Follow our step-by-step guide to setting up a proxy in Firefox.
HydraProxy’s residential and US 4G/5G mobile proxies support HTTP/S and SOCKS5 and work with Firefox’s built-in proxy settings.
FAQ
Is moz-proxy a virus? No. It’s how Firefox labels a proxy that wants a login. If you never set up a proxy, check your Connection Settings and extensions as described in Fix 4.
How do I disable moz-proxy? There’s nothing called moz-proxy to disable. Remove or correct the proxy it’s pointing to: set Connection Settings to “No proxy”, or save the right credentials.
What should I enter in the moz-proxy username and password? The proxy login from your proxy provider, or your network account on a work or school network.
Why does Firefox ask for the proxy password again after I saved it? Either the saved login is wrong (delete it in about:logins) or Firefox is asking you to confirm it for the new session (try signon.autologin.proxy).
Does Chrome show the same prompt? Chrome shows its own “Sign in” box for proxy logins. It doesn’t use the moz-proxy label.