How to Set an Inactivity Password Timeout in Windows 11

How to Set an Inactivity Timeout for Password Log-In on Windows 11

Want your PC to require a password after you haven’t used it for a while — say, 5 hours — yet still have Windows 11 wake from sleep without asking for a login if you return sooner? Find out here how to set an inactivity timeout for password log-in in Windows 11 ⤓.

How to Set an Inactivity Timeout for Password Log-In on Windows 11

⚡ Quick Fix

Go to Settings | Accounts | Sign-in options and set If you’ve been away, when should Windows require you to sign in again? to Never. Then go to Settings | Personalization | Lock Screen, use Screen saver to set the desired timeout under Wait and enable On resume, display logon screen.

Time needed: 5 minutes

To specify a time of inactivity after which Windows 11 will require you to log in (whether the PC went to sleep in the meantime or not):

  1. Open Windows settings.

    Here’s how: You can select the Settings app in the Start menu, for example.
    Windows keyboard shortcut: Press Windows I to open Windows settings.

  2. Go to the Accounts category.

  3. Select Sign-in options under Account settings.

  4. Choose Never for If you’ve been away, when should Windows require you to sign in again? (under Additional settings).

    Caution: This method depends on the screen saver activating correctly. If the screen saver does not start, the PC will remain unlocked. Test the setup before relying on it for security.
    Choose “Never” to set up your own Windows 11 log-in timeout using a screensaver

  5. Now go to the Personalization section in Settings.

  6. Open Lock screen

  7. Click Screen saver under Related settings.

    Select “Screen saver” to open screensaver settings in Windows 11

  8. Pick any screen saver.

    Blank: If you draw a blank (like I did), Blank works just fine.

  9. Choose the inactivity timeout before password sign-in under Wait:.

    Example: Enter 300 for a timeout of 5 hours.

  10. Turn on On resume, display logon screen.

  11. Now click OK.

    Set a custom timout for locking a PC in Windows 11 screensaver settings

Secured from idle threats?

⇆ Buy La De Du a tea

Tips help fuel these email and tech how-tos.

How to Set an Inactivity Timeout for Password Log-In on Windows 11: FAQ

Can I still lock the PC with “Dynamic lock?”

Yes.

If you have Allow Windows to automatically lock your device when you’re away enabled in Windows 11 sign-in options (see above), your PC will lock automatically when the paired Bluetooth device (like your phone) goes out of range and the system is idle — even if the screen saver’s inactivity timeout has not been reached yet.

You will have to log in with your password when you return.

Speaking of time: How to Set the Time and Date on Windows 10/11

(Tested with Windows 11 Version 24H2–25H2; first published May 2025, last updated November 2026)

Home » Windows Tips and Resources » How to Set an Inactivity Password Timeout in Windows 11