---
schema_version: "1"
id: 9eb99aee78d1bd6e9faec3afbaaba4bf795bfae12270837ad4416096c2e39126
title: Add the Close Case Button to Lightning Experience
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/cases_add_close_cases_button_to_lightning_experience.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.cases_add_close_cases_button_to_lightning_experience.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bee9677e8ad4a965edb7d25ec0a82751f87b31f7d4084a3605dff429df590c3c
description: Make the process of closing cases easier for your service reps and save time by adding the Close Case button to the case details page. This way, your service reps can close the case directly from the case details page.
products:
  - Service Cloud
release: "264"
---
# Add the Close Case Button to Lightning Experience

Make the process of closing cases easier for your service reps and save time by adding the Close Case button to the case details page. This way, your service reps can close the case directly from the case details page.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=service.service_editions_reference.htm&amp;language=en_US" target="_blank">View supported editions</a>.</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="d148527e59">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d148527e59 ">To set up cases for Lightning Experience:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d148527e59 ">
              <p>Manage Cases</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Customize Application</p>
            </td>

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

If you're a new customer, the Close Case button is enabled by default and will be visible on the case details page. If you’re an existing customer, perfomr the following steps.

1. Go to **Setup** and select **Object Manager**.
2. In **Object Manager**, search for **Case Page Layouts** and select it.
3. From **Mobile and Lightning Actions**, drag the **Close Case** button into the **Salesforce Mobile and Lightning Experience Actions section**. Select **Save**.
4. You can configure whether the Close Case button appears on the Case Details page directly or in the dropdown menu on the Case Details page.
5. After you select the Close Case button, it opens the Close Case page. You can configure the fields that are displayed in the Close Case page.
6. To configure the fields, go to **Setup** and select **Object Manager**.
7. In **Object Manager**, search for **Buttons, Links, and Actions**.
8. Select **Close Case** with the API name **CloseCaseLightning** and select **Edit**.
9. Choose the fields you need and select **Save**.The selected fields will be available on the Close Case page.
10. The fields **Status**, **Case**, and **Reason** are available by default. In the Status field, only options related to closing a case are listed.

## Customize Close Case Actions by Record Type

You can create close case actions for different record types.

1. In Setup, in the Object Manager search for Case and select **Case**.
2. In Case select **Buttons, Links, and Actions**, and select **New Action**.
3. In the New Action window, in Action Type select **Update a Record**.
4. In Standard Label Type select **Close Case**.
5. In Name, use the prefix CloseCaseLightning. Select **Save**.
6. Add the close case action to the required record type or layout.

![Creating a new close case quick action.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/cases/cases_new_close_case_action.png)![The newly created close case quick action button.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/cases/cases_multiple_close_case_actions.png)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/images/icon_note.png)

Note

- The Close Case page layout is different in Salesforce Classic and Lightning Experience. Salesforce Classic uses the Close Case Page Layout which is the standard layout. Lightning Experience uses the Quick Actions Page Layout.
- Lightning Experience doesn't support notifying the case contact via email after the case is closed.
- In Lightning Experience, the API name of the Close Case action is CloseCaseLightning and it is editable. If you change the API name to anything other than CloseCaseLightning, the Close Case action will become a custom quick action. The Close Case page will show all the picklist values.
- In Lighting Experience, you can delete the Close Case action. You can re-create it by creating a new custom action with the API name CloseCaseLightning.
- In Salesforce Classic, the Close Case quick action is not supported. It's available in the Quick Actions Page Layout, but it isn't recommended.
- The Related Record component doesn’t support the Close Case quick action.
- Similar to the standard Close Case action, all Close Case quick actions appear in the highlights panel.
- Using CloseCaseLighting API name for a close case action will override picklist values. The picklist will show only the close behavior statuses.