---
updatedAt: 2026-09-17T07:52:35.000Z
agentTools:
  siteIndex: https://docs.readme.com/llms.txt
  siteSearch: https://docs.readme.com/agentSearch?query=term1%20term2
  projectIndex: https://docs.readme.com/main/llms.txt
  projectSearch: https://docs.readme.com/main/agentSearch?query=term1%20term2
---

# Login Expiration

Set how long a reader stays signed in to your docs before they have to log in again, under Custom Login settings.

## Login Expiration Setting

Authentication persists via browser cookies. You can set a custom expiration period under **User Data Expiration** in **Custom Login** to require your users to log in again after a certain timeframe. The default setting is shown below.

<Image align="center" border={false} src="https://files.readme.io/3a211fc472887521efe63248a3a8287bf33dd5c969dee4674f170adb879bf37b-fe0f3c5c706a7b798cd6cec9b7827854.png" />

<br />

# Sibling pages

* [Internal Documentation](https://docs.readme.com/main/docs/internal-documentation.md)
* [Error Pages and Redirects](https://docs.readme.com/main/docs/error-pages.md)
* [Redirect Scenarios](https://docs.readme.com/main/docs/redirect-scenarios.md)
* [Outbound IP Addresses](https://docs.readme.com/main/docs/ip-addresses.md)