You are here:
View and Edit Login Hours in Profiles
Specify the hours when users can log in based on the user profile.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions |
| User Permissions Needed | |
|---|---|
| To set login hours: | Manage Profiles and Permission Sets |
- From Setup, in the Quick Find box, enter Profiles, and then select Profiles.
- Select a profile.
-
Depending on which user interface you're using, do one of the following:
- In the enhanced profile user interface, click Login Hours, and then click Edit.
- In the original profile user interface, scroll down to the Login Hours related list, and then click Edit.
-
Set the days and hours when users with this profile can log in to the org.
To let users log in at any time, click Clear all times. To prohibit users from logging in on a specific day, set Start Time to 12 AM and End Time to 12 AM.
If users are logged in when their login hours end, they can continue to view their current page, but they can’t take any further action.
- Click Save.
Note The first time login hours are set for a profile, the hours are based on the org’s default
time zone as specified on the Company Information page in Setup. After that, changes to the
org’s default time zone on the Company Information page don’t affect the time zone for the
profile’s login hours. The profile login hours remain the same, even when a user is in a
different time zone or the org’s default time zone changes.
Depending on whether you’re viewing or editing login hours, the hours appear differently. On the profile detail page, hours appear in your specified time zone. On the Login Hours edit page, the hours appear in the org’s default time zone.
Did this article solve your issue?
Let us know so we can improve!

