You typed your password, the site let you in, and the next time you visit — or even just open a new tab — you are signed out again. It happens with email, shopping sites, banks, and social media. It is frustrating, but it is not usually a sign that something is seriously wrong with your account.
What is probably happening
When you sign into a website, the site leaves a small file on your browser called a cookie. That cookie is what tells the site you are already logged in, so you do not have to enter your password every time you visit a new page.
If that cookie disappears, the site has no record of you and treats you as a new visitor.
The most common reasons cookies disappear:
- You are browsing in private or incognito mode. Private windows deliberately throw away cookies and login information the moment you close the window.
- Your browser is set to clear cookies when it closes. Some security settings or privacy extensions do this automatically.
- The site itself has a short session time. Banks in particular log you out after a period of inactivity — that is intentional.
- You have two or more browsers installed and signed in with one but trying to visit the site in another.
- A privacy or ad-blocking extension is treating the login cookie as a tracker and removing it.
- Your browser is blocking third-party cookies for a site that relies on them to stay logged in.
How to work out which reason applies to you
Step 1. Check whether you are in a private or incognito window. Private windows look slightly different — they usually have a dark header bar or a distinctive icon. If you are, open a normal window and try logging in there instead.
Step 2. Check which browser you are using. If you usually use Chrome but your phone opened the link in Safari, that is a different browser and it has no record of your Chrome session.
Step 3. Look for a “remember me” or “keep me signed in” box on the login page. If there is one, tick it before you sign in. Many sites default to short sessions unless you specifically ask to be remembered.
Step 4. If the problem happens in one browser but not another, try disabling your extensions one at a time. Go into your browser’s settings, find Extensions or Add-ons, and turn them off temporarily to see if the problem stops.
Step 5. Check your browser’s privacy settings. In most browsers you can find this under Settings, then Privacy and Security. Look for anything that says “Clear cookies when browser closes” or “Block all cookies” and turn it off for the sites that matter to you.
What is safe to try
- Tick the “keep me signed in” option when you log in.
- Switch from a private window to a normal one.
- Allow cookies from the site in your browser settings.
- Try a different browser to see if the issue is specific to one.
- Disable privacy extensions temporarily to test whether they are causing the problem.
What NOT to do
- Do not disable all security settings across your whole browser just for one site.
- Do not tick “remember me” on a shared computer that other people use.
- Do not re-enter your password on a site that looks slightly different from usual — check the address bar first to make sure you are on the real site.
If the problem is with your bank or email specifically
Banks and email providers sometimes log you out intentionally after a period of inactivity, or when they detect a login from a new location. This is a security feature, not a fault. If it is happening every time without any inactivity, contact the site’s support team — they can check whether there is a session or account setting you can adjust.
When to stop and seek help
If you are being logged out of accounts repeatedly and you did not do it yourself, and especially if you see login alerts from locations or devices you do not recognise, change your password immediately and contact the site’s support. That pattern could indicate someone else is accessing your account.
See also: setting up two-factor authentication to make your accounts harder to access even if someone has your password.
If this did not work
If you have tried the steps above and the problem continues on one specific site, search for that site’s name and “keep me logged in not working” — many sites have their own support pages for this exact issue, and the fix sometimes depends on the site’s own settings rather than your browser.
Frequently asked questions
Is being logged out a sign my account has been hacked?
Usually not. It is almost always a cookie or browser setting issue. Hacking signs to look for are: password stop working, unfamiliar activity in your account, or login alerts from places you have never been.
Why does my bank always log me out?
Banks time out sessions deliberately as a security measure. Most banking apps have a setting to extend the session slightly, but they will never stay logged in indefinitely — that is by design.
Does clearing my browser history log me out of everything?
Yes. Clearing history and cookies removes all your saved sessions. Only clear cookies if you are prepared to log back in to every site you use.
Will a VPN cause me to get logged out?
It can. Some sites tie your session to your IP address. If a VPN changes your apparent location, the site may treat you as a new visitor for security reasons. Try turning the VPN off for the affected site.
Can I tell the browser to remember me on some sites but not others?
Yes. Modern browsers let you allow or block cookies per site. Look in the browser’s privacy settings for an option to add site exceptions.