How to Recover Your Gmail Account After Being Hacked

    Get back into a hacked or locked Gmail account — whether you're still signed in on your phone or the Gmail app, or signed out everywhere and recovering through Google.

    JDCS
    By Jordan Dickson · Reviewed by CSG Security Engineers

    Updated June 2026 · 12 min read

    1 reader found this helpful
    Losing access to Gmail — or finding someone else in it — is alarming, but it's usually recoverable. The quickest way back depends on whether any of your devices is still signed in, so this guide is built around that. Find your situation below, get back in, then use the follow-up guides to see what the intruder touched and lock things down.
    Affiliate disclosure: if you sign up for a paid Proton plan through links on this page, CyberSecurityGuides may earn a commission at no extra cost to you. We only recommend tools we use and trust.

    Act quickly

    The sooner you start, the better your chances. Every hour gives an attacker more time to change your recovery details and dig in — so begin the moment you can, ideally from a device you've used to sign in before.

    Start here: where can you still get in?

    How you get back in depends on whether a device still has your account — so it's worth working through the paths in order, from quickest to last resort. Start with Path 1 (still signed in on an Android), then Path 2 (the Gmail app), and only fall back to Path 3 (full recovery through Google) if neither still has access.

    Don't assume you're locked out

    It's natural to assume the worst — but plenty of people are still quietly signed in on a phone or in the Gmail app without realising it. It's well worth genuinely checking both before you start full recovery: if you're still signed in anywhere, resetting your password there (Path 1 or 2) is far quicker and skips Google's identity-verification hoops entirely.

    Path 1 — Still signed in on your Android phone?

    On Android, your Google account is signed in at the device level — it sits in your phone's settings and quietly stays there. (iPhones have no system-level Google login, so if you're on an iPhone, use Path 2.) If your Android still has the account, you can reset your password straight from it — no recovery process needed. Let's open it up and see.
    1

    Open Settings and tap Google

    From your home screen, open Settings and tap Google, then tap your name and choose Manage your Google Account. That's the page that tells you whether you're still signed in on this phone.

    6:2079%

    ☁ 11°

    Canberra

    Rain possible tonight

    Gallery
    Play Store
    Calendar
    Settings
    Calculator
    Maps
    Clock
    Contacts
    G

    Samsung phone: Settings → Google → tapping your name → Manage your Google Account

    Can't find Google in your Settings?

    Where this lives depends on your phone's brand. On a Google Pixel it's usually near the top of Settings as your account/profile; on Samsung it's a Google entry partway down. On other phones (and older Androids) look under Settings → Accounts (or Passwords & accounts) and pick your Google account. Quickest of all: tap the search icon in Settings and type Google.
    2

    See your account? You're in luck

    If your Google Account page opens and shows your name, email and account options — like this — then you're in luck: you're still signed in on this phone. You can change your password straight from here, so carry on to the next step.

    6:2079%
    Google AccountY
    Y

    Hi, Your name

    yourname@gmail.com

    Wallet & subscriptions

    Payment Methods

    Personal info

    Name, email, phone

    Security & sign-in

    Recent events, Checkup

    Google password

    Last changed 6:10 AM

    Linked apps

    Manage your Google Account page showing your name, email and account options — you are still signed in

    …but if it looks like this instead

    6:2079%
    Google AccountY

    Finish signing in to continue

    Something went wrong and you need to sign in again.

    Sign in
    ?

    Security code

    Get a one-time code to verify that it's you

    Google Account screen reading Finish signing in to continue, with a Sign in button and a Security code option

    If instead you see something like this — “Finish signing in to continue”, or a prompt to verify it's you — then your session has been signed out, or Google wants you to re-confirm it's you because of the suspicious activity.

    You can try the Security code option, but a one-time code usually only works when another device is still signed in. Often the better move is to tap Sign in and see whether you have any usable alternative sign-in method — a passkey, recovery email, phone number, authenticator app, or another verified device you own. Any one of these can get you back in.

    Bear in mind, though: a determined attacker will often remove your recovery options or replace them with their own. If none of these work, skip ahead to Path 3 and recover through Google.

    If 2-Step Verification is on

    If 2-Step Verification is switched on — whether you set it up or the attacker turned it on — Google will usually require at least two separate ways to prove it's you (for example a passkey and a recovery email, or a texted code and another signed-in device). A single method often won't be enough on its own.
    3

    Change your password from your Android

    Still signed in? Reset your password to lock the attacker out:

    1. Tap your account, then Google Account
    2. Open Google password (under Security & sign-in)
    3. Enter a strong, unique new password and tap Change password

    Google won't always drop you straight onto the password screen — it may ask you to verify it's you first. If you're lucky, your phone still has a passkey or sign-in prompt set up, which makes that quick and easy and gets you right to the reset.

    6:2079%

    Google services

    Y

    Your name

    yourname@gmail.com

    RecommendedAll services

    What's new — June 2026

    Latest features for your device

    Google Wallet

    Find Hub

    Samsung phone: tapping your account, Google Account, then Google password to set a new one

    Don't know the current password?

    You may not need it. On the password screen, tap Forgot password? — because this phone is already signed in and trusted, Google can often verify you another way (a prompt on this device, a passkey, or your recovery email or number) and let you set a new password without the old one. Only if none of those work should you fall back to Path 3.
    4

    Sign out the attacker's other sessions

    Unlike full recovery, changing your password from a signed-in device doesn't always sign everyone else out — so do it yourself:

    1. In your Google Account, open Security (or Security & sign-in info)
    2. Go to Your devices → Manage all devices
    3. Tap anything you don't recognise and choose Sign out

    While you're there, glance over your recent security activity for anything unfamiliar. The follow-up guide below walks through the full cleanup.

    6:2079%
    Google AccountY

    Wallet & subscriptions

    Payment Methods

    Personal info

    Name, email, phone

    Security & sign-in

    Recent events, Checkup

    Google password

    Last changed 6:10 AM

    Linked apps

    Samsung phone: Google Account Security, Manage all devices, tapping an unrecognised device and signing it out

    Not sure which one is the attacker?

    You don't have to guess. Sign out every device except the one marked “This device” — that forces all those sessions to sign in again with your new password, which the attacker no longer has. You can always sign your own devices back in afterwards.

    You're not out of the woods yet

    Locking the attacker out is only half the job. While they were in, they may have set up quiet ways back in — mail forwarding, filters that hide replies, connected apps, or altered recovery details. Before you move on, check exactly what they touched and undo it.
    See the signs your Gmail is compromised

    Path 2 — Still signed in to the Gmail app?

    Even when you're locked out everywhere else, the Gmail app on a phone — iPhone or Android — has a habit of staying signed in. If yours still is, it's the easiest way back in. Let's open it and find out.
    1

    Open the Gmail app and tap your profile

    Open the Gmail app and tap your profile picture in the top-right corner, then choose Manage your Google Account. What loads next tells you whether the app is still signed in.

    6:2079%
    Search in mailY

    Primary

    G

    Google

    6:05

    Security alert

    New sign-in on Windows

    A

    Atlassian

    5:40

    Your weekly summary

    Here's what happened this week

    M

    Medium Daily

    Thu

    Today's highlights

    Stories picked for you

    L

    LinkedIn

    Wed

    5 new jobs for you

    Based on your profile

    Compose

    Gmail app: tapping your profile picture, then Manage your Google Account

    2

    Account loads up? You're still in

    If the Google Account page opens with your name, email and the usual options, your app session is still good — you're signed in. That means you can reset your password without touching full recovery, so move on to the next step.

    6:2079%
    Google AccountY
    Y

    Hi, Your name

    yourname@gmail.com

    Wallet & subscriptions

    Payment Methods

    Personal info

    Name, email, phone

    Security & sign-in

    Recent events, Checkup

    Google password

    Last changed 6:10 AM

    Linked apps

    Manage your Google Account page showing your name, email and account options — you are still signed in

    What if it asks you to sign in?

    6:2079%
    Google AccountY

    Finish signing in to continue

    Something went wrong and you need to sign in again.

    Sign in
    ?

    Security code

    Get a one-time code to verify that it's you

    Google Account screen reading Finish signing in to continue, with a Sign in button and a Security code option

    Sometimes the app throws up “Finish signing in to continue” instead, or pushes you to re-verify — a sign your session has lapsed, or that Google has flagged the unusual activity.

    It's still worth a shot. The Security code option rarely lands without another signed-in device, but tapping Sign in lets you try whatever backup you've got — a passkey, recovery email, phone number, authenticator app, or a device that's still trusted. Just one of them may be all it takes.

    Keep in mind, though, that a thorough attacker often strips out or swaps your recovery details — so if nothing lands, move on to Path 3 and recover through Google.

    If 2-Step Verification is on

    With 2-Step Verification active — set by you or switched on by the attacker — Google generally wants two or more proofs before it lets you back in (say a recovery email plus a texted code, or a passkey plus a trusted device). Don't count on a single method clearing it by itself.
    3

    Change your password from the Gmail app

    Still in? Reset the password to shut the attacker out:

    1. Tap your profile picture → Manage your Google Account
    2. Open Google password (under Security & sign-in)
    3. Pick a strong, unique new password and tap Change password

    Don't be surprised if Google asks you to confirm it's you first — a passkey or sign-in prompt on this phone clears that in seconds.

    6:2079%
    Search in mailY

    Primary

    G

    Google

    6:05

    Security alert

    New sign-in on Windows

    A

    Atlassian

    5:40

    Your weekly summary

    Here's what happened this week

    M

    Medium Daily

    Thu

    Today's highlights

    Stories picked for you

    L

    LinkedIn

    Wed

    5 new jobs for you

    Based on your profile

    Compose

    Gmail app: profile picture, Manage your Google Account, Google password, setting a new password

    Don't know the current password?

    You might not need it. On the password screen, tap Forgot password? — since the app is signed in on a trusted device, Google can often verify you another way (a prompt on this phone, a passkey, or your recovery email or number) and let you set a new one without the old password. If none of those land, then jump to Path 3.
    4

    Sign out every other session

    A password reset from the app won't always end the attacker's other sessions, so close them off yourself:

    1. Open Security (or Security & sign-in info) in your Google Account
    2. Tap Your devices → Manage all devices
    3. Pick out anything unfamiliar and hit Sign out

    Give your recent security activity a quick scan while you're in there.

    6:2079%
    Google AccountY

    Wallet & subscriptions

    Payment Methods

    Personal info

    Name, email, phone

    Security & sign-in

    Recent events, Checkup

    Google password

    Last changed 6:10 AM

    Linked apps

    Google Account Security, Manage all devices, signing out an unrecognised device

    Can't tell which is which?

    No need to play detective. Sign out everything except the phone in your hand — they'll all be forced to log back in with the new password, which the attacker doesn't have. Just re-add your own devices afterwards.

    Don't stop at the password

    Getting your password back is a big first step — but it doesn't undo what the attacker set up while they were inside. Forwarding rules, hidden filters, connected apps and tampered recovery options can all quietly let them back in. Take a moment to check what they changed before you move on.
    See the signs your Gmail is compromised

    Path 3 — You're signed out everywhere

    No device has access? You'll recover through Google's account recovery, which weighs lots of signals to confirm it's really you. The more familiar the device and the more prompts you can answer, the better your odds.
    1

    Start on a device you've used before

    Before you go near the recovery page, pick up a device you've already signed into this account on — your usual phone or laptop, ideally on your home Wi-Fi. Google trusts familiar devices, browsers and networks far more, and that can be the single biggest factor in getting back in.

    2

    Open g.co/recover and enter your email

    1. Go to g.co/recover (or accounts.google.com/signin/recovery)
    2. Enter your Gmail address and continue
    3. Work through whatever prompts Google offers — they depend on what's still attached to the account
    6:2478%
    accounts.google.com

    Account recovery

    Enter the email address of the account you want to recover.

    Email
    Create account
    Next

    Mobile browser at accounts.google.com: typing your email and tapping Next

    3

    Verify it's you

    Google will offer one or more ways to prove it's you. Try them in this order — the first is by far the strongest:

    • Google prompt on a signed-in device — if a phone (or the Gmail app) is still signed in, Google sends a tap Yes prompt. Fastest and most reliable.
    • Passkey or security key — if you set one up, use it now
    • Recovery phone — enter the code texted to your number
    • Recovery email — check that inbox (and spam) for a code
    • Last password + account details — even an old password, plus answers like roughly when you created the account, help confirm you
    6:2478%
    accounts.google.com

    Verify it's you

    Yyourname@gmail.com

    Choose how you'd like to sign in. Try the first — it's the strongest.

    Tap Yes on your phone

    Confirm on a signed-in device

    Get a verification code

    Text ••• 47

    Use your recovery email

    y•••@outlook.com

    Try another way to sign in

    Account recovery: choosing Tap Yes on your phone, the Google prompt, then verified

    If you run out of ways to prove it's you

    From here you could see one of two outcomes. Google might simply say “Couldn't sign you in” — it couldn't gather enough proof this time — or it may ask you to answer some security questions about the account, like roughly when you created it, an email it can reach you on, or the last password you remember.

    6:2478%
    accounts.google.com

    Couldn't sign you in

    Yyourname@gmail.com

    You didn't provide enough info for Google to be sure this account is really yours. Google asks for this info to keep your account secure.

    To recover your account, try again and answer each question shown.

    More tips to recover your account

    Try again
    OR
    6:2478%
    accounts.google.com

    Help us verify it's you

    Answer as much as you can — even rough answers help.

    When did you create this account?

    March 2016

    An email address we can reach you at

    Last password you remember

    If you remember one
    Submit

    Two Google recovery outcomes side by side: Couldn't sign you in, or a form of security questions

    If you see “Couldn't sign you in”: It's worth one more go from another device, browser or network you've signed in from before — just occasionally that's enough to tip it over. But be realistic: if you've hit this screen because the attacker stripped your recovery phone and email and you can't answer Google's questions, recovering the account is unlikely. Google won't hand back an account it can't confidently tie to you, and there's no support line or appeal that overrides that. After a few honest attempts, it's usually time to treat the account as lost and put your energy into limiting the damage and moving to a fresh, secured inbox.

    If recovery isn't working

    Tried in earnest and still hitting a wall? Jump to the steps for limiting the damage and rebuilding on a more secure inbox.
    What to do if you can't recover it
    If you're asked security questions: Google walks you through a short recovery form — roughly when you created the account, an email it can reach you on, the last password you remember. Answer as much as you can, even approximately; partial answers still count. Google reviews your submission and emails its decision to the address you give, usually within a few business days.
    4

    Set a new password

    However you got verified — a prompt on a signed-in device, a passkey, a recovery code, or by answering Google's security questions in the recovery form — you'll then be asked to set a new password. Make it long (16+ characters), unique to this account, and store it in a password manager.

    That gets you back in — but don't assume the attacker's other sessions are gone. The steps below show how to sign them out and check what was changed while they had access.

    6:2478%
    accounts.google.com

    Create a strong password

    Create a new, unique password you don't use anywhere else.

    New password

    Use 8 or more characters with a mix of letters, numbers and symbols.

    Confirm
    Save password

    Account recovery: creating a new password and saving

    5

    Sign out the attacker's other sessions

    Now that the account is yours again, force out anyone else who's still in:

    1. In your Google Account, open Security (or Security & sign-in info)
    2. Go to Your devices → Manage all devices
    3. Tap anything you don't recognise and choose Sign out

    This is the step that actually ends the attacker's lingering sessions — a password reset alone won't always do it.

    6:2079%
    Google AccountY

    Wallet & subscriptions

    Payment Methods

    Personal info

    Name, email, phone

    Security & sign-in

    Recent events, Checkup

    Google password

    Last changed 6:10 AM

    Linked apps

    Google Account Security, Manage all devices, signing out an unrecognised device

    Can't tell which is which?

    Sign out every device except the one you're on right now — they'll all have to sign back in with your new password, which the attacker doesn't have. You can re-add your own devices afterwards.

    Troubleshooting & FAQs

    Which path should I use?
    If any phone or the Gmail app still has your account open, use Path 1 or 2 — changing your password there is fastest. If nothing has access, Path 3 recovers you through Google.
    Google asks for my current password, but the hacker changed it.
    You may not even need the old password. On a phone that's still signed in (Path 1 or 2), tap Forgot password? on the password screen — Google can often verify you another way (a prompt on that device, a passkey, or your recovery email or phone) and let you set a new one. Only if that doesn't work do you need full recovery through Path 3.
    Google won't recognise me on the recovery page.
    Recover from the same device, browser and Wi-Fi you normally use, and answer as many prompts as you can. If it still fails, wait 24–48 hours and try again — the options offered can change.
    The attacker changed my recovery phone and email — can I still recover?
    Sometimes — but be realistic, it's an uphill battle. Google weighs many signals, not just your current recovery contacts, so working through the recovery form from a familiar device and giving your last known password and account details can still get you in. If you can't satisfy those checks, though, Google won't hand the account back, and there's no support line or appeal that overrides that.
    Does the Gmail app help even if I can't change the password there?
    Yes — a phone signed in via the Gmail app can receive Google's tap Yes prompt during recovery, the strongest way to verify it's you. Keep it handy when you start.

    What to do next

    If you got back in ✅

    You've reset your password and signed the attacker's sessions out — now make sure they left nothing behind and can't walk straight back in.

    Find out what they touched

    See exactly what an intruder changes — rogue forwarding, filters, connected apps and more — so you know what to undo.
    Spot the indicators of compromise

    Lock it down properly

    Turn on 2-Step Verification, fix your recovery options and close every gap so this doesn't happen again.
    Secure your Gmail account

    If you couldn't recover it ⚠️

    If recovery genuinely isn't working, the account may be gone for good — and the attacker may still control it. Start by rebuilding on a fresh, secure inbox: you'll need a working email address in hand before you can move your other accounts off the lost one.
    So rebuild — somewhere this is far less likely to happen again. You've just seen how a free, big-tech inbox works: it's a giant target, and recovery is a black box that leaves you stranded the moment the attacker controls your recovery details. Proton Mail is built the opposite way. It's end-to-end encrypted and based in Switzerland under some of the world's strictest privacy laws, so not even Proton can read your mail. You hold the keys, recovery runs through methods you control, and there are no ads mining your messages — an inbox an attacker can't silently reset their way into.

    Why this keeps happening on free email

    The full case for moving to an encrypted, privacy-first inbox — and how its recovery and protections make a quiet takeover far harder.
    Why switch to Proton Mail
    Proton Unlimited

    Rebuild on an inbox that's private by default

    Proton Mail, VPN, Pass and Drive in one encrypted, Swiss-based plan — end-to-end encrypted, no ads, no tracking.

    • End-to-end encrypted
    • Swiss-based, no ads
    • One plan, every app
    With your new inbox set up, now cut the lost account loose and contain the fallout:
    • Move your other accounts over. Anywhere you used this Gmail to sign in or to reset passwords — banking, shopping, social media — change that password and set your new Proton address as the email and recovery contact, so the lost inbox can't be used to take them too.
    • Warn your contacts. Tell friends, family and colleagues that messages from the old account may not be you, and to ignore any requests for money, codes or links.
    • Watch for misuse. Turn on alerts where you can and keep an eye on anything that was tied to the old address.

    A different inbox affected?

    The recovery routes here work for any provider — see the universal walkthrough.
    Recover any email account

    Was this guide helpful?

    Know someone who needs this? Send them the guide.

    JD

    Written by

    Jordan Dickson

    Founder, CyberSecurityGuides

    Founder of CyberSecurityGuides, writing practical, jargon-free guides that help everyday people recover from and protect against online attacks.

    Reviewed by CSG Security Engineers

    More from Email Security