# Changing the Duration of Access Tokens and Refresh Tokens and Their Behavior

**URL:** <https://community.auth0.com/t/changing-the-duration-of-access-tokens-and-refresh-tokens-and-their-behavior/126712>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [February 7, 2024, 4:33am UTC](https://community.auth0.com/t/changing-the-duration-of-access-tokens-and-refresh-tokens-and-their-behavior/126712 "2024-02-07T04:33:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kito.hirokazu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kito.hirokazu/32/47380_2.png) [@kito.hirokazu](https://community.auth0.com/u/kito.hirokazu)\
**Post date:** [February 7, 2024, 4:33am UTC](https://community.auth0.com/t/changing-the-duration-of-access-tokens-and-refresh-tokens-and-their-behavior/126712/1 "2024-02-07T04:33:54Z")

</div>

What happens to already issued access tokens and refresh tokens when their durations are changed?

- Do already issued tokens become invalidated?
- Does the duration of already issued tokens remain as it was before the change, or is the new duration applied?

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [February 9, 2024, 11:38am UTC](https://community.auth0.com/t/changing-the-duration-of-access-tokens-and-refresh-tokens-and-their-behavior/126712/4 "2024-02-09T11:38:07Z")

</div>

Hi @kito.hirokazu , thank you for posting your questions!

An already issued ID and Access token will be valid for the period they were originally issued for. There is no automate way to invalidate them thus there would be a need to actively logged users out. [Revoke Tokens](https://auth0.com/docs/secure/tokens/revoke-tokens)

In case of refresh tokens, the expiry time will also be as initially set, but you can revoke them (once revoked, they will be invalidated). [Revoke Refresh Tokens](https://auth0.com/docs/secure/tokens/refresh-tokens/revoke-refresh-tokens)

I remain available in case of follow-up questions!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 23, 2024, 11:38am UTC](https://community.auth0.com/t/changing-the-duration-of-access-tokens-and-refresh-tokens-and-their-behavior/126712/5 "2024-02-23T11:38:40Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
