Coding tips

How to Check If Your Email Was in a Data Breach (and What to Do Next)

To check if your email was breached, go to haveibeenpwned.com, type your email address and press "Check". The site lists every known data breach that included your address, along with what data was exposed.

By 10 min read 2 views
Cover image for How to Check If Your Email Was in a Data Breach (and What to Do Next)

To check if your email was breached, go to haveibeenpwned.com, type your email address and press "Check". The site lists every known data breach that included your address, along with what data was exposed. If you appear in any breach, change that password and any reused copies of it, and turn on two-factor authentication.

Data breaches are now so common that most people who've been online for a few years appear in at least one. Being in a breach doesn't mean you've been hacked. It means a company you used lost data that included your email, and sometimes your password, phone number or address.

This guide shows you how to run the check safely, how to read the results, how to check passwords without revealing them, and a step-by-step plan for what to do next. If a breach exposed a password, replace it with a unique one from our free password generator.

In this guide:

  • What a data breach is and why your email matters
  • Step-by-step: check your email on Have I Been Pwned
  • How to read your results
  • How to check a password safely
  • For developers: checking passwords with the HIBP API
  • What to do if your email was breached: an action plan
  • Extra steps if financial or identity data was leaked
  • Set up alerts for future breaches
  • Common myths about breach checks
  • Reduce the damage from the next breach
  • Check every address you've used
  • Frequently asked questions

What a data breach is and why your email matters

A data breach happens when information held by an organisation is accessed or published without permission, through hacking, a misconfigured database or an insider. Breached data is often traded or posted online, where criminals use it in three main ways:

  • Credential stuffing: trying leaked email and password pairs on other sites, hoping you reused them.
  • Targeted phishing: using real details, such as your name and a company you shop with, to make scam emails more convincing.
  • Identity fraud: combining details from several breaches to impersonate you.

Your email address is the thread that ties breaches together, which is why checking it is the best place to start.

Step-by-step: check your email on Have I Been Pwned

Have I Been Pwned (HIBP) is a free service run by security researcher Troy Hunt. It collects data from public breaches so people can check whether they were affected. It's widely used and recommended by security professionals and government agencies.

  1. Go to haveibeenpwned.com. Type the address yourself rather than clicking a link in an email.
  2. Enter your email address in the search box.
  3. Press Check.
  4. Read the result: either a "Good news, no pwnage found" message or a list of breaches.
  5. For each breach, note the date and the compromised data (for example email addresses, passwords, phone numbers).
  6. Repeat for every email address you use, including old ones.

According to HIBP's FAQs, searches aren't logged, and some breaches that are considered sensitive are only shown to the verified owner of the address, not to anyone who searches.

How to read your results

What you seeWhat it meansPriority
"No pwnage found"Your address isn't in any breach HIBP has loadedLow, but stay careful: not every breach is public
Breach with email addresses onlyYour address is known to be valid; expect more spam and phishingLow to medium
Breach including passwordsThat password (often hashed) may be crackable or already publicHigh: change it everywhere you used it
Breach including phone numbers or addressesHigher risk of smishing, scam calls and targeted fraudMedium
Breach including dates of birth, security answers or partial card dataInformation useful for identity fraudHigh: review security questions and watch statements
"Paste" listedYour address appeared in data posted publicly on a paste siteDepends on what was posted
Breach of a site you don't remember usingYou may have forgotten an old account, or it came from a third partyCheck whether you reused that password

Pay most attention to the breach date. If you've changed your password since then, the leaked one is no longer valid on that site, though it might still be in use elsewhere.

How to check a password safely

HIBP also offers Pwned Passwords, which tells you whether a password has appeared in a breach. It's designed so the full password never leaves your device: your browser hashes the password with SHA-1 and sends only the first five characters of the hash. The service returns all matching hashes, and your browser checks for a match locally. This approach is known as k-anonymity.

Even so, there's a simpler and safer habit: don't type your real, current passwords into any website other than the one they belong to. Instead, use the breach alerts built into your password manager or browser:

ToolWhere to find password checks
Google Password Manager (Chrome, Android)passwords.google.com > Password Checkup
Apple Passwords (iPhone, Mac)Passwords app > Security, or Settings > Passwords > Security Recommendations
Microsoft EdgeSettings > Passwords > Password Monitor
FirefoxPasswords (about:logins) shows breach alerts; Mozilla Monitor for email
1Password, Bitwarden and similarWatchtower or reports section

These tools check your saved passwords against breach data and flag reused or weak ones too.

For developers: checking passwords with the HIBP API

If you build sign-up forms, you can check new passwords against Pwned Passwords without sending them anywhere. The range endpoint is free and needs no API key. From a terminal:

# Hash the test password and take the first 5 characters
echo -n "password123" | sha1sum
# cbfdac6008f9cab4083784cbd1874f76618d2a97

# Ask for all hashes beginning with those 5 characters
curl -s https://api.pwnedpasswords.com/range/CBFDA | grep -i "C6008F9CAB4083784CBD1874F76618D2A97"

The response lists hash suffixes with a count of how many times each was seen. A match means the password is known to attackers and shouldn't be allowed. Only ever test sample passwords like the one above, never real ones. Checking email addresses through the API is a different, paid endpoint that requires a key, and that key belongs on your server, never in browser code. We explain why in keeping API keys off the browser.

What to do if your email was breached: an action plan

  1. Change the password for the breached site, using its own website or app, not a link in an email.
  2. Change the same password anywhere else you used it. This is the step that actually stops credential stuffing.
  3. Make every new password unique. A password manager makes this realistic.
  4. Turn on two-factor authentication, starting with your email account. Our guide on how to set up 2FA covers the main services.
  5. Check your email account for tampering: look for forwarding rules, filters, recovery addresses or connected apps you didn't add.
  6. Review recent activity in your email and main accounts for unfamiliar sign-ins and devices.
  7. Watch for targeted phishing. Expect scam emails that mention the breached company.
  8. If financial data was exposed, check bank statements and consider the credit-file steps below.

Work through the list in this order. Steps one to four do most of the protective work.

Extra steps if financial or identity data was leaked

SituationUK actionUS action
Card details exposedCall your bank on the number on the back of the card; ask for a replacementSame; review statements and dispute unknown charges
Identity data (date of birth, address, ID)Check your credit file with Experian, Equifax or TransUnion; consider Cifas Protective RegistrationConsider a free credit freeze with Equifax, Experian and TransUnion
Social Security number exposedN/AFreeze credit; see IdentityTheft.gov for a recovery plan
You've lost moneyReport to your bank, then Action Fraud (England, Wales, NI) or Police Scotland on 101Report to your bank and at ReportFraud.ftc.gov
Company handled it badlyComplain to the company, then the ICOYour state attorney general or the FTC

For a worked UK example, our guide to the ASOS data breach shows these steps applied to a real incident.

Set up alerts for future breaches

Rather than checking manually, let breach services tell you:

  • HIBP Notify Me: on haveibeenpwned.com, choose the notification option and verify your address. Alerts come from noreply@haveibeenpwned.com.
  • Mozilla Monitor: free email alerts based on HIBP data.
  • Password manager alerts: most now warn you when a saved password appears in a breach.
  • Google "Results about you" and dark web reports in some regions and plans.

Be careful with paid "dark web monitoring" upsells. Many simply repackage the same public breach data that's available free.

Common myths about breach checks

  • "Not found means I'm safe." HIBP's own FAQ points out that it can only show breaches it has loaded. Many breaches are never made public.
  • "Checking my email on a breach site is risky." HIBP is a trusted, long-running service and doesn't log searches. Avoid unknown lookalike sites, though.
  • "An old breach doesn't matter." It matters if you still use that password anywhere.
  • "I need to delete my email account." Usually not. Securing it with a strong password and 2FA is enough.
  • "Someone emailed to say I'm in a breach, so I'll click their link." Breach-themed emails are a common phishing lure. Go to the service directly.

Reduce the damage from the next breach

You can't stop companies being breached, but you can limit how much a breach hurts you:

  • Use a unique password for every account, so one breach can't unlock another. See our guide to creating a strong password.
  • Use passkeys where offered. There's no password to leak.
  • Give out less data. Skip optional fields like date of birth if they aren't needed.
  • Use email aliases (for example Apple Hide My Email, Firefox Relay or plus-addressing) so you can tell which company leaked your address.
  • Close accounts you no longer use. Data you've deleted can't be breached later.
  • Use guest checkout for one-off purchases.

Check every address you've used

Most people have more email addresses than they remember: an old Hotmail or Yahoo account from school, a work address, an address from a previous internet provider such as BT, Sky or Comcast, and aliases. Breaches from years ago often involve those older addresses, and they may still be the recovery address for an account you care about.

Make a quick list, check each one, and either secure it with a new password and 2FA or, if you no longer need it, update your accounts to use your main address and close it.

Frequently asked questions

How do I check if my email was in a data breach?

Go to haveibeenpwned.com, type your email address and press Check. The site lists known breaches that included your address and shows what data was exposed in each one.

Is Have I Been Pwned safe to use?

Yes. It is a long-running free service run by security researcher Troy Hunt and is widely recommended. Its FAQ says searches are not logged, and sensitive breaches are only shown to the verified address owner.

Does being in a data breach mean I've been hacked?

No. It means a company you used lost data that included your email address. Your accounts are only at risk if the leaked password is still in use, or if criminals use the data for phishing.

What should I do first if my email was breached?

Change the password on the breached site and anywhere else you used the same password, then turn on two-factor authentication, starting with your email account.

Should I enter my password into a breach checker?

It is better not to type real passwords into any third-party website. Use the password check in your password manager, Chrome, Edge, Firefox or Apple Passwords instead.

Why does my email appear in breaches of sites I never used?

You may have forgotten an old account, a company may have shared your data with a partner that was breached, or someone may have signed up using your address.

If my email isn't found, am I safe?

Not necessarily. Breach checkers only know about breaches that have been made public and loaded. Keep using unique passwords and two-factor authentication either way.

How can I get alerts about future breaches?

Use the Notify Me option on Have I Been Pwned, Mozilla Monitor, or the breach alerts built into your password manager or browser.

Last checked: 20 October 2026. Figures, settings and guidance can change, so confirm anything important with the sources linked above.

Share X LinkedIn WhatsApp Facebook
Was this helpful?