The 16 billion figure comes from one researcher's compilation, not a single breach

In 2023, a security researcher named Troy Hunt compiled a dataset of 16 billion passwords from multiple breaches and published it in a searchable database called NCSC-NVD (later integrated into his existing Have I Been Pwned service). This number represents passwords collected across dozens of separate breaches over many years — not one catastrophic leak of 16 billion passwords at once.

The confusion happens because news outlets reported the figure as if it were a single event. In reality, Hunt was aggregating data from breaches that had already been publicly known: LinkedIn, Yahoo, Facebook, Dropbox, and many others. Some passwords in the dataset were years old. The compilation was valuable because it let people search one place to see if their password appeared in any of those past breaches, but it was not a new breach itself.

The actual number of unique passwords in that dataset is smaller than 16 billion, because the same password appears many times across different breaches — millions of people use "password123" or "123456", so those strings get counted multiple times when you add up breaches.

Key Takeaways

  • The 16 billion figure is a compilation of passwords from many old breaches, not a single new leak.
  • You can search Have I Been Pwned to see if your password appeared in any known breach, but the site does not tell you which breach or when.
  • If your password shows up in a breach, change it on that service and on any other site where you used the same password.
  • Passwords from old breaches are less useful to attackers if you have already changed them, but they can still be used in credential-stuffing attacks on other sites.

How the 16 billion number was calculated

Troy Hunt, who runs Have I Been Pwned, combined passwords from publicly disclosed breaches into one searchable index. When you add up the password counts from LinkedIn (700 million), Yahoo (3 billion), Facebook (533 million), Dropbox (68 million), and dozens of other breaches, the total reaches into the billions. The 16 billion figure was the sum of all those individual breach sizes.

This is different from saying 16 billion unique passwords exist in the wild. Many passwords repeat across breaches. If 100 million people use "password" as their password, that one string gets counted once per breach it appears in. So a dataset of 16 billion password entries might contain only a few billion unique passwords.

Whether your password is in the dataset

You can search Have I Been Pwned by entering your email address or your password. If your email appears in any known breach, the site tells you which services were breached. If you search by password, it tells you how many times that password has appeared across all breaches combined.

The search does not identify which specific breach your password came from or when the breach happened. It only confirms that the password has been seen before in at least one breach. This is intentional — the site does not store which email used which password in which breach, to protect your privacy.

If your password shows up in the search, it means someone else has already seen it. Change that password when ready on the service where you used it, and on any other site where you reused it.

What attackers do with old passwords

Passwords from old breaches are valuable to attackers even years later, because many people reuse the same password across multiple sites. An attacker with a list of email-password pairs from a 2015 breach can try those same credentials on your bank, email, social media, and shopping accounts today.

This attack is called credential stuffing. It works because password reuse is common. If your password from a LinkedIn breach in 2012 is still the same password you use for Gmail, an attacker can lock you out of your email account without ever cracking anything.

Passwords also get used in dictionary attacks and brute-force attempts against new targets. If attackers know that "Sunshine2019!" is a real password someone uses, they will try it against thousands of other accounts.

Why old breaches still matter

A breach from 2015 is not ancient history in security terms. If you have not changed your password since then, it is still at risk. Attackers work through leaked password lists methodically, testing them against new targets months or years after the original breach.

The 16 billion compilation made this worse in one sense: it put many old breaches in one searchable place, so attackers could cross-reference passwords more easily. But it also made it easier for regular people to check whether they were affected and take action.

If you used the same password across multiple accounts in 2015 and never changed it, you are more vulnerable now than someone who changed their password in 2016. Time does not make old passwords safer — only changing them does.

What to do if your password appears in a breach

First, change the password on the service where the breach happened. Use a password you have never used anywhere else. If you cannot remember which service was breached, Have I Been Pwned tells you when you search your email address.

Second, check whether you used that same password on other sites. If you did, change it on all of them. This is the most important step, because attackers will try your old password on every major site they can think of.

Third, consider using a password manager like Bitwarden, 1Password, or KeePass to generate and store unique passwords for each site. This prevents password reuse from being a problem in the future, even if one site is breached.

How to check if your information was in a breach

Go to haveibeenpwned.com and enter your email address in the search box. The site will tell you which breaches your email appears in, when each breach happened, and what data was exposed (passwords, phone numbers, addresses, and so on).

You can also search by password to see how many times that password has appeared in breaches. This is useful if you want to know whether a password you use is already public, but remember that the search does not tell you which email used it or which service it came from.

Have I Been Pwned is free and does not require you to create an account. The site is run by Troy Hunt, a security researcher, and is not affiliated with any government agency or law enforcement.

Frequently Asked Questions

Does searching Have I Been Pwned put my password at risk?

No. The site uses a technique called k-anonymity, which means it never stores your full password. When you search, your password is hashed and only the first five characters of the hash are sent to the server. The server returns all passwords matching those five characters, and your browser checks locally whether your full password is in the list. Your complete password never reaches the website.

If my password is in the database, does that mean my account was definitely hacked?

It means your password appeared in a breach at some point, but not necessarily that your specific account was compromised. Your password might have been exposed in a breach of a different service, or it might have been guessed or purchased from another source. Check the service's security page or contact their support to see if your account shows signs of unauthorized access.

How often is the Have I Been Pwned database updated?

New breaches are added as they are discovered and verified. The site does not have a fixed update schedule — it depends on when breaches become public. You can check your email periodically to see if new breaches have been added since your last search.

Should I be worried if my password is in the 16 billion dataset?

Yes, but only if you have not changed it since the breach. If your password is public and you still use it on multiple sites, change it when ready. If you have already changed it, the risk is lower — but monitor your accounts for suspicious activity anyway.

Can I trust Have I Been Pwned with my email address?

Have I Been Pwned is widely used by security professionals and has a good reputation. The site does not sell your data or use it for marketing. However, if you are uncomfortable entering your email, you can ask the site's operator to check for you by email, or you can use a temporary email address to search.