Skip to content
Follow
Windows

How to Turn On or Off PIN Expiration in Windows 11

Richard
Written by
Richard
Jan 31, 2026 Updated Jul 13, 2026 3 min read
How to Turn On or Off PIN Expiration in Windows 11
How to Turn On or Off PIN Expiration in Windows 11

Turning off PIN expiration in Windows 11 stops your sign-in PIN from needing to be changed regularly.

PIN expiration is a security setting that requires you to create a new PIN after a certain time. For local accounts, Windows 11 usually sets this to expire every 42 days by default.

You can control this setting using the Local Group Policy Editor. This tool is available in Windows 11 Pro, Enterprise, and Education editions.

⚡ Quick Answer

Open the Local Group Policy Editor and navigate to Computer Configuration > Administrative Templates > System > PIN Complexity. Double-click “Expiration” and select Enabled to set a duration or Disabled to turn it off.

What is a 🪟 Windows 11 PIN?

What’s a Windows 11 PIN? It’s a short number code used to sign into your computer quickly and safely, replacing a full password. It’s a simpler way to get into Windows 11, and it works alongside other sign-in methods like fingerprint or face recognition.

Windows 11 also allows you to sign in using a picture password, fingerprint, or face recognition.

Windows 11 PIN expiration is off by default, meaning your PIN does not expire. You can set the PIN to expire after a specific number of days, ranging from 1 day to 730 days (2 years). This change requires you to regularly change your PIN. Alternatively, you can choose for the PIN to never expire.

How to Turn PIN Expiration On or Off Using Group Policy Editor

You can control if your Windows 11 PIN expires using the Group Policy Editor, a tool found in Windows 11 Pro, Enterprise, and Education versions. This lets you decide how often your PIN needs to be renewed or turn off expiration completely.

  1. Click the Start button and type Edit group policy. Click the app that appears. This opens the Local Group Policy Editor.
  2. In the window that opens, go to this folder path on the left side: Computer Configuration > Administrative Templates > System > PIN Complexity
  3. On the right side, find and double-click the setting called Expiration.
  4. A new window will pop up. Here you can choose:
    • Not Configured – This is the default. It works the same as Disabled.
    • Enabled – Turn on PIN expiration. You can then set how many days until the PIN expires (between 1 and 730 days). Enter 0 if you want the PIN to never expire.
    • Disabled – Turn off PIN expiration.
  5. After choosing your option, click OK to save.
Windows 11 PIN expiration setting in Group Policy Editor
Windows 11 PIN expiration setting in Group Policy Editor

How to Turn PIN Expiration On or Off Using the Registry Editor

You can change whether your Windows 11 PIN expires by using the Registry Editor, but extreme caution is advised as mistakes can cause computer issues. The Registry Editor lets you adjust advanced settings, including rules for how often your PIN needs updating.

The registry stores critical Windows settings, and changing them incorrectly can cause issues.

Open the Registry Editor:

  1. Press Windows key + R to open the Run box.
  2. Type regedit and press Enter.
  3. Navigate to this folder path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\PINComplexity
  4. If you don’t see PassportForWork or PINComplexity, right-click on the previous folder. Choose New > Key to create them.
  5. Right-click on PINComplexity. Select New > DWORD (32-bit) Value. Name it Expiration.
  6. Double-click the new Expiration entry. Select Decimal under Base. Then enter:
    • A number between 1 and 730 to set the PIN expiration days.
    • Or 0 to never expire.
  7. Click OK, then close the Registry Editor.
  8. Restart your computer to apply the changes.
Windows Registry Editor PIN expiration setting
Windows Registry Editor PIN expiration setting

⚠️Warning
If you want to go back to the default and stop PIN expiration, delete the Expiration value you created.

Summary

  • Windows 11 lets you make your PIN expire after a set number of days. Or it can never expire.
  • By default, PINs do not expire.
  • You can change expiration settings using either the Group Policy Editor (for Pro and higher) or the Registry Editor.
  • Always back up your data before making system changes.
  • Regularly reviewing your PIN settings helps keep your PC secure.

Windows 11 PIN expiration settings allow you to set a limit for how long your PIN is valid before you must change it. Alternatively, you can choose for your PIN to never expire. You can adjust these Windows 11 PIN expiration settings using either the Group Policy Editor or the Registry Editor.

More Info from Microsoft: Official Microsoft PIN Expiration Settings

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to View Local Group Policies that are Configured in Windows 11
Windows How to View Local Group Policies that are Configured in Windows 11
How to Enable or Disable PIN for Projecting in Windows 11
Windows How to Enable or Disable PIN for Projecting in Windows 11
How to Add a PIN to Your Account in Windows 11
Windows How to Add a PIN to Your Account in Windows 11
How to Perform Point-in-time Restore of Windows 11
Windows How to Perform Point-in-time Restore of Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *