goJumboGPT

Security Signing in safely: 2FA, passkeys and account recovery

Too many incorrect PIN attempts on Windows 11: how long?

3 wrong PINs, then A1B2C3 and one more try. Lockouts of 1, 2 and 10 minutes after restarts, the TPM's 32 tries, and where the 2 hours and 30 minutes come from.

8 min read How we write

The short answer

  • After 3 wrong Windows Hello PINs, Windows asks you to type A1B2C3, which gives you one more try. Miss that and the PIN option is off until you restart.
  • Keep failing and lockouts start: 1 minute after the first restart, 2 minutes after the fourth, 10 minutes after the fifth, and longer after that (Microsoft).
  • Underneath, Windows sets the TPM chip to lock after 32 failures and forget one every 10 minutes. All are forgotten after 320 minutes with no new failures.
  • Failures are forgotten while the PC is on or asleep, not reliably while it is off. A locked PC left on leaves lockout after 10 minutes.
  • The "2 hours" is an old BitLocker TPM + PIN example and the "30 minutes" is a password lockout setting. Neither is the Windows 11 PIN rule.

After 3 wrong Windows Hello PINs, Windows asks you to type A1B2C3, which buys you one more try. Miss that one and the PIN box is switched off until you restart the PC, and then the same pattern starts again. Keep failing and real lockouts begin, according to Microsoft: 1 minute after the first restart, 2 minutes after the fourth, 10 minutes after the fifth, and longer after that. There is no fixed "wait 2 hours" or "wait 30 minutes" for a Windows 11 PIN. Those numbers belong to other locks, explained below.

What the Windows Hello PIN and the TPM are

The Windows Hello PIN is the code you type at the Windows 11 sign-in screen instead of your password. It can be 4 to 127 characters long. Unlike a password, it only works on that one PC, and Microsoft says it "isn't stored on the server."

The PIN does not unlock Windows by itself. It unlocks a key held by the TPM (Trusted Platform Module), a security chip on the motherboard or a protected mode built into the processor. The TPM keeps your sign-in key and will not use it without the right PIN.

The TPM also counts wrong guesses. Microsoft calls this anti-hammering, because hammering means trying code after code until one works. After too many wrong guesses, the chip stops answering for a while, and that pause is the lockout. Microsoft's TPM guide says "Both BitLocker and Windows Hello use the TPM to prevent PIN brute-force attacks." So the counter under your PIN lives in the chip, not in Windows.

Microsoft's sequence, step by step

Microsoft sets out the sequence in its Windows Hello for Business FAQ:

  1. 3 wrong PINs. The screen says: "You've entered an incorrect PIN several times. To try again, enter A1B2C3 below."
  2. Type A1B2C3. You get "one more opportunity to enter the PIN."
  3. That try fails. The PIN sign-in is disabled, and the only way forward is a restart.
  4. After the restart, the pattern repeats.
  5. Failures keep coming. The PC locks for 1 minute after the first restart, 2 minutes after the fourth and 10 minutes after the fifth. "The duration of each lockout increases accordingly."

Microsoft says this "is a result of the TPM 2.0 anti-hammering feature." It does not publish the waits after the fifth restart, so this page gives none.

One locked laptop, worked through

Take a Windows 11 laptop whose owner changed their PIN last week and keeps typing the old one. Walked through Microsoft's steps, each round is 4 wrong PINs: 3, then A1B2C3, then one more. After the first restart, another round brings a 1 minute lockout. By the fourth restart the lockout is 2 minutes, and by the fifth it is 10.

Suppose the owner stops there and leaves the laptop on at the sign-in screen. Under the TPM rule below, the chip forgets one failure every 10 minutes while it stays on. Clearing the count fully takes 320 minutes with no new wrong guesses. If they switch it fully off instead, the count may just wait for them.

The better move comes before the first restart. Instead of guessing again, they pick "I forgot my PIN" and reset it with their Microsoft account password, which ends the guessing for good.

The TPM rule underneath

On a PC with TPM 2.0, Windows sets the chip to lock after 32 wrong attempts and to forget one wrong attempt every 10 minutes. At 32, the chip locks, and for the next 10 minutes it only answers that it is locked. Then one failure is forgotten, the count drops to 31, and the right PIN works again. After 320 minutes (5 hours 20 minutes) with no failures, the count is back to zero.

One wrong guess at 31 locks it again. A correct PIN does not clear the count either, because "a single authorization success can't reset the TPM's anti-hammering protection." Only time does that.

And time only counts while the PC is on. Windows makes the chip forget failures when the PC is "running normally, in a sleep mode, or in low power states other than off." It does not require that when the PC is fully off or hibernated. Microsoft adds that a locked PC "leaves lockout mode if the system is left on for 10 minutes."

Why you read "2 hours" and "30 minutes"

Forum answers and how-to sites disagree on this. Each wrong number comes from a real lock, just not this one.

"Wait 2 hours" is an old BitLocker example on the same Microsoft TPM page. BitLocker is the Windows drive encryption, and with "TPM + PIN" it asks for a separate PIN before Windows starts. On Windows 10 version 1607 and earlier, Microsoft says a TPM 2.0 "could be configured to allow only 32 PIN guesses immediately, and then only one more guess every two hours." From version 1703, the BitLocker PIN had to be at least six characters, and "the lockout duration between each guess was shortened." The 2 hour rule survives only as a legacy setting an admin can choose.

"Wait 30 minutes" comes from Account lockout duration, a Windows policy for wrong passwords. It sets how many minutes an account stays locked, anywhere from 1 to 99,999, and 0 means locked until an admin unlocks it. So 30 is just a value someone picked. Microsoft's page calls "approximately 15 minutes" advisable. On new PCs set up with Windows 11 version 22H2 or later, Microsoft says lockout is on by default, with a baseline of 10 wrong tries within 10 minutes and then a 10 minute lock.

Number you seeWhat it really isApplies to your Windows 11 PIN?
A1B2C3 after 3 wrong PINsThe sign-in screen's challenge, then one more tryYes
1, 2, then 10 minutesLockouts after the first, fourth and fifth restartYes
32 failures, 1 forgotten every 10 minutesThe TPM 2.0 lock Windows sets underneathYes
320 minutesTime with no failures until the TPM forgets them allYes, while the PC is on
One guess every 2 hoursOld BitLocker TPM + PIN example, Windows 10 1607 and earlierNo, unless an admin chose the legacy setting
10, 15 or 30 minutesAccount lockout duration for wrong passwordsNo: it is the password policy

If you forgot your PIN

Stop guessing and reset it, because every wrong guess adds to the TPM count.

  • Microsoft account: at the sign-in screen, select "I forgot my PIN" and follow the steps to verify your account and set a new PIN.
  • Local account: sign in with your password, then go to Settings, Accounts, Sign-in options, PIN (Windows Hello).
  • Password forgotten too: choose Sign-in options, then Web sign-in, then Forgot my password. You can also reset it from a browser on another device.
  • Work or school PC: the reset may need a connection to your organization's network, so ask your IT team.

So the PIN is only as recoverable as your Microsoft account. If you cannot get into that either, how long Microsoft account recovery takes explains the 24 hour reply. Doing your account recovery setup now, while you can still sign in, makes this a quick fix later.

Face and fingerprint sign-in have a limit of their own. After several failed scans, Microsoft says that method "may become temporarily unavailable," and only signing in another way brings it back. A restart does not. How they compare with a PIN is covered in what face and fingerprint sign-in really protect.

If the screen asks for a BitLocker recovery key

A screen asking for a BitLocker recovery key is a different problem, not caused by wrong PINs at sign-in. Microsoft says it can appear at startup "due to a security risk or hardware change." The key is a 48 digit number. With a Microsoft account, look it up on another device at aka.ms/myrecoverykey. For a work or school account, use aka.ms/aadrecoverykey. It may also be on a printout or a USB stick saved when BitLocker was turned on.

Microsoft is blunt about the rest: "Microsoft Support doesn't have the ability to retrieve, provide, or recreate a lost BitLocker recovery key." Without it you have to reset the PC, which removes all files, and only a backup kept somewhere else brings them back. One thing works in your favor: Microsoft says default TPM-only BitLocker can "start Windows, even when the TPM is locked." A PIN lockout does not stop the PC booting.

Where these numbers stop applying

Microsoft publishes the A1B2C3 sequence in a FAQ written for work PCs. It ties that sequence to the TPM 2.0 rule, which covers Windows Hello PINs on any TPM 2.0 PC, and its home support pages give no separate schedule. Waits after the fifth restart are not published.

A work or school PC can be set up differently. Admins can choose the legacy 2 hour setting, set password lockout rules and change how PIN reset works. An admin with the TPM owner password can clear a lockout at once in tpm.msc, though a wrong owner password there blocks another try for 24 hours. Older TPM 1.2 chips are not covered, since Microsoft says their behavior "varied widely throughout the industry."

Other PINs keep their own counts. A phone's is set out in how many wrong passcode attempts before a phone locks, the SIM's in how many PUK attempts before a SIM is blocked, and a bank card's in how many wrong PIN attempts before a card is blocked.

What to do at the A1B2C3 screen

  1. Stop guessing. You have one try left before a restart, and every miss adds to the count.
  2. Pick "I forgot my PIN" if it is there, and reset with your Microsoft account password.
  3. Locked already? Leave the PC on at the sign-in screen for 10 minutes, or sign in with your password. Microsoft says a locked user can "use other credentials to sign in, such as a user name and password."
  4. Find your BitLocker key today, before you ever need it.

Common questions

How long is the Windows 11 PIN lockout?

It depends how far the guessing went. The first real lockout is 1 minute, after one restart. It becomes 2 minutes after the fourth restart and 10 minutes after the fifth, and Microsoft says each one grows from there. Before any lockout, you get 3 tries, the A1B2C3 challenge and one more try per restart.

What does A1B2C3 mean on the Windows sign-in screen?

It is a fixed challenge phrase, not a code from anyone. Windows shows it after 3 wrong PINs. Typing A1B2C3 exactly as shown unlocks one more PIN attempt. It does not reset the count or unlock the PC. If that next PIN is also wrong, the PIN option is disabled until you restart.

Does restarting reset the wrong PIN count in Windows 11?

No. A restart switches the PIN box back on, but the TPM chip keeps counting. Microsoft's lockouts get longer with each restart because the failures are still remembered. The chip forgets them slowly, one every 10 minutes, and only while the PC is running or asleep.

Can I reset my Windows PIN without my Microsoft password?

Usually not. The "I forgot my PIN" link checks your Microsoft account before it lets you set a new PIN. If you have forgotten the password as well, reset that first, from the sign-in screen or in a browser on another device. On a local account you sign in with the local password and change the PIN in Settings.

Will too many wrong PINs erase my Windows PC?

No. Microsoft describes lockouts that get longer, not a wipe. Your files stay on the drive. A reset that removes your files only comes up if a BitLocker recovery screen asks for a key you cannot find. That screen comes from a security risk or hardware change at startup, not from wrong PINs.

Sources