Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Of course I can't reproduce it now! However, about 20% of the time I try to login to my Gmail account (because my wife is logged into her), it gets stuck in an infinite redirect loop. I always end up surfing around to different Google sites for a while, and then eventually it fixes itself.

Anyone know how to fix this? What causes it?

alt text

share|improve this question
up vote 11 down vote accepted

A couple things to try:

  • Clear your cookies (if a duration is allowed, I'd try "everything")
  • Clear your cache (if a duration is allowed, I'd try "everything")
  • Make sure your system time is correct.
  • If none of that works, try logging in with labs disabled: http://mail.google.com/mail/?labs=0
share|improve this answer
FWIW I just remedied the infinite loop problem on iPad iOS 5 safari by clearing browsing history only. – alx9r Nov 5 '12 at 20:14
doesn't work for me.. :( – Shrey Dec 11 '13 at 14:38

I found that it was the Smart Labels feature available in Labs that caused the infinite redirect loop. After using http://mail.google.com/mail/?labs=0 to get into my mail, I disabled that lab feature. After that, I could access email again normally. It's a shame this answer (specifically to use the labs=0 URL) isn't listed anywhere in the Google Apps help site.

share|improve this answer
Doesn't work for me. This happens for all google apps, and not just gmail. – yoniLavi Jul 27 '14 at 15:37

I started experiencing the infinite loop upon login after I added https://mail.google.com to my list of trusted sites in IE11 (Tools → Internet Options → Security → Trusted Sites → Sites → Add)

Once I removed https://mail.google.com from my trusted sites list, the issue cleared up.

share|improve this answer

Seems like clearing the cookies should help it, however that would be annoying to do every time you want to login to your Gmail account.

I would therefore suggest that you either ask your wife to use the private browsing/incognito mode of your browser, or that you create a separate browser profile for each of you (with Chrome, you can use ChromeDeck: http://lifehacker.com/5549178/chromedeck-creates-and-manages-multiple-chrome-profiles).

Alternatively, if you are happy to use a desktop client, such as Thunderbird, that should also solve your issues, albeit indirectly.

share|improve this answer
I have multiple accounts that I sign in and out of. The redirect loop is not normal. Just to clarify, I was not saying clearing data needed to be done every time, just once to get out of the corrupted state. – Rebecca Chernoff Jul 18 '10 at 2:51
You can avoid signing in and out by using the multiple sign-in feature – Itamar Sep 19 '11 at 8:17

I had to enable third-party cookies to make mine work. After cleaning everything out and logging in, the cookies I had were: google-analytics.com googleusercontent.com gstatic.com youtube.com

So, that's what google registers you with upon log in.

share|improve this answer

I have the same problem: on desktop, switching between profiles works fine but on mobile either I always get to the first account page or get infinite redirects between two accounts.

The workaround that works for me: Switch on "PC version" option in settings (but then you get desktop view of your inbox, of course).

share|improve this answer

I fixed it by disabling the Hola extension in chrome.

share|improve this answer
This should be a comment. – serenesat Jul 2 '15 at 17:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.