# Change expiration Time of access token

**URL:** <https://community.auth0.com/t/change-expiration-time-of-access-token/125726>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [January 25, 2024, 6:47pm UTC](https://community.auth0.com/t/change-expiration-time-of-access-token/125726 "2024-01-25T18:47:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 25, 2024, 7:39pm UTC](https://community.auth0.com/t/change-expiration-time-of-access-token/125726/3 "2024-01-25T19:39:35Z")

</div>

Hi @me1k,

Welcome to the Auth0 Community!

It looks like you have [changed the access token expiration time](https://community.auth0.com/t/change-access-token-expiration-time/122560) correctly. However, let me clarify that the token expiration is in seconds instead of milliseconds. See below:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/7/1/71e805686736ac2107cf5fee9a9c5032dc5cd5a0.png)

Additionally, the value `1706293978` you shared is the expiration time in seconds since Unix epoch. Using [jwt.io](http://jwt.io) to decode my token, here is an example:

![image](https://global.discourse-cdn.com/auth0/original/3X/4/e/4e9818a369c0262aed9c66adf4c1341f084eacc0.png)

Hovering over the time gives you the GMT date and time: ![image](https://global.discourse-cdn.com/auth0/original/3X/a/0/a07a8196efa1922884b77e174d08ce56a35ecd55.png)

To verify that your expiration time is correct, you can look at the `exp` and `iat` claim of your access token.

Then you can perform the following calculation:

- Token expiration (in seconds) = `exp` (Expiration time in seconds) - `iat` (Issued at in seconds)

The token expiration time should match the value you set in your token settings.

Let me know how this goes for you.

Thanks,  
Rueben

---

_[View the full topic](https://community.auth0.com/t/change-expiration-time-of-access-token/125726)._
