The fastest way to sign out of Gmail
To sign out of Gmail, click your profile picture in the top right corner of the screen, then click "Sign out" from the menu that appears. On a phone or tablet, tap the same profile picture icon and select "Sign out". The process takes five seconds and works the same way whether you are on a computer, iPhone, iPad, or Android device.
After you sign out, Gmail closes your session. Anyone who picks up your device after that point cannot read your emails without your password. This is different from straightforward closing the browser or app — closing the window alone does not actually sign you out, and someone could reopen Gmail and still see your inbox.
If you cannot find your profile picture, look in the top right corner of the Gmail window. It is usually a small circle with your initial or a photo. On some older browsers or if you are using Gmail in a very small window, the icon might be hidden under a menu button (three horizontal lines) instead.
Key Takeaways
- Click your profile picture in the top right corner and select "Sign out" — this is the only reliable way to end your Gmail session.
- Closing the browser or app does not sign you out; someone else can reopen Gmail and still access your inbox.
- On shared computers, always sign out before walking away, especially if you have forwarding rules or recovery emails set up.
- If you are signed into multiple Gmail accounts at once, signing out removes all of them from that browser at the same time.
Why closing the browser is not the same as signing out
Gmail stores a session cookie on your device — a small file that tells Gmail you are already logged in. When you close the browser window, that cookie stays on your computer. The next time anyone opens Gmail in that same browser, Gmail reads the cookie and opens your inbox without asking for a password.
This is convenient when you are the only person using a device. It becomes a serious problem on a shared computer, a work device, or a phone that other people handle. Someone does not need your password to read your email if the cookie is still there — they just need to open the browser and go to Gmail.
Signing out deletes that cookie. When you click "Sign out", Gmail tells your browser to throw away the session file. The next time anyone tries to access Gmail on that device, they will see the login screen instead of your inbox.
Signing out on a shared or work computer
If you use Gmail on a computer that other people also use, sign out every single time you finish. This includes work computers, library computers, school computers, and shared home devices. Do not rely on the other person to be honest or careful — treat the sign-out as a security step, not a courtesy.
Before you sign out, check whether you have set up any forwarding rules or recovery options. If you have forwarded your Gmail to another address, or if your recovery email is set to someone else's account, signing out does not change those settings. Someone with access to your device after you leave could still receive copies of your emails or use the recovery email to reset your password later. Those settings live in your Gmail account, not in the session cookie.
If you are worried about forwarding or recovery settings on a shared device, log into your Gmail account settings (the gear icon, then "See all settings") and check the "Forwarding and POP/IMAP" tab and the "Recovery email and phone number" section. Change them to an address or phone number only you control before you sign out.
What to do if you cannot find the sign-out button
If you are using Gmail through a third-party app like Outlook, Apple Mail, or Thunderbird, you do not sign out through Gmail itself. Instead, you remove the account from that app. The steps vary by app, but usually you go to Settings or Preferences, find the Gmail account in the list, and delete it or choose "Remove Account".
If you are using Gmail on a very old browser or a mobile browser that does not display the full interface, try going directly to the address bar and typing mail.google.com/mail/u/0/?logout. This URL forces Gmail to sign you out, even if the normal sign-out button is hidden.
On a phone, if the profile picture icon is not visible, look for a menu button (three horizontal lines or three dots) in the top corner. Tap that, then scroll down until you see "Sign out" or "Manage your Google Account". If you still cannot find it, swipe down from the top of the screen to see if a menu bar appears.
Signing out of multiple Gmail accounts at once
If you have more than one Gmail account and you are signed into both at the same time, clicking "Sign out" removes all of them from that browser. Gmail does not let you sign out of just one account while staying logged into another — it is all or nothing.
If you need to keep one account logged in while removing another, use a different browser or an incognito window instead. Open an incognito or private window, sign into the account you want to use temporarily, and close the window when you are done. The session will not carry over to your regular browser.
What happens after you sign out
Once you sign out, your Gmail inbox is no longer accessible from that device without your password. If you have two-factor authentication turned on, you will also need a code from your phone or security key. This is the intended behavior — it means your account is protected.
You can sign back in at any time by going to mail.google.com and entering your email address and password. If you have saved your password in the browser, it may fill in automatically, but you will still need to confirm it or enter a two-factor code.
Signing out does not delete your emails, change your settings, or affect your account in any way. It only closes the current session on that device. Your emails remain on Google's servers and will be there the next time you sign in from any device.
Signing out on a phone or tablet you are selling or giving away
Before you hand off a phone or tablet to someone else, sign out of Gmail and remove your Google account from the device entirely. Signing out alone is not enough — you need to go into the device settings and remove the account.
On an iPhone or iPad, go to Settings, tap your name at the top, then tap "Media & Purchases". Tap your Apple ID, then "Sign Out". This removes your Google account from iCloud and other Apple services. For Gmail specifically, go to Settings, scroll down to "Mail", tap "Accounts", find your Gmail account, and tap "Delete Account".
On an Android phone, go to Settings, tap "Accounts" or "Users & Accounts", find your Google account, tap it, then tap "Remove Account". This removes your Google account from the entire device, not just Gmail.
Frequently Asked Questions
Does signing out of Gmail sign me out of other Google services like YouTube or Google Drive?
Yes. Gmail, YouTube, Google Drive, Google Photos, and all other Google services share the same login. When you sign out of Gmail, you are signed out of all of them on that device. If you want to stay signed into one Google service but not others, you will need to use a different browser or an incognito window.
If I sign out on my phone, does it sign me out on my computer too?
No. Signing out on one device does not affect your session on any other device. You can be signed into Gmail on your phone, your computer, and your tablet all at the same time. You have to sign out on each device separately.
What if I forgot to sign out and I am worried someone accessed my account?
Go to mail.google.com and sign in from a device you trust. Click your profile picture, then "Manage your Google Account". Go to the "Security" tab and scroll down to "Your devices". You will see a list of all devices currently signed into your account. Click any device and select "Sign out" to end that session remotely, even if you do not have the device in front of you.
Can I set Gmail to sign me out automatically after a certain amount of time?
Gmail does not have a built-in auto-logout feature. However, most browsers have an option to clear cookies and sign you out when you close the browser. In Chrome, go to Settings, click "Privacy and security", then "Clear browsing data". Check "Cookies and other site data" and set it to clear "On exit". This signs you out of Gmail every time you close Chrome completely.
Is signing out the same as deactivating my Gmail account?
No. Signing out closes your current session on one device. Deactivating your account deletes your Gmail inbox and all your emails permanently. Signing out is temporary and reversible; deactivating is permanent. You only deactivate if you want to close your Gmail account entirely.