🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Change Magento 2 Admin Session Time

By Sanjay JethvaUpdated on May 22, 2025 2 min read

There are several ways to ease the administration for Magento 2 store admins and here, I will provide you with one of the ways such as changing the admin startup page in Magento 2.

Imagine yourself as a Magento 2 store admin working for the last 25 minutes configuring an extension only to find out that you’ve been logged out when you hit the save button.

Annoyed?

The default Magento 2 admin session time out is set to 900 seconds, i.e., 15 minutes for the security purpose. However, this may lead to such frustrating moments.

To avoid them, here’s the solution to change Magento 2 admin session time which allows to reset the session time out as per your working pattern.

Steps to Change Magento 2 Admin Session Time:

Steps-to-Change-Magento-2-Admin-Session-

1. Login to admin panel

2. Go to Stores > Configuration

3. Select “Admin” under “Advanced”

4. Expand “Security

5. Set Admin Session Lifetime (seconds)

6. Save

That’s it.

You can also refer to Change Magento 2 Admin Session Time from our Magento 2 video tutorial series:

Please share the tutorial via social media with Magento 2 store admins and save them from annoying moments!

Thanks.

Sanjay Jethva Full Image
Article bySanjay Jethva

Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe. His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.