If your email is sending spam, first check Sent mail and sign-in activity to tell a real hack from spoofing. If it is a hack, change the password from a clean device, sign out every session, turn on multi-factor authentication, delete forwarding rules and filters you did not set, and warn your contacts not to open the spam.
Key takeaways
- Spam from your address can mean a hacked account, or spoofing where nobody entered your mailbox at all.
- Changing the password alone is not enough: sessions, forwarding rules and connected apps can keep the attacker in.
- Work from a clean device, lock the account in 15 minutes, then check linked accounts and warn your contacts.
A friend messages you: "Did you send me this?" You did not. Your email address is sending spam, and every hour you wait, more of your contacts get the same message. Here is how to tell what happened, take the account back, and stop it happening again.
Is your email hacked, or just spoofed?
Spam that appears to come from your address has two very different causes, and the fix depends on which one it is. A hacked account means someone is inside your mailbox. Spoofing means someone is forging your address on mail they send from elsewhere, without ever entering your account.
Check three places before you do anything else. First, open Sent mail: messages you did not send, sitting in Sent, point to a hack. Second, check sign-in activity or recent devices in your account security settings: logins from places or devices you do not recognise point to a hack. Third, check forwarding rules, filters and recovery details: changes you did not make point to a hack.
If Sent is empty, no unknown devices appear, and nothing was changed, your address was probably spoofed. You cannot stop someone forging an address, but you can warn contacts and, if you own the domain, set up email authentication. The recovery steps below still make your account safer, so work through them anyway.
| Sign | Hacked account | Spoofed address |
|---|---|---|
| Sent mail | Spam you did not send is in Sent | Sent is empty |
| Sign-in activity | Unknown devices or places | Only your own devices |
| Settings | New forwarding, filters or recovery details | Nothing changed |
| Fix | Take the account back, step by step | Warn contacts; set up SPF, DKIM and DMARC |
What should you do in the first 15 minutes?
Work in this order, and do not skip steps. The first three stop the damage; the rest clean up what the attacker left behind.
- Use a clean device. If your computer or phone may have malware, a new password typed on it goes straight to the attacker. Use a different device you trust for the password change, and scan the suspect machine before using it again.
- Change the password. Pick a long, unique password you have not used anywhere else, ideally from a password manager. For Gmail, change your Google account password; for Outlook, change your Microsoft account password.
- Sign out everywhere. In Google, go to Security, then Your devices, and sign out anything you do not recognise. In Microsoft, review activity on the Security basics page and secure the account. Changing the password alone does not end existing sessions.
- Turn on multi-factor authentication. An authenticator app or a security key is stronger than codes by text message. Microsoft notes that app passwords are not automatically revoked when you reset a password, so revoke any you do not recognise.
- Check recovery details. Confirm the recovery email and phone number still belong to you. Attackers change these first, so they can get back in after you lock them out.
If you cannot sign in at all, use the provider's recovery page from a device and location you normally use. Google's recovery page is at accounts.google.com/signin/recovery, and Microsoft's is the account recovery form at account.live.com/acsr. Recovery is free; anyone charging for it is running a scam.
How do you clean up what the attacker left behind?
Once you are back in, check the hiding places attackers use to keep access or to hide their tracks. This is the step most people skip, and it is why accounts get hacked twice.
- Forwarding and filters: in Gmail, check Settings, then Forwarding and POP/IMAP, and Filters. In Outlook, check forwarding and inbox rules. Delete anything you did not set. Attackers forward your mail to themselves so they keep reading it after you change the password.
- Connected apps and app passwords: review third-party apps with access to your account and revoke anything unfamiliar. Delete app passwords you do not recognise.
- Delegates and send-as addresses: check who else can send as you, and remove anyone you do not know.
- Automatic replies and signatures: attackers sometimes set an auto-reply or a signature with a malicious link. Check both.
- Sent, Trash and Drafts: look for messages you did not send, and for security alerts the attacker may have deleted or moved to Trash to hide them.
- Hidden alerts: search for password-reset messages, new-login warnings and payment alerts. A sudden flood of junk mail can be a deliberate distraction, hiding a real alert underneath it.
Not sure whether a suspicious message is real? Paste its headers into our free email header analyzer to see the real sending server and whether SPF, DKIM and DMARC passed.
How do you recover a hacked Gmail account?
Google's own guidance lists the signs of a hacked account: friends saying they got spam or unusual emails from you, sent emails you did not write, emails deleted from your inbox, and mail you no longer receive.
Start at Google's account recovery page and follow the identity checks, using a device and location you normally sign in from. Once you are back in, change the password, review recent security events and your devices, remove any forwarding or filters you did not set, and turn on 2-Step Verification.
For a Google Workspace account, your administrator can do more than you can, including resetting sessions and checking the whole domain. Tell your admin quickly; they can also check whether other accounts in the organisation were hit.
How do you recover a hacked Outlook account?
Microsoft's guidance is clear on the order: clear your PC of viruses or malware first, then change the password. If the machine is infected, a new password typed on it is stolen again.
After the password change, review recent activity, connected accounts, forwarding and automatic replies in your Microsoft account security settings. Turn on two-step verification or set up the Microsoft Authenticator app, and remove any recovery email or phone number you do not recognise.
If you cannot sign in, use Microsoft's account recovery form. Microsoft reviews these manually, and a response can take 24 to 48 hours, so give as much detail as you can about the account.
How do you warn your contacts?
Once the account is secure, send a short message to your contacts from the same account, so they know it is really you. Keep it simple: your account was hacked, spam was sent in your name, do not click links or open attachments in those messages, and delete them.
Check your Sent folder first and note who received the spam, so you can warn the people who actually got it, not just your whole address book. If the spam went to work contacts, tell your IT or security team too; they may need to warn the wider organisation.
Do not apologise at length or explain the technical details. One clear message, sent once, is enough. If contacts reply asking whether a specific message was real, tell them to delete anything from you that arrived before the warning.
What about your other accounts?
Your email account is the key to almost everything else, because password resets land there. If the attacker had your email, assume they tried the same password elsewhere, and that they read your mail for clues about your bank, shopping and social accounts.
Change passwords, starting with banking, payment services, cloud storage, work accounts and social media, especially anywhere you reused the email password. Check whether the password appears in a known breach with our free pwned password checker.
Look for signs of further damage: unfamiliar transactions, new accounts opened in your name, or password-reset emails you did not request. If money moved, call your bank's fraud line immediately, then report the fraud to the FTC at reportfraud.ftc.gov and to the FBI's IC3 if there was a financial loss.
How did the hacker get in?
Knowing the route in matters, because it tells you what to fix. The three common routes are a phishing page that copied your provider's sign-in screen, a password reused from another site that was breached, and an old app or device signing in with a plain password and no second factor.
Check your recent mail for a phishing message you may have clicked, and think about where else you used the same password. If you entered your password on a fake login page, that password is compromised everywhere you used it, even if the account itself was only used once.
Malware is the third route. Infostealer malware can steal saved passwords and session cookies, which lets an attacker in without knowing your password at all. That is why Microsoft advises a full antivirus scan before you change the password, and why a clean device matters.
How do you stop it happening again?
Three habits prevent most repeat hacks. First, use a password manager and a unique password for every account, so one breach cannot unlock the rest. Second, turn on multi-factor authentication everywhere it is offered, starting with email, banking and cloud storage.
Third, if you own a custom domain, publish SPF, DKIM and DMARC, with DMARC at p=reject. That stops attackers sending mail that uses your exact domain, which protects your contacts even if your own mailbox is never touched. Our guide to what DMARC is and how to set it up walks through the safe path from p=none to p=reject.
You can check whether your domain is protected today with the free DMARC checker.
Finally, learn the signs of phishing so the next fake login page does not work. Our phishing email examples show what real attacks look like.
You can test whether you can spot them with the free phishing quiz.
The bottom line
Spam from your address is alarming, but it is usually fixable in under an hour: work from a clean device, change the password, sign out every session, turn on multi-factor authentication, and delete the forwarding rules and filters you did not set.
Then warn your contacts, check the accounts that share the password, and set up the protections that stop a repeat. You can check whether your password has appeared in a known breach with the free pwned password checker.
Check your domain's email authentication with the free DMARC checker.
Frequently asked questions
How do I know if my email was hacked or just spoofed?
Check Sent mail and sign-in activity. If messages you did not send are in Sent, or you see logins from places you do not recognise, treat it as a hack. If Sent is empty, no unknown devices appear, and no forwarding rules were added, the address was probably spoofed, which means someone forged your address without entering your account.
Why is my email sending spam to my contacts?
Usually because someone got your password, through a phishing page, a password reused from a breached site, or malware on your device. The attacker then uses your mailbox to send spam or phishing to your contacts, who are more likely to trust mail from you than from a stranger.
Should I reply to the spam my email sent?
No. Do not reply to the spam messages, click their links, or use an unsubscribe link in them. Use your provider's report spam or report phishing control instead, then warn your contacts with a fresh message from your own account once you have secured it.
Can I get my email account back if the hacker changed my password?
Yes, usually. Use your provider's account recovery page from a device and location you normally use, and answer the identity checks with your recovery email or phone. Google and Microsoft both offer recovery flows for locked-out accounts, and recovery is free on their own websites.
Will changing my password stop the spam?
Not on its own. Sessions that are already signed in can keep working after a password change, and forwarding rules and filters keep running too. You also need to sign out every session, revoke unknown apps and app passwords, and delete any forwarding or rules you did not set.
How do I stop my email from being spoofed?
If you own a custom domain, publish SPF, DKIM and DMARC records, with DMARC at p=reject for the strongest protection. That stops others sending mail that uses your exact domain. It does not repair a hacked Gmail or Outlook mailbox, and it cannot stop look-alike domains.
Should I report a hacked email account?
Yes. Report it to your email provider, and if money was lost or identity theft is involved, report it to the FTC at reportfraud.ftc.gov and to the FBI's Internet Crime Complaint Center at ic3.gov. Keep copies of the spam messages and any bounce messages as evidence.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Google and Microsoft account recovery guidance, CISA phishing guidance, and FTC reporting guidance.
How we write and fact-check →