Manage session duration

For added security, you can set up session duration to limit how long your members are signed in to Slack. 

How it works

  • When you set up session duration, you can choose to have members sign back in whenever they close Slack or after a certain time period.
  • To minimise disruption, you can warn your members before their sessions expire and give them the option to re-authenticate at that time. Members will be warned two hours before session expiration with a final reminder 15 minutes before they’re signed out.
  • Changes to session duration take effect on the day that you make them and will end member sessions randomly over the timeframe that you’ve selected. For example, if you set a session duration for seven days, session expirations will begin that day and continue gradually over the next seven days until all members have been signed out.

Note: On the Pro and Business+ subscriptions, session duration only applies to the Slack desktop app and browser. On Enterprise Grid, session duration can also apply to the Slack mobile apps.


Set up session duration

Pro and Business+ subscriptions

Enterprise Grid subscription

  1. From your desktop, click your workspace name in the sidebar.
  2. Hover over Tools & settings, then click on Workspace settings.
  3. Click Authentication.
  4. Next to Session Duration, click on Expand.
  5. Choose to sign members out whenever they close Slack or after a set period of time.
  6. If you’d like, choose to warn members when they’ll be signed out.
  7. Click on Save.
  1. From your desktop, click your organisation name in the sidebar.
  2. Hover over Tools & settings, then click Organisation settings.
  3. Click on  Security in the left column, then select Security Settings.
  4. Next to Session duration, click Enable.
  5. Tick the box next to Sign users out on desktop or Sign users out on mobile.
  6. Choose to sign members out whenever they close Slack or after a set period of time.
  7. If you’d like, choose to warn members when they’ll be signed out.
  8. Click on Save.

Tip: Use the session duration API to customise the session duration for a subset of members to be shorter or longer than your org-level session duration.

Who can use this feature?

Related articles

Recently viewed articles