logo
search
Sign-in & Login Problems

Fix Firefox Login Loop for Microsoft Accounts on Windows 11

Maira MehtabMaira Mehtab Sep 22, 2026 870 views

Question details

The user is unable to sign into a Microsoft account via Firefox due to an endless login loop, though the process works perfectly in a Private Browsing window.

Product
Firefox Browser / Microsoft Account
Device & OS
Windows 11
Scenario
Attempting to sign into a Microsoft account on the web using the Firefox browser.
Observed behavior
After entering the correct password and authenticator code, Firefox repeatedly displays a 'Trying to log you in' message and fails to complete the sign-in. The same login flow succeeds in a Private Browsing window.
Before you start

Before troubleshooting, ensure you have your Microsoft account credentials saved elsewhere and close any active Microsoft or Outlook tabs in your browser.

Solution 1Recommended

Clear Cookies and Site Data for Microsoft Domains

Because the login works in Private Browsing, corrupted cookies or cached data in your normal session are the most likely culprits.

Private browsing windows do not use your existing cache and cookies. Clearing your browser's stored data forces Firefox to retrieve fresh authentication tokens from Microsoft, resolving the loop.

1
Open Firefox Settings

Click the application menu button (three horizontal lines) in the top-right corner of Firefox and select Settings.

2
Navigate to Privacy & Security

Select the Privacy & Security panel from the left-hand sidebar menu.

3
Manage Data

Scroll down to the Cookies and Site Data section and click the Manage Data button.

4
Clear Microsoft Cookies

Type 'microsoft' and 'live' into the search bar, select the matching domains, click Remove Selected, and then click Save Changes.

Tip: Restart Firefox completely after clearing the site data before attempting to log in again.
Free Microsoft Office alternative

Switch to WPS Office for a Seamless Experience

Tired of dealing with browser login loops and web-based sync issues? WPS Office is a powerful, lightweight desktop alternative that lets you edit Microsoft documents offline without relying on web browser authentication.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and run it on your Windows PC.
  2. 2. Open Your Files: Double-click any existing Microsoft Office files (.docx, .xlsx, .pptx) to open them instantly in WPS Office.
  3. 3. Edit Offline: Enjoy full editing capabilities without needing to authenticate through a web browser.
100% compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight desktop application that works offlineNo mandatory web browser logins required to edit your local filesFamiliar, easy-to-use user interface for instant productivity
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Microsoft login work in Private Browsing but not normally?

Private Browsing starts a temporary session with a completely clean slate. It ignores your existing cookies, cached site data, and often disables extensions by default. If a login works here, it indicates that your normal browser profile has corrupted data or a conflicting add-on.

Can Firefox's Enhanced Tracking Protection cause login loops?

Yes. Microsoft's authentication process relies on multiple redirects and cross-site cookies between domains like microsoft.com and live.com. If your tracking protection is set to 'Strict', it may block these necessary cookies, causing the login to loop or fail.

Do I need an active Microsoft account to use WPS Office?

No, you do not need a Microsoft account to use WPS Office. You can easily edit, save, and manage your documents using WPS Office's own seamless account system or simply use it offline as a standalone desktop application.