How to Add a PIN to Your Account in Windows 11
A PIN in Windows 11 lets you sign in with a short code instead of your full account password. It works through Windows Hello, a built-in sign-in system that ties the PIN to one specific computer, so the code is useless on any other device.
You set it up under Settings Accounts Sign-in options, and a PIN needs at least 4 digits. The steps are the same on Windows 11 Home and Pro. No restart is needed, because the PIN works the next time you sign in or unlock the PC.
Open Settings with Win+I, then go to Accounts Sign-in options, expand PIN (Windows Hello) and click Set up. Confirm with your account password, then type and confirm a PIN of at least 4 digits. The PIN works the next time you sign in, with no restart needed.
How to Add a PIN to Your Account
Option 1Add a PIN through Settings
- Press Win + I on your keyboard to open Settings. The Settings window opens.
- Click Accounts in the left menu, then select Sign-in options on the right. A list of sign-in methods appears, such as facial recognition, fingerprint, PIN and password.
- Scroll down to PIN (Windows Hello) and click its header to expand it. The methods you see depend on your hardware, so your list may be shorter than someone else’s.
- Click the Set up button next to “Use a PIN to sign in to Windows, apps, and services”. A verification window appears.
- Click Next if you use a Microsoft account. Skip this step if you use a local account.
- Type your current account password to confirm it’s you, then click Sign in or OK. The window now asks you to create a PIN.
- Type the PIN you want, then type it again in the confirmation box. It must be at least 4 digits. Check Include letters and symbols if you want a more complex PIN.
- Click OK to finish. The PIN (Windows Hello) section now shows Change PIN and Remove instead of Set up.
That’s it. You now have a PIN you can use at the sign-in screen and when you unlock the PC. You set it up while signed in, so you did not need to log out.
If the Set up button is missing or greyed out, a work or school organization probably manages the PC and controls its sign-in policy. Ask your IT administrator in that case. Such policies can also set a minimum PIN length or require letters and symbols.
To undo the change later, return to the same section and click Remove. Windows asks for your password to confirm.



Option 2Add a PIN from the Sign-in Screen
- On the sign-in screen, click Sign-in options below the password box. A row of icons appears, one for each sign-in method available on this PC.
- Choose the PIN option.
- Enter your account password (not a PIN) and press Enter.
- Click Next if you’re using a Microsoft account.
- Create your new PIN and click OK. Type it twice, as in the Settings method.
- Wait while Windows signs you in with your PIN. From now on, use the PIN at the sign-in screen.
You should now have a working PIN that you added without first signing in to the desktop. This route suits you if you skipped the PIN during the initial computer setup and want one before your next login.
If you don’t see a PIN option on the sign-in screen, sign in with your password and use the Settings method above instead. Whichever method you use, you can change or remove the PIN later under Settings Accounts Sign-in options.


Wrapping Up
A PIN improves everyday security because it is stored only on your device and is not sent across the internet. A Trusted Platform Module (TPM, a dedicated security chip on your motherboard) protects this data. Windows 11 requires TPM 2.0, so most PCs that run it have this chip. That means someone who learns your PIN still can’t use it on another computer, and your online password is not exposed.
- More secureYour PIN works only on your device and is not sent online.
- Protected by special hardwareThe TPM chip in your device keeps your PIN data safe from attackers.
- Quick to useSigning in with a PIN is faster than typing a long password.
- Works with biometricsUse the PIN as a backup if fingerprint or face sign-in isn’t available.
- FlexibleYou can create a simple or complex PIN.
If you also set up face or fingerprint sign-in, Windows now defaults to that method at every sign-in. If you then use your PIN three times in a row, Windows stays with the PIN until you switch methods yourself. Use Sign-in options on the sign-in screen to switch back.
Enhanced Sign-in Security now works with supported external fingerprint readers. That gives you a biometric option alongside the PIN. Check Settings Accounts Sign-in options to see which options your PC offers.
Helpful Links
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!