Skip to content
iBlockSpam
Running email day to day

How do you recover a compromised Google Workspace account?

By iBlockSpam Team How we check our guides Updated 10 min read 8 sources
Short answer

Suspend the user in Directory > Users, which also resets sign-in cookies and OAuth tokens. Reset the password, revoke app passwords and connected apps, and remove unknown security keys and recovery details. Then check filters, forwarding and delegates, review User log events and Email Log Search, wipe suspicious devices, unsuspend with a temporary password and enforce 2-Step Verification.

A compromised Google Workspace account is one an attacker can sign in to or act through, usually after a phishing page captured the password or a session. Recovering it means cutting off every way back in, not just changing the password. This guide gives Google's admin steps in order, with the exact Admin console paths at the time of writing (November 2026), and links to our deeper guides for each investigation tool.

What should you do right now? (first 15 minutes)

If you believe a Workspace account is compromised, suspend it first, then remove every way the attacker can get back in. Use this checklist from Google's compromised account guidance:

  1. Suspend the user. Admin console > Directory > Users > point to the user > More options > Suspend user. Google says suspending "resets the user's sign-in cookies and OAuth tokens."
  2. Reset the password from a clean device: user page > Reset password.
  3. Revoke app passwords and connected apps on the user's Security page.
  4. Remove unknown passkeys, security keys and recovery details on the same page.
  5. Check Gmail filters, forwarding and delegates for anything the user didn't create.
  6. Warn finance if the account sends or approves payments, and call anyone who got a payment request from it.

If the user only clicked a link and didn't enter anything, the shorter steps in what to do after clicking a phishing link may be enough. If you're not yet sure the account is compromised, start with signs an email account is compromised.

How do you tell a Workspace account has been compromised?

A Workspace account is likely compromised when you see sign-ins from unknown places, Gmail filters or forwarding the user didn't create, sent mail they didn't write, or a Google alert about a suspicious login or leaked password. Google records many of these as named events in the login audit log (Admin SDK login events):

Event name Shown in the Admin console as What it means
suspicious_login "Google has detected a suspicious login for..." Google flagged a sign-in
account_disabled_hijacked User suspended (suspicious activity) Google disabled the account because it may be compromised
account_disabled_password_leak Account disabled because "someone else knows its password" The password is known to be leaked
email_forwarding_out_of_domain "...has enabled out of domain email forwarding to..." Mail is being copied outside your domains
recovery_email_edit, recovery_phone_edit "...has changed Account recovery email / phone" Someone changed how the account is recovered
2sv_disable "...has disabled 2-step verification" A second factor was removed
gov_attack_warning "...might have been targeted by government-backed attack" A targeted attack warning

You can search these events in Reporting > Audit and investigation > User log events. The alert center turns several of them into email alerts.

How do you suspend the account and sign the user out?

Suspending the user is the fastest way to stop an attacker, because Google says it resets the user's sign-in cookies and OAuth tokens in one step. At the time of writing (November 2026), Google's steps are:

  1. In the Admin console, go to Menu > Directory > Users.
  2. Point to the user, click More options and choose Suspend user. Or open the user's page and click Suspend user.
  3. Click Suspend to confirm.

What suspension does and doesn't do:

  • New email and calendar invitations are blocked, but "email, documents, calendars, and other data aren't deleted."
  • Collaborators keep access to documents the user shared.
  • "Suspended accounts are still charged."
  • You can't turn off 2-Step Verification for a suspended user, so do any 2SV clean-up after you reactivate.

If you can't suspend (for example, the user is an executive mid-deal and you need their mail flowing), at least reset the sign-in cookies: user page > Security > Sign-in cookies > Reset (Google). Google notes this signs the user out of browsers and mobile devices, but "does not sign them out of apps, such as Gmail and Google Drive for desktop." If you use third-party single sign-on (SSO), end the SSO session at the identity provider first.

How do you reset the password and revoke access?

Reset the password, then remove every credential that doesn't depend on it: app passwords, connected OAuth apps, and any passkey, security key or recovery detail the attacker added. All of it is on the user's Security page: Directory > Users > the user > Security (Google Workspace Admin Help).

Security page section What to do Why it matters
Password Reset password, auto-generate or set one, require a change at next sign-in The stolen password stops working
Sign-in cookies Reset (again, after the password change) Google says this keeps the user from signing in with an old password
Application-specific password Revoke every app password the user can't explain App passwords bypass 2SV and survive in apps until revoked
Connected applications Remove apps the user didn't knowingly approve OAuth apps keep access to mail without the password
Passkeys & security keys Remove any key the user doesn't recognize An attacker's key is a permanent second factor
Recovery information Correct the recovery email (outside your organization) and phone Attackers change these to take the account back later
2-Step Verification Check status; issue backup codes if the user is locked out Confirms the second factor belongs to the user
Advanced Protection Check enrollment Shows whether the strongest protection is on

Two details from Google's password reset page: you need reset password privileges, and choosing Automatically generate a password forces the user to set a new one at next sign-in. Give the temporary password by phone or in person, never to the compromised mailbox.

Google's compromised-account steps also say to "revoke the user's OAuth 2.0 tokens" and warn that some OAuth apps stop working after a password reset until the user signs in again. That's expected. Note that removing a connected app is temporary: Google says the user can sign in to it again to restore access, so if the app itself is malicious, block it in your app access controls as well.

How do you check Gmail for filters, forwarding and delegates?

Check Gmail filters, the forwarding address, mail delegates and POP or IMAP clients, because each one keeps feeding the attacker mail after the password is reset. Google's checklist tells admins to verify "whether malicious settings were created, such as forwarding" through the Gmail API.

Setting Where the user sees it What attackers use it for
Filters Settings > See all settings > Filters and Blocked Addresses Skip the inbox, mark as read, delete or forward replies from the fraud target
Forwarding Forwarding and POP/IMAP Copy every new message to an outside address
Delegates Accounts (or Accounts and Import) > Grant access to your account A second account inside your domain that reads and sends as the user
POP/IMAP clients Forwarding and POP/IMAP Download the whole mailbox to the attacker's mail client

To audit at scale, the Gmail API's users.settings.getAutoForwarding, users.settings.filters.list and users.settings.delegates.list methods read these settings for any user. Google says the delegates methods are "only available to service account clients that have been delegated domain-wide authority" (Gmail API reference).

A sample malicious filter, for illustration only:

Matches: from:(@supplier-example.com) OR subject:(invoice OR payment OR "bank details")
Do this: Skip Inbox, Mark as read, Apply label "Notes"

Record each filter before deleting it; the matching words tell you who the attacker was targeting. Our guide to malicious inbox rules and auto-forwarding has more patterns. To stop forwarding outside your domains for everyone, see how to disable automatic forwarding in Google Workspace.

How do you investigate what the attacker did?

Investigate by working out the time window from sign-in events, then reviewing every message, file share and admin change in that window. Google's compromised account guide lists the logs to check:

  1. User log events (Reporting > Audit and investigation > User log events): successful and failed sign-ins for up to 6 months, with suspicious ones marked. Note the first suspicious sign-in and its IP address. The User log events page also lists password, recovery and 2SV changes as critical actions to review.
  2. Email Log Search: what the account sent and received in the window. Look for payment requests, replies inserted into invoice threads and mass mailings. Our Email Log Search guide shows how.
  3. OAuth, Groups, Drive and Calendar log events: apps granted access, group membership changes and files shared outside the domain.
  4. Admin audit log, if the user is an admin: every configuration change the attacker could have made, such as new routing rules or allowlist entries.
  5. Mobile devices: in Devices > Mobile & endpoints > Devices, wipe the account from any device the user doesn't recognize (this needs the device to be under basic or advanced management).

On editions that include the security investigation tool, search Gmail log events for the attacker's messages and delete them from every recipient's inbox in one action. Keep one copy with full headers; the Email Header Analyzer shows where the original phishing email came from.

How do you give the account back safely?

Give the account back only after every credential and setting above is clean, then reactivate it with a temporary password and enforce 2-Step Verification. Google's restore steps are:

  1. Unsuspend the user: user page > Reactivate.
  2. Give a temporary password and require a new, unique one at first sign-in.
  3. Enforce 2-Step Verification, and Google recommends security keys over codes. Our 2SV enforcement guide covers the rollout.
  4. Have the user complete Google's Gmail security checklist: recovery options, recent activity, filters and forwarding.
  5. Change passwords on the recovery email and on any other service where the user reused the old password.
  6. Turn on alerts for suspicious sign-ins and admin setting changes.

If Google, not an admin, suspended the account, the user page shows why. Google says you can restore the same account only five times per calendar year, and Gmail should be enabled within 15 minutes of reactivation (Google).

How do you stop it happening again?

Most Workspace account takeovers start with a phishing email, so prevention is phishing-resistant sign-in plus fewer phishing emails reaching users. Two-factor codes can be relayed by adversary-in-the-middle phishing; security keys and passkeys can't, which is why Google recommends them. See passkeys and phishing-resistant MFA for how they work.

Control Where What it stops
Enforce 2SV with security keys or passkeys Security > Authentication > 2-step verification Stolen passwords and relayed codes
Restrict automatic forwarding Apps > Google Workspace > Gmail > End User Access Silent copying of mail outside the domain
Alert center email rules Security > Alert center Slow detection of suspicious logins
Review connected apps Security > Access and data control > API controls Malicious OAuth apps
Payment-change callbacks Finance process Fraud sent from a mailbox you haven't caught yet

Fake Google security alerts are a common lure; our guide to fake Google account security alert phishing shows what they look like.

Next steps

  1. Write these steps into your incident plan with a named owner for each, so nobody improvises during an incident.
  2. Run a forwarding and filter audit across all users with the Gmail API this week.
  3. Enforce 2-Step Verification for admins and finance first.
  4. Reduce the phishing that leads to takeovers. iBlockSpam filters phishing, spoofing and malware at the MX before mail reaches Gmail; our Google Workspace page explains how it sits in front of Google's own filtering.

Browse our other email operations guides.

Frequently asked questions

Does suspending a Google Workspace user sign them out everywhere?

Mostly. Google says suspending a user resets the user's sign-in cookies and OAuth tokens, which signs them out of browsers and mobile devices. Google also notes that resetting cookies doesn't sign the user out of desktop apps such as Gmail and Google Drive for desktop, so still revoke app passwords and review devices.

Is resetting the password enough to recover a hacked Workspace account?

No. A new password doesn't remove Gmail filters, forwarding addresses, mail delegates, app consents or an attacker's security key or recovery phone. Google's checklist adds revoking OAuth 2.0 tokens, removing app passwords and checking forwarding. Do all of it before you hand the account back, or the attacker keeps a way in.

Does mail still arrive while a Workspace user is suspended?

Google says new email and calendar invitations are blocked for an account an admin suspends, while existing mail and files aren't deleted and collaborators keep access to shared documents. Suspended accounts are still charged. Keep the suspension short and plan who covers the user's mail during the investigation.

Why did Google suspend one of my users for suspicious activity?

Google can disable an account itself when it detects activity that suggests compromise or a leaked password. The login audit log records these as events such as account_disabled_hijacked and account_disabled_password_leak. Treat that as a confirmed incident: secure the account with the steps in this guide before you reactivate it.

How can I check Gmail forwarding for every user at once?

Use the Gmail API. The settings.getAutoForwarding method returns each user's auto-forwarding setting, and settings.filters and settings.delegates list filters and delegates. Admin-wide calls need a service account with domain-wide authority. Also search User log events for out of domain email forwarding events, which record who enabled forwarding and to where.

Sources

  1. Google Workspace Admin Help: Identify and secure compromised accounts
  2. Google Workspace Admin Help: Manage a user's security settings
  3. Google Workspace Admin Help: Suspend a user temporarily
  4. Google Workspace Admin Help: Reset a user's password
  5. Google Workspace Admin Help: Sign a user out of a managed Google Account
  6. Google Workspace Admin Help: User log events
  7. Google Workspace Admin SDK: Login audit activity events
  8. Gmail API: Managing forwarding

See how your domain measures up

Run a free Email Health Check: MX, SPF, DKIM, DMARC and transport security in one scan, with the raw records shown. No sign-up.

Keep reading