Home
IT Hub

Managing Session Timeouts in Google Workspace

Google Workspace
Reco Security Experts
Updated
December 2, 2024
December 2, 2024

Session timeouts in Google Workspace define how long a user can stay signed in to their apps before being automatically logged out. This feature, managed through the Admin console, enhances security by requiring users to reauthenticate after a specified period, helping protect sensitive data and enforce compliance with organizational policies.

Controlling session timeouts in Google Workspace is crucial for maintaining security and user productivity. Through the Admin console, you can configure how long users can remain signed into their apps before being prompted to log in again. This ensures secure access while balancing usability, helping protect sensitive data and comply with organizational policies. Once a session expires, users must reauthenticate to initiate a new one, enhancing overall security protocols.

Default Google Workspace Session Timeout Settings

The default length of the Google Workspace web session is 14 days. However, the function of this setting on mobile devices differs according to the app and device. As for Google Workspace Admin, the default session length is one hour.

Setting the session length for Google Workspace apps applies only to the following editions:

  • Frontline Standard
  • Business Plus
  • Enterprise Standard
  • Enterprise Plus
  • Education Fundamentals
  • Education Standard
  • Teaching and Learning Upgrade
  • Education Plus
  • G Suite Business

Available Session Length Options

Hours Days
1 hour 7 days
4 hours 14 days
8 hours 30 days
12 hours The session will never expire
20 hours The session will never expire
24 hours The session will never expire

How to Customize Google Workspace Session Timeout

  1. Sign in to Google Admin Consolesome text
    1. Open Admin Console (admin.google.com)
    2. Login by using your Google Workspace Admin credentials
  1. Go to Google Session control settingssome text
    1. Go to Menu (≡) > Security > Access and data control > Google Session control

Customize Google Workspace Session Timeout on the selected Organizational Unit

1. Choose the target Organizational Unit
Note: To apply it to all users, select the top organizational unit. Initially, an organization inherits the settings of its parent organization.

This screenshot illustrates the organizational unit structure in Google Workspace Admin Console, with the parent organizational unit (OU) highlighted in red and the sub-organization unit highlighted in yellow.

2. For Session control, under Web session duration, choose the length of time after which the user has to sign in again.

3. Click Override to keep the setting the same, even if the parent setting changes.

4. If the organizational unit's status is already Overridden, choose an option:some text

  1. Inherit—Reverts to the same setting as its parent
  2. Save—Saves your new setting (even if the parent setting changes)

It shows the Google Session control settings page in the Google Workspace Admin Console, where administrators can configure session duration and customize session timeouts for different organizational units.

Setting Session Timeout for Mobile Devices and Applications

On Android or iOS devices, session lengths for native mobile apps like Gmail or Google Calendar are not applicable for change as they never expire unless there’s a trigger for re-authentication. Session length is also not implemented on OAuth-authenticated apps or Chrome browsers; it is only applicable when the user is not signed in.

Session Timeouts for SAML-Based Authentication

There are things to consider when setting up session length for Google Workspace if you’re using a third-party provider (IDP) like Okta, Ping, or ADFS. For the session length set in Google Workspace to work as intended, the session length parameter configured in the IdP should expire first before the Google session timeouts. By doing so, your users will be prompted to sign in again to resume the Google session.

Resetting Active Sessions to Enforce Timeout Changes

Active sessions are not impacted right away by the session length changes. It will be applied once the user logs out or the previously set session length expires. To enforce it on active sessions, it is advisable to reset the user’s sign-in cookies. By doing so, it will log out of all active sessions, including native apps on mobile devices such as Gmail.

Reset the user’s sign-in cookies

  1. Search for the user in the Admin console.
  2. Click the user’s display name.
  3. Click the Security tab.

4. Under the Security tab, find Sign in cookies> click Reset and Done to apply the changes.

This screenshot displays the "Sign in cookies" option in the Google Workspace Admin console, with the "Reset" option highlighted for clearing user sign-in cookies and enforcing session timeout changes.

Conclusion

Setting custom session lengths for Google Workspace depends on the company's preference. If you want your users to have a seamless and convenient experience using their account, you can set a longer session timeout or opt for their session never to expire. But if your goal is to limit the account access, then setting up a shorter session timeout is best.

FAQs on Google Workspace Session Timeout Settings

Does it apply to mobile browsers?

It will only work in other mobile browsers such as Safari or Mozilla Firefox. The only time the changes in session length will be applied to the Chrome browser is when the user is not signed in.

Does it apply to mobile apps?

No, it is not applied to native Google Workspace apps such as Gmail. However, the login session will timeout when the user’s password is reset or reset sign-in cookies are applied to the user.

Is the default 14-day session length applicable to both users and admin?

No, the 14-day default session length is applied to users only. Google Workspace Admin has a default session length of one hour.

Can we set the value of the custom session length in Google Workspace?

No, you can only adjust the session length based on the predefined options. Refer to Available session length options

Can other users have shorter session lengths than others?

Yes, add the users for whom you want to have a shorter session length in different organizational units. See: Customize Google Workspace Session Timeout on the selected Organizational Unit

We have a third-party identity provider (IdP) and we set a shorter session length in Google Workspace but the users were not signed out.

Check that the IdP session length is shorter than the session length set in Google Workspace. Otherwise, the Google session will just automatically renew if the third-party IDP session is still valid. See: Session Timeouts for SAML-Based Authentication

Refer to your third-party identity provider (IdP) documentation for steps on how to check or set the  IdP session length, as steps vary between each provider.

Explore More
See more articles from our Hub

Start Securing Your Entire SaaS Lifecycle

Request a demo