1. On the Admin sidebar, choose Stores. Then under Settings, choose Configuration.
2. In the panel on the left under Advanced, choose Admin.
3. Expand the Security section.
4. In the Admin Session Lifetime (seconds) field, enter the number of seconds that a session remains active before it times out.