Nora
Blake

Identity Session Inactivity Policies Explained: Setting Timeouts Without Breaking Workflows

Nora Blake

Nov 11, 2026

9 min read

Identity Session Inactivity Policies Explained_ Setting Timeouts Without Breaking Workflows

TL;DR

Identity session inactivity policies limit exposure from unattended sessions.

  • Idle timeouts end inactive sessions; absolute timeouts cap session lifetime.
  • Application session termination and device screen locking protect different access layers.
  • Test policies before organization-wide enforcement.

Authentication verifies that users control the authenticators associated with their accounts. However, it does not automatically end an established session when they step away. Identity session inactivity policies help organizations limit exposure from unattended sessions while balancing security with workflow continuity.

What Are Identity Session Inactivity Policies?

Identity session inactivity policies end the session they govern or require reauthentication after a defined period without activity. They may apply to an application or identity-provider session, which can expire independently.

What counts as session activity?

OWASP measures web-application inactivity from the last HTTP request received for a session ID. An open tab is not necessarily activity, but recognized background requests may reset the timer.

Unattended sessions may allow others to access application data or act under the account holder’s identity, complicating security investigations and audit attribution.

What’s the Difference Between Idle and Absolute Session Timeouts?

An idle session timeout ends a session after a specified period without qualifying activity. Its timer resets when the application recognizes new activity.

An absolute timeout sets a maximum session lifetime. When it expires, the user must authenticate again.

How do the settings interact?

The session expires when either limit is reached. For example, activity can reset a 30-minute idle timer, but it cannot extend a four-hour absolute timeout.

MFA frequency may be separate from application expiry. An expired application session does not always trigger fresh MFA. Check IdP policy precedence.

Why am I logged out of one SSO app but not another?

Single sign-on (SSO) involves separate session layers. The identity provider maintains an authentication session, while each application may maintain its own.

If an application session expires while the IdP session remains active, the IdP may reuse its existing session during a new federation transaction. This depends on the protocol and authentication policies. If the IdP session expires, a subsequent transaction may require fresh authentication. However, existing application sessions do not necessarily terminate when the IdP session expires. Credential and MFA requirements depend on the authentication architecture and policies.

Enforce session expiration server-side. Deleting a browser cookie alone does not invalidate the corresponding server-side session. Applications must invalidate expired sessions and reject subsequent requests using them.

Is a Session Inactivity Policy the Same as a Device Screen Lock?

A screen lock protects device access; session termination ends an authenticated logical session.

For nonfederal systems processing, storing, or transmitting Controlled Unclassified Information (CUI), or protecting those components, NIST SP 800-171 Rev. 3 (May 2024) distinguishes device locking from logical session termination under 03.01.10 and 03.01.11.

Control  What it protects  Trigger  Enforced where  What it does not do 
Device screen lock  Local access and displayed information  Inactivity or manual locking  OS or application  Does not necessarily invalidate server-side sessions or tokens. 
Application session inactivity  Access to an individual application  Period without qualifying activity  Application or relying-party server  Does not necessarily terminate the IdP session or lock the device. 
Identity-provider session inactivity  IdP authentication state  Period without qualifying activity  Identity provider  Does not necessarily terminate downstream application sessions. 
Gateway/VPN idle timeout  Network connection  Period without network activity  VPN gateway or network infrastructure  Does not necessarily terminate application sessions or lock the device.

NIST addresses network disconnection separately under 03.13.09 (Network Disconnect). A laptop may lock while an application token remains valid. An attacker may replay an unexpired bearer token if the resource server accepts it.

Consider pairing a short device screen-lock interval with an application session limit. Select both according to device exposure, application sensitivity, and organizational requirements.

How Long Should an Inactivity Timeout Be?

There is no universal timeout. Choose one based on application sensitivity, user privileges, device context, and working patterns.

What factors should determine an inactivity timeout?

Consider five factors:

  • Application sensitivity: Financial and confidential data warrant shorter windows.
  • User privileges: Administrative accounts need stricter controls.
  • Device context: Shared and unmanaged devices carry greater exposure.
  • Working patterns: Extended tasks may need longer timeouts.
  • Regulatory requirements: Identify applicable obligations.

What are the recommended session inactivity timeout ranges?

Use security guidance as a starting point.

The OWASP Session Management Cheat Sheet gives common guidance ranges:

  • High-value applications: 2–5 minutes.
  • Low-risk applications: 15–30 minutes.

NIST SP 800-63B-4 (as of November 2026) specifies reauthentication limits by assurance level:

  • AAL1: Establish an overall reauthentication timeout. It should be no more than 30 days; an inactivity timeout is optional.
  • AAL2: Establish a definite overall reauthentication timeout. NIST recommends a maximum of 24 hours and an inactivity timeout of no more than one hour.
  • AAL3: The overall timeout must be no more than 12 hours. The inactivity timeout should be no more than 15 minutes.

These limits apply to NIST digital identity subscriber sessions, not all enterprise applications. Distinguish SHALL requirements from SHOULD recommendations.

What could a tiered session timeout policy look like?

The following model is illustrative, not prescriptive.

Sensitivity tier  Example applications  Illustrative idle timeout 
Low  Internal knowledge portals, collaboration tools  15–30 minutes 
Standard  Business applications, employee management systems  5–15 minutes 
High  Financial systems, privileged administration, sensitive records  2–5 minutes 

How do persistent sessions and shared devices affect timeout decisions?

Some identity providers maintain authentication continuity across browser restarts through persistent cookies or token-renewal mechanisms. However, NIST SP 800-63B-4 states that cookies cannot replace authentication, except for a specified AAL2 reauthentication scenario.

NIST recommends that bearer session secrets should not persist across application restarts or device reboots. Proof-of-possession session secrets may persist, provided relying parties and credential service providers continue enforcing the required session-lifetime limits.

Access and refresh tokens may remain valid after an authentication session ends, so check whether their expiration and revocation are coordinated with session limits. Do not rely on browser-cookie expiration alone to enforce server-side timeouts.

Shared and frontline devices often warrant stronger session separation. Consider application sensitivity, device exposure, and user handoff frequency. Where supported, badge-tap re-entry can reduce sign-in friction. Test handoffs and restrict persistent sign-in.

How Do You Test Inactivity Timeouts Without Frustrating Users?

Test identity session inactivity policies across representative applications, users, and devices before organization-wide enforcement. Focus on session-expiration behavior and its impact on legitimate workflows.

Run a focused pilot:

  • Classify applications. Group them by sensitivity, user privileges, device context, and business criticality.
  • Select representative users. Include different roles and devices. Exclude break-glass accounts from policies that could block emergency sign-in, but validate emergency access separately.
  • Set an initial timeout. Base the starting value on application risk and working patterns.
  • Observe policy behavior. Use audit or report-only mode where supported. Validate actual session termination separately before enforcement.

Test realistic user workflows:

  • Meetings and calls: Check whether sessions expire during extended meetings.
  • Unsaved forms: Verify whether users can recover information after session expiration.
  • Long-running tasks: Check whether background operations continue or lose their authenticated context.
  • Mobile app switching: Test whether switching applications or backgrounding an app affects session expiration.
  • Reauthentication: Compare silent and interactive authentication requirements, including MFA prompts.
  • Mobile latency: Measure authentication delays and application recovery.
  • Accessibility: Test timeout warnings and recovery with assistive technology. Consider WCAG 2.2.1, Timing Adjustable, for applicable time-limited interactions.

Measure impact and refine policies.

Track reauthentication prompts per user, helpdesk tickets, abandoned tasks, and user feedback. Adjust timeout values based on observed security and usability outcomes. Then expand enforcement gradually across application and user groups.

Why can excessively short timeouts create security risks?

Frequent reauthentication can disrupt legitimate workflows. NIST explains that continual credential presentation creates poor usability and may encourage workarounds, such as caching activation factors. Repeated unsolicited MFA requests can also pressure users into approving authentication attempts they did not initiate, a tactic known as MFA fatigue or push bombing.

Reduce disruption without weakening security:

  • Warn before expiration: Notify users shortly before the inactivity limit expires.
  • Offer session extension: Allow extensions where policy permits, without bypassing absolute timeouts.
  • Preserve in-progress work: Autosave form entries and application state where possible.
  • Explain expiration: Tell users why the session ended and whether they must authenticate again.

WCAG 2.2.1, Timing Adjustable (Level A), provides three alternatives for applicable time limits: users must be able to disable them, adjust them to at least ten times the default duration, or extend them after receiving a warning. The extension option must warn users before the time limit expires, provide at least 20 seconds to extend it through a simple action, and allow at least ten extensions. Exceptions apply to real-time events, essential time limits where extension would invalidate the activity, and limits exceeding 20 hours. Other criteria, including WCAG 3.3.8, may still apply.

How do you retain audit evidence?

Document the following to demonstrate that inactivity policies behave as intended:

  • Configurations: Record timeout values, application scope, and exceptions.
  • Test results: Retain test scenarios, expected behavior, and observed outcomes.
  • Termination events: Capture application and IdP session-expiration logs.
  • Reauthentication events: Record authentication following session expiration.
  • Policy changes: Document approved adjustments and their rationale.

Correlate events using timestamps and available application, user, and session identifiers. Avoid storing raw session tokens; use hashed or otherwise protected identifiers for session-level correlation.

Where Does Hexnode IdP Fit into Session Inactivity Management?

Hexnode IdP provides Session Management policies that let administrators control access duration based on session inactivity, reducing exposure from unattended sessions. Its Conditional Access capabilities also evaluate user identity, device compliance, and security context when making access decisions.

Separately, Hexnode UEM supports device-level security policies, including automatic screen locking. These controls address different layers of access security.

Hexnode-IdP-Solution-brief
Featured resource

Hexnode IdP Solution Brief

Discover how Hexnode IdP helps organizations manage identity and access through SSO, MFA, RBAC, Conditional Access, and session management.

Download the Datasheet

FAQs

Yes, applications that generate background requests may reset an idle timer if the server recognizes those requests as session activity. Organizations should test periodic polling, automatic refreshes, and background tasks to confirm that inactivity policies behave as intended.

Test user handoffs to verify that the previous user’s session is secured and the next employee authenticates under their own account. Evaluate inactivity limits, persistent sign-in behavior, and reauthentication requirements across shared-device workflows. Where supported, badge-tap authentication can facilitate faster user switching, provided the configured workflow securely locks the previous user’s session and authenticates the next user.

Conclusion: Find the Right Balance Between Session Security and User Experience

Effective identity session inactivity policies pair appropriate timeouts with testing and termination evidence. Review them as applications and user contexts change.

Schedule a personalized demo to explore Hexnode IdP session management and access controls.

Share

Nora Blake

I write at the intersection of technology, process, and people, focusing on explaining complex products with clarity. I break down tools, systems, and workflows without any noise, jargon, or the hype.