Fix Firefox Microsoft Account Login Stuck on Trying to Log You In
Question details
The user is unable to complete the sign-in process for their Microsoft account using Firefox on Windows 11 due to a continuous loading loop.

- Product
- Firefox / Microsoft Account
- Device & OS
- Windows 11
- Scenario
- Attempting to sign in to a Microsoft service or account via the Firefox web browser.
- Observed behavior
- The login screen repeatedly displays the message 'Trying to log you in' and fails to proceed, though it may work correctly in Private Browsing mode.
Verify that your internet connection is stable and try opening the Microsoft login page in a Firefox Private Window (Ctrl+Shift+P). If the login works in private mode, the issue is likely caused by cached data or an active extension.
Clear Cookies and Site Data for Microsoft Domains
Removing corrupted or outdated cookies often resolves login loops and authentication stalls in Firefox.
Browser cookies and cached site data can occasionally become corrupted, causing authentication scripts to fail and loop continuously.
Click the Firefox menu button (three horizontal lines) in the top-right corner and select 'Settings'.
Click on 'Privacy & Security' in the left-hand navigation panel.
Scroll down to the 'Cookies and Site Data' section and click the 'Manage Data' button.
Type 'microsoft.com' into the search bar, select the displayed entries, and click 'Remove Selected'. Repeat this process for 'live.com' and 'office.com'.
Click 'Save Changes', confirm the removal, restart your Firefox browser, and attempt to log in again.

Temporarily Disable Browser Extensions
Ad-blockers or privacy extensions might block the scripts required for Microsoft's sign-in process.
Create a Fresh Firefox Profile
If clearing cookies fails but Private Browsing works, creating a new browser profile resolves issues caused by deep-rooted configuration corruption.
Bypass Microsoft Login Hassles with WPS Office
If Microsoft account login loops are preventing you from accessing your documents on Office Online, switch to WPS Office. It provides a seamless, lightweight, and completely free desktop alternative that doesn't force you into complicated browser logins to get your work done.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install WPS Office: Run the downloaded executable file and follow the simple on-screen instructions to set up the software.
- 3. Open Your Documents: Double-click any existing Microsoft Word, Excel, or PowerPoint file to open and edit it instantly in WPS Office.

Frequently Asked Questions
Why does Firefox get stuck on "Trying to log you in"?
This issue typically occurs due to corrupted site cookies, strict tracking protection settings blocking necessary third-party sign-in scripts, or interference from privacy-focused browser extensions.
Does Firefox's Enhanced Tracking Protection break Microsoft logins?
Yes, if Enhanced Tracking Protection is set to "Strict", it may block the cross-site tracking cookies required by Microsoft authentication. You can fix this by clicking the shield icon in the address bar and toggling off tracking protection specifically for the login page.
How do I know if a browser extension is causing the login loop?
The easiest way to test for extension interference is by opening a New Private Window (Ctrl+Shift+P) and attempting to log in. If the login is successful in Private Browsing, an active extension or cached data in your normal browsing mode is likely the culprit.




