How to Sign Out of Gmail on All Devices (Step by Step)

Lost your phone, used a shared computer, or noticed something suspicious? Signing out of Gmail everywhere is the fastest way to protect your inbox. You can do it from a computer or from your phone, and it takes only a couple of minutes. This guide covers every method, plus the follow-up steps that keep your account safe.

1. Scroll to Last Account Activity

mail.google.com1Scroll to thebottomFind Last accountactivitySearch mailLast account activity: 5 minutes agoDetails
Step 1: find the Details link at the bottom right of your inbox.

Open Gmail on a computer and scroll to the very bottom of your inbox. In the lower right corner you will see a line that says Last account activity, followed by a Details link. This footer shows when your account was last used, which helps you spot unfamiliar sessions.

2. Sign Out All Other Web Sessions

mail.google.com2Sign out all otherweb sessionsKeeps this onesigned inActivity informationAccess typeTimeBrowser (Chrome) – this oneNowBrowser (Safari)2 hours agoMobile appYesterdaySign out all other web sessions
Step 2: click Sign out all other web sessions.

Click Details. A window opens listing recent sign-ins with the browser and time. Choose Sign out all other web sessions. This closes Gmail on every other browser and computer while keeping you signed in on the one you are using now.

3. Open Your Google Account Security Page

myaccount.google.com3Open the accountsecurity pageFind Your devicesSecurityYour devices3 devices signed inManage all devicesHow you sign inPassword and 2-Step Verification
Step 3: open Security, then Manage all devices.

For a fuller sweep, go to myaccount.google.com and select Security. Scroll to Your devices and choose Manage all devices. This lists the phones, tablets and computers that have recently used your account, including ones you may have forgotten about.

4. Sign Out of a Specific Device

myaccount.google.com4Sign out of adeviceRemove any youdo not recognizeYour devicesWindows laptopThis deviceiPhoneActive 2 days agoUnknown tabletActive 3 weeks agoSign out
Step 4: select Sign out on any device you do not recognize.

Click a device to see more details, such as when it was last active. If you do not recognize it, or you no longer use it, select Sign out and confirm. Repeat this for every device you want to remove. Signing out an old device does not delete any emails.

5. Open Your Account From the Phone App

5Use your phoneProfile picture, then Manage accountYYyou@gmail.comManage your Google AccountAdd another account
Step 5: tap Manage your Google Account in the Gmail app.

On a phone, open the Gmail app and tap your profile picture. Choose Manage your Google Account. A page opens with your account settings. This is the quickest route if you do not have a computer nearby.

6. Manage All Devices on Your Phone

6Open Your devicesSecurity tab, then Manage all devicesGoogle AccountHomeDataSecurityYour devices3 devices signed inManage all devicesHow you sign inPassword, 2-Step
Step 6: open Manage all devices and tap any device to sign it out.

Swipe the top tabs to Security, scroll to Your devices, and tap Manage all devices. Tap any device you want to remove and choose Sign out. The steps match the computer version, though button names vary slightly by app version.

7. Change Your Password and Turn On 2-Step Verification

7Change your passwordThen switch on 2-Step VerificationSecurity2-StepVerificationPasswordTap to change itRecovery phoneAdded
Step 7: choose a new, unique password and keep 2-Step Verification on.

If you lost a device or saw activity you do not recognize, change your password straight away. Open Security, tap Password, and choose a new, unique one. Then turn on 2-Step Verification so a stolen password alone is not enough. A password change may also sign out other sessions.

Stay Protected

Check your device list every few months and remove anything unfamiliar. Avoid signing in on a shared computer without a private window, and always sign out when you finish. If you cannot get back in after a reset, see our guides on Gmail login not working and Gmail password reset.

Gmail Verification Code Not Working? 7 Easy Fixes

A verification code that never arrives, or is rejected when you type it, can lock you out of your inbox at the worst moment. The cause is usually simple: an expired code, a weak signal, or a wrong clock on your phone. Try these seven fixes in order, and keep your phone close while you work through them.

1. Request a New Code and Use the Latest One

accounts.google.com1Request a newcodeUse only thelatest one2-Step VerificationEnter the 6-digit code482916Wrong code. Try again.Resend codeNext
Step 1: choose Resend code and use only the newest message.

Verification codes expire after a short time, and each new request replaces the earlier one. If you asked for several codes, only the most recent one works. Go back, choose Resend code, wait for the new message, and type it in right away without extra spaces.

2. Check Your Phone Signal and Number

2Check your signalMake sure texts can arriveMessagesGoogleYour verification codeis 482916MomSee you tonight
Step 2: confirm the text message has reached your phone.

Text messages can be delayed by weak signal or a full inbox. Make sure your phone has service, turn Airplane Mode off, and check that the number Google shows ends in the digits you expect. If it is an old number, choose Try another way instead of waiting.

3. Set Your Phone’s Date and Time to Automatic

3Fix date and timeTurn on Set AutomaticallyDate and TimeSet AutomaticallyTime ZoneAuto
Step 3: let your phone set the time on its own.

Codes from an authenticator app depend on your phone’s clock. If the time is off even by a minute, codes can fail. On iPhone, open Settings, then General, then Date and Time, and turn on Set Automatically. On Android, turn on Set time automatically in the Date and time settings.

4. Try Another Way to Verify

accounts.google.com4Try another wayto verifyPick what you canreach right nowChoose how to sign inTap Yes on your phoneGet a code from your authenticator appUse one of your backup codes
Step 4: choose the verification option you can use right now.

On the verification screen, choose Try another way. Depending on your setup, Google may offer a prompt on a phone where you are signed in, a code from an authenticator app, a security key or a backup code. Pick whichever is easiest to reach right now.

5. Use a Backup Code

5Enter a backup codeEach code works only onceBackup codesEach code can be used once0000 00000000 00000000 00000000 00000000 0000Get new codes
Step 5: enter one unused backup code, then create new ones.

When you turned on 2-Step Verification, Google gave you the option to save backup codes. Each code works once. Find your saved list, enter one when asked, and then generate a fresh set from your Google Account security page after you sign in.

6. Re-Sync Your Authenticator App

6Sync the app’s timeFix codes that keep failingSettingsCopy codesTime correctionfor codesUse with a dark theme
Step 6: open Time correction for codes and tap Sync now.

If you use Google Authenticator, open the app menu, choose Settings, and look for Time correction for codes, then tap Sync now. This fixes codes that are rejected because the app and Google’s servers disagree about the time. Try the new code straight away. In other authenticator apps this option may be in a different place.

7. Update Your Recovery Details or Recover the Account

myaccount.google.com7Update recoverydetailsOr start accountrecoverySecurityRecovery phone••• ••• 42EditRecovery emailr•••@mail.comEditBackup codesShow
Step 7: keep your recovery phone and email up to date.

If you no longer have access to the phone number, you will need to update it. Sign in using another method if you can, then open your Google Account security settings and change your recovery phone and email. If you cannot sign in at all, use Google’s account recovery page from a device and place you normally use.

Still Not Working?

Wait a few hours if you have made many attempts, because Google may temporarily limit requests. Never share a verification code with anyone, even if they say they are from Google or a bank. Once you are back in, save new backup codes and add a second recovery option. See also our guides on Gmail login not working and Gmail password reset.