Firefox Edge Browser Error Code NS_ERROR_REDIRECT_LOOP: How to Fix It
Easy 5-20 minutes Medium Severity
Verified June 2026
- Error Code
- NS_ERROR_REDIRECT_LOOP
- Brand
- Firefox Edge
- Product Type
- browser
- Severity
- Medium
- DIY Difficulty
- Easy
- Estimated Fix Time
- 5-20 minutes
Ad
Tools You'll Need
- Firefox browser (latest version recommended)
- Access to Firefox Settings menu
- Command Prompt or Terminal (for DNS flush)
- Internet connection
How to Fix Error Code NS_ERROR_REDIRECT_LOOP
-
Clear Cookies and Site Data for the Affected Website
Clearing cookies will log you out of that website. Make sure you know your login credentials before proceeding. -
Clear All Firefox Browser Cache and Cookies
This will log you out of all websites you are currently signed into in Firefox. -
Disable Firefox Extensions and Add-ons
-
Check and Disable Firefox's HTTPS-Only Mode
-
Disable or Configure Your VPN or Proxy Settings
-
Flush Your DNS Cache
-
Refresh Firefox (Reset to Default Settings)
A Firefox refresh will remove all extensions, customizations, and some stored preferences. Your bookmarks, passwords, and browsing history are preserved. -
Try the Website in a Private Window or a Different Browser
Ad
When to Call a Professional
If you have completed all the steps above and the error persists across multiple browsers and devices on the same network, the redirect loop is likely caused by a server-side misconfiguration on the website itself — meaning it is not something you can fix. In that case, contact the website owner or webmaster and report the issue. If this is happening on a website you manage or own, contact your web hosting provider or a web developer to correct the server redirect rules (often an issue in .htaccess files or server configuration). If your entire network is affected and multiple websites show redirect errors, contact your Internet Service Provider (ISP) for assistance.Frequently Asked Questions
What causes the NS_ERROR_REDIRECT_LOOP error in Firefox?
This error is caused when a webpage sends your browser into an endless cycle of redirects — the page keeps redirecting to another URL, which redirects back, and Firefox stops the loop to prevent it from going on forever. Common causes include corrupted cookies, misconfigured HTTPS settings, conflicting browser extensions, VPN or proxy interference, and server-side redirect errors on the website itself.
Will clearing cookies fix NS_ERROR_REDIRECT_LOOP in Firefox?
In most cases, yes. Corrupted or outdated cookies are the number one cause of redirect loops in Firefox. Clearing cookies and site data for the affected website resolves the error the majority of the time. If that alone does not work, also clearing the full browser cache usually solves it.
Why does NS_ERROR_REDIRECT_LOOP only happen on one specific website?
If the error only occurs on one site, it is usually because that site has set cookies or session data on your browser that are conflicting with its own redirect rules. It can also mean the website itself has a misconfigured redirect (for example, a loop between HTTP and HTTPS versions). Clearing cookies for that specific site is the best first step.
Is NS_ERROR_REDIRECT_LOOP a virus or malware?
No, this error is not caused by a virus or malware in typical cases. It is a browser-level error indicating a redirect conflict. However, if you are seeing unexpected redirects on many different websites — especially to unfamiliar URLs — it could be a sign of a malicious browser extension or DNS hijacking. Run a trusted malware scanner such as Malwarebytes to rule out any malicious software.
How do I fix NS_ERROR_REDIRECT_LOOP on Firefox for Android or mobile?
On Firefox for Android, open the app and tap the three-dot menu, then go to Settings > Delete browsing data. Check 'Cookies and active logins' and 'Cache', then tap 'Delete browsing data'. You can also try disabling any installed Firefox add-ons by going to Settings > Add-ons. If the issue persists, try the website in a private tab by tapping the mask icon in the tab switcher.