Stuck on a YouTube sign-in loop in Firefox? A stale YouTube or Google cookie is usually the cause, and clearing it fixes the login in under a minute. Extensions and Firefox's privacy shield can also block Google's sign-in flow.
Clear YouTube cookies, turn off Enhanced Tracking Protection for the site, test a Private Window, and check extensions. Each step uses current Firefox desktop menus and keeps your other signed-in sites untouched.
In this guide, I have covered:
Contents
Why You Can’t Log In to YouTube in Firefox
You click on YouTube in Firefox and the page refreshes, loops back to “Sign in,” or shows a “Couldn’t sign you in” error. That almost always points to a stale or blocked YouTube cookie.
YouTube’s login flow relies on cookies from both youtube.com and google.com. Firefox’s Total Cookie Protection, the default desktop setting since 2022, isolates those cookies so each site sees only its own. For most sign-ins that isolation causes no trouble. A stale cookie or an interfering extension can still break the flow, even when YouTube works in other browsers.
The most common culprit is a bad YouTube cookie. Clearing it takes under a minute. The fixes below work in current Firefox desktop on Windows and macOS, and they leave your other signed-in sites untouched.
Quick Checks Before You Start
Sometimes the problem isn’t Firefox at all. Run these quick checks before you clear cookies or change settings:
- Try youtube.com in Chrome, Edge, or Safari first. If sign-in works there, Firefox is the likely problem.
- Check the Google Workspace Status Dashboard to see if YouTube’s sign-in service is down.
- Confirm your computer’s date and time are correct. A wrong system clock can block secure login.
- Restart Firefox once. A stuck tab or background process is sometimes the real culprit.
If another browser signs in fine, keep going. The issue sits in Firefox.
Clear YouTube Cookies and Site Data
Stuck on a YouTube sign-in loop in Firefox? Deleting YouTube’s saved cookies usually clears it. You stay signed in everywhere else.
- Click the hamburger menu
at the top right of Firefox. - Select Settings.
- Click Privacy & Security in the left sidebar.
- Scroll to Cookies and Site Data and click Manage Data….
- Type youtube.com in the search box, select the matching entries, and click Remove Selected.
- Click Save Changes and confirm.
- Reload YouTube and sign in again.
After the page reloads, go to youtube.com and sign in again. If the login still loops, clear cookies for google.com in the same dialog. Google stores the session across both domains.
You’ll know it worked when the sign-in prompt accepts your Google account instead of bouncing back. For a broader cleanup, follow the Clear Browser Cookies and Cache guide.
Turn Off Enhanced Tracking Protection for YouTube
Sign-in still failing after clearing cookies? Firefox’s Enhanced Tracking Protection can occasionally block part of Google’s login flow. Turning it off for youtube.com only leaves protection on for every other site.
- Open the website that fails to load in Firefox.
- Click the shield icon to the left of the address bar.
- Toggle the switch labeled "Enhanced Tracking Protection is ON for this site" so it moves to OFF.
- Wait for Firefox to reload the tab automatically, then try the page again.
Reload youtube.com, then try signing in again. You’ll know it worked when the shield disappears and the Google account prompt loads. If it works, you can keep ETP off for YouTube or re-enable it and clear cookies again if the loop returns.
Test the Sign-In in a Private Window
When Firefox works for most sites but YouTube won’t sign in, a Private Window is a quick isolation test. It ignores your stored cookies and most extensions.
- Press + + (or + + on macOS) to open a Private Window.
- Visit the site that was not accepting cookies.
- If it works here, return to the normal window and run Troubleshoot Mode to disable extensions temporarily.
You’ll know it worked when YouTube signs you in inside the private session. That confirms your Firefox install is fine and the issue sits in your main profile’s stored data.
TIP: If YouTube logs in normally in a Private Window, the problem is your stored cookies or an extension. If it still fails there, the issue is more likely network-related or on Google’s side.
Disable Extensions to Rule Out a Conflict
Extensions are often behind a stubborn YouTube login failure in Firefox. Privacy tools, ad blockers, and password managers top that list. A quick extension reset pinpoints the problem.
- Click the hamburger menu
and select . - In the left sidebar, click .
- Use the blue toggle next to each extension to disable it. Start with ad blockers, tab managers, and any extension you installed in the past few weeks.
- Restart Firefox from the hamburger menu
. - Use Firefox normally for a few minutes, then check about:performance. If usage dropped sharply, re-enable extensions one by one to find the offender.
With extensions off, reload youtube.com and try to sign in. You’ll know an extension was causing it when the login works again. Re-enable extensions one at a time to identify the culprit. Common offenders include aggressive ad blockers, cookie cleaners, and some VPN extensions.
Refresh Firefox as a Last Resort
If every step above fails, Firefox Refresh is the last resort. It resets settings and disables extensions while keeping your bookmarks and passwords. It’s a safe one-click reset.
- Click the hamburger menu
, choose , then select . - On the Troubleshooting Information page, find the Give Firefox a Tune Up section on the right.
- Click Refresh Firefox and confirm by clicking in the dialog.
- Wait for Firefox to restart. Your bookmarks and logins are preserved, but extensions and most site settings are reset.
When Firefox restarts, open youtube.com and sign in again. You’ll know it worked when the login prompt completes without the page looping. Once YouTube works, reinstall only the extensions you actually use and re-enable Enhanced Tracking Protection.
Frequently Asked Questions
Why does YouTube keep signing me out in Firefox?
YouTube’s session cookies get cleared when Firefox deletes them on exit, when a cookie-cleaning extension runs, or when a stale cookie is replaced. Open Firefox’s saved logins page and confirm your Google account password is stored, then clear the YouTube cookies once and sign back in.
Will clearing YouTube cookies delete my subscriptions?
No. Subscriptions, watch history, and playlists are tied to your Google account, not to your browser cookies. Clearing YouTube cookies only signs you out of the browser. Signing back in restores your entire YouTube state.
Is YouTube down when Firefox can’t log me in?
Sometimes. Check the Google Workspace Status Dashboard and try signing in to youtube.com in Chrome, Edge, or Safari on the same network. If YouTube works in another browser, the issue is local to Firefox.
Does Enhanced Tracking Protection break YouTube login?
Rarely. Firefox’s Total Cookie Protection isolates YouTube cookies from other sites but still allows the sign-in flow. If ETP does interfere, you can disable it just for youtube.com from the address-bar shield without losing protection elsewhere.
Should I switch to a different browser to sign in to YouTube?
You can, but the underlying Firefox issue will still be there. Fixing cookies and extensions usually gets YouTube login working again within a few minutes, and the fix sticks across Firefox restarts.
