---
schema_version: "1"
id: ee1f883a9ab12f094e01ad4143daa1b50a6adc27b481a987ab695b96aefa36da
title: View and Edit Login Hours in Profiles
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/login_hours.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.login_hours.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b1494a6f06cbace12f85dc997a441d3f9a80314eb9d2c53e32ef8412a800dd66
description: Specify the hours when users can log in based on the user profile.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# View and Edit Login Hours in Profiles

Specify the hours when users can log in based on the user profile.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Database.com</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d69020e75">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d69020e75 ">To set login hours:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d69020e75 ">Manage Profiles and Permission Sets</td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Profiles, and then select **Profiles**.
2. Select a profile.
3. 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**.
4. 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.
5. Click **Save**.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/images/icon_note.png)

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.

#### See Also

- [Configure Default Settings in Profiles](https://help.salesforce.com/s/articleView?id=platform.users_profiles_using_enhanced_ui.htm&release=264.0.0&type=5 "Configure assigned apps, record types, page layouts, and other default settings in profiles so that assigned users can see the data and apps required to complete their work.")