How to Sign out of Gmail

Privacy concerns make logging out of your account a smart idea

Staying logged in to Gmail on a device that others use could expose your account to unauthorized access. For example, if you use your Gmail account to sign up for bank accounts or online shopping websites, anyone who has access to your Gmail can reset passwords and cause other problems.

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.

These instructions cover how to sign out of Gmail from any computer or an iPhone or Android device.

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.

  2. At the bottom of the menu, select Sign out.

    Gmail's sign out menu item highlighted
  3. To sign out of another account you're logged into, choose that account in the menu and repeat the steps above.

How to Log out of Gmail on the Mobile Website

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

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

  2. At the top of the screen, tap your email address.

  3. Select Manage accounts on this device.

  4. On the bottom of the screen, tap Sign out. (It might say Sign out and turn off sync.)

Optionally, you can remove the Gmail accounts from the list of accounts that were signed in. After signing out, tap Remove to select the accounts you want to delete from the page.

Options menu, email menu, and Sign out of all accounts buttons on iOS

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 image at the top right.

  2. Select Manage accounts.

  3. Tap the switch next to the account you want to turn off to temporarily deactivate it.

    Account button, Manage accounts gear icon, and toggle switch for each Account in iOS
  4. Return to this screen and tap the switch again to turn the account back on.

To remove an account permanently, tap Edit, select the account, and then tap Remove Account.

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.

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.

  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>."

  3. Select Sign out all other Gmail 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.

Details button in Gmail, and Sign out all other web sessions button

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. Select Remove.

    Remove button in Recently used devices of Google Account