---
schema_version: "1"
id: b41f3c7872191bebd86061aba57ae46278c7fa98e77bc68159fddc3f3231d53b
title: Truncate Custom Objects
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/dev_object_trunc.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.dev_object_trunc.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a307bfe51334b5f4581a60c1a138da827c823757e587411e73931060c4a832ce
description: Truncating custom objects allows you to delete all of the object’s records permanently, but preserve the empty object and its metadata.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Truncate Custom Objects

Truncating custom objects allows you to delete all of the object’s records permanently, but preserve the empty object and its metadata.

### 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: Salesforce Classic</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Contact Manager</strong>, <strong>Group</strong>, <strong>Professional</strong>, <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="d23013e85">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d23013e85 ">To truncate custom objects:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d23013e85 ">Customize Application</td>

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

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_important.png)

Important Truncating custom objects causes some irreversible changes to the truncated object and its records. Before truncating, see [Truncating Custom Objects](https://help.salesforce.com/s/articleView?id=platform.dev_object_trunc_overview.htm&release=264.0.0&type=5 "It’s important to understand what truncating an object does before you use it to remove records."). Then, enable it for your organization by entering User Interface in the Quick Find box, selecting **User Interface**, and then selecting the permission.

Truncating custom objects is a way to permanently remove all of the records from a custom object, while keeping the object and its metadata intact for future use. Truncating is useful, for example, if you’ve created a custom object and filled it with test records. When you’re done with the test data, you can truncate the object to purge the test records, but keep the object and put it into production. This is much faster than batch-deleting records and possibly recreating the object.

1. Go to the object management settings for custom objects.
2. Click an object name to go to the object’s detail page, and then click **Truncate**.
3. In the Confirm Custom Object Truncate window, review the warning, then enter the name of the object to truncate in the empty field.
4. Click **Truncate**.

#### See Also

- [Manage Deleted Custom Objects](https://help.salesforce.com/s/articleView?id=platform.dev_managing_deleted_custom_objects.htm&release=264.0.0&type=5 "Deleted custom objects appear in the Deleted Objects list for 15 days. During this time, you can choose to permanently delete the object and its data, or you can undelete them. If you undelete a custom object, some manual cleanup can be required to restore list views and other customizations that use the object.")
- [Find Object Management Settings](https://help.salesforce.com/s/articleView?id=platform.extend_click_find_objectmgmt_parent.htm&release=264.0.0&type=5 "Salesforce lets you personalize your object model with features like custom fields, page layouts, and validation rules. Depending on which experience of Salesforce you have enabled, these customizations are located in different areas of Setup.")