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.

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.

    Screenshot of Gmail's sign out menu item
  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.

Mobile Website

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

    Three iOS screens showing hamburger menu, email menu, and Sign out of all accounts buttons
  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, use the Remove button to select the accounts you want to delete from the page.

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.

    Three iOS screens showing Account button, Manage accounts gear icon, and toggle switch for each Account
  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

Screenshot of the Activity information screen in Gmail

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 the Details link on the bottom right. It's right next to a sentence that reads "Last account activity: <time>."

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

Note these facts about signing out of your account from the last account activity page:

  • You will not be signed out of the current session you're using to access this option.
  • This does nothing to your Gmail password, so if another user has access to your account because they know your password or it's stored in their browser, and that's why you've logged them out, the only way to be sure that they don't get into your account again is to change your Gmail password.
  • 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

Screenshot showing how to remove a device's 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. Click or tap your Google profile picture near the top right corner of the page.

  3. Click/touch Google Account.

    Google Account button in Gmail
  4. Find the Security section.

  5. Scroll down to Your Devices.

  6. Go to Manage devices.

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

    Android device selected in Recently used devices section of Google Account
  8. Next to the Account access line, choose the red REMOVE button.

    Remove button in Recently used devices
  9. Click REMOVE once more in the pop-up window to confirm.

    Remove confirmation button in Google Account