How to Sign out of Gmail

Privacy concerns make logging out of your account a smart idea

While it's fine to stay logged in to Gmail on your own computer or phone, for security reasons it's best to log out after using it in other places like a public computer or someone else's phone.

Staying logged in to Gmail on a device that others could expose your account to unauthorized access. For example, if you use your Gmail account to sign up for bank accounts, online shopping websites, and so on, anyone who has access to the Gmail account can reset passwords and access those accounts. This scenario could even play out without your knowledge.

If you do forget to do it after you use Gmail on someone else's device, do it remotely. You can even stop a device from using your Gmail account if it gets stolen or lost.

How to Log out of Gmail's Desktop Website

Log out of Gmail on a computer in two simple steps.

  1. In the top-right corner of Gmail, select your profile photo or initials.

    Gmail's sign out menu item highlighted
  2. At the bottom of the menu, select Sign out.

  3. To sign out of another account you're logged into, choose that account in the menu, then repeat the steps above.

How to Log out of Gmail on Mobile

If you're using Gmail through the mobile website, the steps for logging out are slightly different.

  1. From, in the top-left corner of the screen, tap the hamburger icon (three horizontally stacked lines).

    Options menu, email menu, and Sign out of all accounts buttons on iOS
  2. At the top of the screen, tap your email address.

  3. On the bottom of the screen, tap Sign out.

Optionally, remove the Gmail accounts from the list of accounts that were just logged in. After signing off, tap Remove to select the accounts you want to delete from the page.

How to Sign out of the Gmail Mobile App

Signing out of Gmail from the mobile app requires that you remove the account from your phone or tablet. Note that this doesn't delete your Gmail account, it just removes it from your phone until you log back in.

  1. From the Gmail app, tap the hamburger menu on the top left.

  2. Tap your email address at the top, and choose Manage accounts.

  3. On the Accounts screen, tap the toggle switch for any accounts you want to remove from your mobile device.

    Account button, Manage accounts gear icon, and toggle switch for each Account in iOS
  4. The account can be turned back on for the Gmail app at any time with this same method.

How to Sign out of Gmail Remotely

Logging out of Gmail remotely is a great idea if you've accidentally left yourself logged in on a public computer you no longer have access to, like in a library or school.

Activity information screen in Gmail from Chrome

The same screen for logging out of web sessions is also useful for seeing from where your account has been accessed recently, including the apps that have access to your Gmail.

You will not be signed out of the current session you're using to access this option.

  1. Open Gmail on a computer and scroll to the very bottom of the page below all of your messages.

  2. Click or tap Details on the bottom right. It's right next to a sentence that reads "Last account activity: <time>."

    Details button in Gmail, and Sign out all other web sessions button
  3. Select Sign out all other web sessions from the resulting pop-up window.

Email clients connecting through IMAP are not signed out. For example, if you're logged on through the Gmail mobile app as well, you will remain logged on.

Revoke Access to Your Google Account

There isn't a way to sign out of Gmail using the main account on an Android. However, from the Recently used devices area of your Google account you can prevent the device from accessing your entire Google account, including your Gmail, which is useful if you lost the device or forgot to log out of a device you no longer have access to.

  1. From a computer, sign in to your Gmail account.

  2. Select your Google profile picture near the top right corner of the page.

  3. Select Google Account.

    Google Account button in Gmail
  4. Select Security.

  5. Scroll down to Your Devices, then select Manage devices.

    Manage devices link in Google Account Security/Your Devices section
  6. Select the entry for the device you want to block from accessing your Gmail account.

    An Android device selected in Recently used devices section of Google Account
  7. Next to the Account access line, select REMOVE.

    Remove button in Recently used devices of Google Account
  8. Select REMOVE once more in the pop-up window to confirm.

    Remove confirmation button in Google Account