# Keycloak expired password

**URL:** <https://forum.keycloak.org/t/keycloak-expired-password/20226>\
**Category:** Getting advice\
**Created:** [February 14, 2023, 5:58am UTC](https://forum.keycloak.org/t/keycloak-expired-password/20226 "2023-02-14T05:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![namkyu](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@namkyu](https://forum.keycloak.org/u/namkyu)\
**Post date:** [February 14, 2023, 5:58am UTC](https://forum.keycloak.org/t/keycloak-expired-password/20226/1 "2023-02-14T05:58:10Z")

</div>

After setting authentication -\> policies -\> Expire password in keycloak  
When the password expires, you need to update-password.  
If the password expires, is there a way to extend the password without updating the password?

Please let me know if you have any references or solutions.

---

<div class="post-metadata">

**Author:** ![VigneshSekar](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/vigneshsekar/32/7656_2.png) [@VigneshSekar](https://forum.keycloak.org/u/VigneshSekar)\
**Post date:** [February 17, 2023, 12:06pm UTC](https://forum.keycloak.org/t/keycloak-expired-password/20226/2 "2023-02-17T12:06:36Z")

</div>

For your post:

In Keycloak, when you set the “Expire Password” policy, users will be required to update their password after a certain amount of time. Once the password has expired, the user will be prompted to change their password on the next login attempt. As far as I know, there is no way to extend the password without updating the password, as this would defeat the purpose of the policy.

However, there are some workarounds that you could consider:

Increase the expiration time

For more information, you can refer to the Keycloak documentation on password policies:  
[Server Administration Guide](https://www.keycloak.org/docs/latest/server_admin/index.html#_password-policy)

I hope this will help
