---
schema_version: "1"
id: ef7ee2a3a76e92752925718fb023bd7841f4a892221089c8a0405250edd0a943
title: Delete a File
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/collab_files_deleting.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.collab_files_deleting.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7738e4d0d8f067868992a6bb6acf8ce0bc2c6e95921fbd4ea3d455d78fb6cf00
description: When you delete a file from Salesforce Files, it’s also removed from all locations where it was shared.
products:
  - Experiences
release: "264"
---
# Delete a File

When you delete a file from Salesforce Files, it’s also removed from all locations where it was shared.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Contact Manager</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <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="d33583e84">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d33583e84 ">To delete a file:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d33583e84 ">
              <p>File owner</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Delete Salesforce Files</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d33583e84 ">To delete a file that isn't associated with another file or object:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d33583e84 ">
              <p>File owner </p>
              <p>OR</p>
              <p style="margin-bottom:0;">Modify All Data</p>
            </td>

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

If the file is contained in a library, only the file owner or a user with delete permission in the library can delete the file. The Library Administrator is an example of someone with delete permission in a library.

1. In Lightning Experience, from the App Launcher, open Files.
2. Find the file that you want to delete and open its row-level actions dropdown.
3. Click **Delete** and confirm your changes.
    
    If the file was shared via a link, anyone with the link no longer has access to the file.

You can restore the file and all the shares that were associated with it by removing it from the Recycle Bin.

#### See Also

- [Delete Files and Links from Chatter Feeds](https://help.salesforce.com/s/articleView?id=experience.collab_attachments_del.htm&release=264.0.0&type=5 "Only a file owner can delete files. Users with the “Modify All Data” permission can delete all comments, posts, files, and links.")
- [Remove a File from a Record](https://help.salesforce.com/s/articleView?id=experience.collab_files_remove_from_record.htm&release=264.0.0&type=5 "Remove a file from a single record that the file’s attached to. Unlike deleting a file, removing doesn’t affect the file on other records or posts, and the file remains in Files home. To remove files from records, you must have at least collaborator access on the file.")
- [Who Can See My File?](https://help.salesforce.com/s/articleView?id=experience.collab_files_settings_perms.htm&release=264.0.0&type=5 "Your files in Salesforce can be private to you, privately shared, or visible to your entire company. Learn how to identify a file’s sharing settings and how to change them.")