logo
search
Sign-in & Login Problems

Fix Firefox Microsoft Account Login Stuck on Trying to Log You In

Aamir Naveed AkramAamir Naveed Akram Sep 28, 2026 869 views

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.

Fix Firefox Login Stuck on “Trying to Log You In” for Microsoft Accounts
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Firefox Settings

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

2
Navigate to Privacy Settings

Click on 'Privacy & Security' in the left-hand navigation panel.

3
Manage Site Data

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

4
Remove Microsoft Cookies

Type 'microsoft.com' into the search bar, select the displayed entries, and click 'Remove Selected'. Repeat this process for 'live.com' and 'office.com'.

5
Save and Restart

Click 'Save Changes', confirm the removal, restart your Firefox browser, and attempt to log in again.

Clear Cookies and Site Data for Microsoft Domains
Tip: Make sure Firefox's Enhanced Tracking Protection is not blocking third-party sign-in cookies. You can temporarily disable it by clicking the shield icon next to the address bar on the login page.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
  2. 2. Install WPS Office: Run the downloaded executable file and follow the simple on-screen instructions to set up the software.
  3. 3. Open Your Documents: Double-click any existing Microsoft Word, Excel, or PowerPoint file to open and edit it instantly in WPS Office.
Edit Word, Excel, and PowerPoint files with full Microsoft Office format compatibility.Work offline directly on your Windows 11 PC without depending on browser-based cloud logins.Lightweight installation with an intuitive, familiar interface.No mandatory account authentication required for basic document editing.
microsoft office alternative - 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.