What to Do If Your Gmail Account Is Hacked
A compromised Gmail account can reset other passwords, receive authentication codes, expose private mail and files, impersonate you, and hide its own activity through filters or forwarding. Treat Gmail as a root account: restore control before focusing on less important services.
Use Google's official recovery flow. Google warns that it does not work with services claiming they can recover an account or password for a fee.
Recover access from a familiar device
Go directly to Google's account recovery page. When possible, use a device, browser, and location previously used for the account and answer questions as accurately as possible.
If the recovery phone or email was changed, use Google's hacked-account path rather than calling a search-result phone number. Keep any recovery reference and retry only through documented Google options.
Never give a verification code, password, cookie, or remote screen control to a supposed recovery agent.
Set a new unique password
After access returns, choose a password not used on any other site. If the old Gmail password was reused, change every reuse, beginning with banking, password managers, tax, mobile carrier, shopping, and social accounts.
Changing the password alone may not remove an attacker with a signed-in device, passkey, app password, forwarding rule, or delegated mailbox access.
Store the new credential in a trusted password manager rather than an email draft.
For the second step of sign-in, the FTC's guide to two-factor authentication rates an authenticator app as safer than text or email codes, and a physical security key as the strongest option.
Review security events and devices
Open the Google Account security panel and inspect recent security activity, devices, sessions, recovery phone, recovery email, passkeys, two-step methods, backup codes, and app passwords.
Mark events you did not perform and sign out unknown devices. Remove unauthorized access methods only after ensuring a verified recovery route remains.
Generate fresh backup codes if the previous set may have been exposed and protect them offline.
Google's own list for a compromised account, in order:
- Sign in, or use account recovery if you cannot
- Review security activity and remove devices you do not recognize
- Change the password, and change it on any other site that used the same one
- Check Gmail for forwarding rules, filters or labels you did not create
- Turn on 2-Step Verification
- Contact your bank if saved payment or personal details may have been used
Inspect Gmail's hidden settings
Check automatic forwarding, filters, blocked addresses, mail delegation, “send mail as,” POP and IMAP access, scheduled messages, vacation response, signatures, and labels. Attackers use these settings to keep receiving messages or hide alerts after the password changes.
Search Sent, Trash, Spam, Archive, and All Mail for messages you did not write or delete. Preserve relevant headers and screenshots before removing them.
Confirm that password-reset and bank messages now arrive normally.
Check the wider Google account
Review Drive file activity and sharing, Photos partner sharing and albums, Calendar events and delegates, Contacts, Maps location sharing, YouTube activity, Google Ads, Google Pay, Chrome sync, and saved passwords.
Remove unknown third-party apps and OAuth access. An attacker can retain data access through an approved app without logging into Gmail again.
Restore deleted files or mail through official Google tools when available and document business losses.
Secure the device used for access
Update the operating system, browser, and extensions. Remove unknown browser add-ons, apps, remote-access tools, or device profiles and run platform-supported security checks.
If suspicious sessions return after account cleanup, consider malware, a stolen browser cookie, or compromised recovery channel. Use a trusted device for the next password change.
For a work or school Google account, notify the administrator because organization-wide logs and controls may be needed.
Warn contacts about impersonation
Tell recipients through a separate trusted channel that messages requesting money, gift cards, documents, password resets, or shared-file logins may be fraudulent. Ask them not to reply to the compromised thread.
Check whether the attacker created look-alike addresses or changed the display name. Report impersonation and phishing without publishing private mail.
If someone sent sensitive information in response, help that person identify exactly what was exposed.
Protect money and identity
Review financial accounts whose statements, saved cards, tax forms, passports, or reset links were stored in Gmail, Drive, Photos, Chrome, or Google Pay. Contact providers through official routes about unauthorized changes or transactions.
Use IdentityTheft.gov when SSNs, identity documents, or new-account fraud are involved. Consider credit freezes when the exposure supports that risk.
Preserve case numbers and distinguish account takeover from transactions you approved under deception.
If identity documents or tax records were stored in the mailbox, IdentityTheft.gov builds a recovery plan based on what was exposed.
Confirm the account stays clean
Retest login in a private browser, verify recovery prompts, inspect devices again after 24 hours, and keep login alerts enabled. Consider a passkey or security key for phishing-resistant protection.
Create a brief incident inventory listing the first suspicious event, unauthorized settings, exposed accounts, messages sent, financial activity, and each correction. This is especially useful when an attacker used Gmail to reset several unrelated services over multiple days.
Check account recovery again after any waiting period Google applies to newly changed information. Remove obsolete phone numbers and recovery addresses so an old employee, family member, or recycled number cannot become an unintended recovery path.
For a personal address used to administer websites, domains, cloud services, or advertising, rotate API credentials and ownership contacts that appeared in email. Email recovery alone does not revoke a token copied before access was restored.
Google provides official instructions to secure a hacked Google Account and recover Google Account or Gmail access. Follow the live interface because recovery options vary by account.
Related guides: what to do if your Apple ID is hacked, what to do if your Microsoft account is hacked and how to secure all your accounts after one password leak.
This guide is general cybersecurity information. Google's verification decision, linked services, device condition, and evidence determine what can be recovered.
Sources:
- Use Two-Factor Authentication To Protect Your Accounts, FTC Consumer Advice
- IdentityTheft.gov, Federal Trade Commission
- Secure a hacked or compromised Google Account, Google Account Help
- How to recover your Google Account or Gmail, Google Account Help

Written by TheDigitalLife Editorial Team
Edited by R. K. Tiwari
Owner & Editor
R. K. Tiwari is the owner and editor of TheDigitalLife. He checks each guide against official U.S. sources before it is published.
About the editor and our editorial standards