How to Delete Files on a Mac Featured Image

How to Delete Files on a Mac: 8 Best Ways

Quick tricks to clear Mac files

Written by

Reviewed by

Last updated: December 20, 2024

Expert verified

SVG Image

TL;DR

To delete files on a Mac:

  1. Select the file and press Command ⌘ + Delete to quickly delete it.
  2. Drag the file to the Bin icon in your Dock.
  3. Right-click the file and select Move to Bin from the menu.

Tried and Tested ✅: The methods and steps mentioned in this article have been tried and tested firsthand by Ojash Yadav on his MacBook Pro M3 and rechecked for errors on Hashir’s MacBook Air M2.

Deleting files on a Mac is a straightforward task, but knowing the quickest methods can save you time and hassle. In this guide, you’ll learn simple ways to remove files efficiently, no matter the situation.

Quickest Ways to Delete Files on a Mac

Why You Can Trust MacBook Journal verify badge We always conduct first-hand research and verify every method or solution we present, ensuring you receive reliable and effective advice. Learn more about our process.

Here are the quickest ways to delete files on your Mac:

  1. The quickest way to delete a file on your Mac is to select it and use the Command ⌘ + Delete keyboard shortcut.
  1. You can also remove a file on a Mac by selecting it with your cursor and dragging it to the Bin icon in your Dock.
  1. Alternatively, right-click a file and choose Move to Bin from the context menu.
right click the files and select move to bin

When you remove files on a Mac, they aren’t instantly erased. Instead, they’re shifted to the Bin, lingering there until you clear it. To thoroughly empty the Trash on your Mac:

  1. Right-click the Bin icon and choose Empty Bin.
right click the bin and select empty bin
  1. Alternatively, open the Bin and click the Empty button in the top-right corner.
click the empty button in bin

To permanently remove particular files in the Bin, right-click them and choose Delete Immediately… followed by Delete.

right click the files and select delete immediately

✅ Even if you’re erasing files for good, it’s wise to maintain a Time Machine backup on external storage as a safety net.

How to Delete Files on a Mac

Here are the step-by-step methods to delete different types of files on Mac:

1. Delete Mac Files Without Sending Them to the Bin

To speed up the deletion process, you can bypass the Bin and directly delete a file on your Mac. However, be cautious, as you won’t be able to retrieve the file from the Bin later.

🚨 Once deleted in this manner, the action is irreversible.

After highlighting the file in Finder, follow these steps to skip the Bin and delete the file:

  1. Hold the Option ⌥ key, navigate to File in the menu bar, and click Delete Immediately.
hold option key click file and select delete immediately
  1. Use the Option ⌥ + Command ⌘ + Delete Mac keyboard shortcut.

Regardless of your chosen method, a confirmation popup will appear, ensuring you intend to permanently delete the selected file. Click the Delete button on the pop-up.

click delete on the confirmation pop up

2. How to Delete Multiple Files on Mac

Here’s a step-by-step guide to deleting multiple files on a Mac:

  1. Go to the folder or location where the files you want to delete are stored.
  2. Select multiple files using one of the following methods:
  • Using the Mouse: Hold down the Command ⌘ key and click each file you want to delete.
  • Using the Keyboard: If the files are consecutive, click the first file, hold down the Shift ⇧ key, and click the last file. This will select all files in between.
  • Select All Files: If you want to select all files in a folder, press Command ⌘ + A.
        1. Drag the selected files to the Bin icon in the Dock or press Command ⌘ + Delete.
        1. To permanently delete the files, right-click the Bin icon in the Dock and select Empty Bin.
        right click the bin and select empty bin

        ⚠️ Always double-check the files you’re about to delete to ensure you don’t accidentally remove important documents. Once the Bin is emptied, recovery becomes more challenging.

        3. How to Delete Hidden Files on a Mac

        To find and delete hidden files on your Mac, follow these steps:

        1. Open Finder and click the Macintosh HD folder in the left sidebar.
        click the macintosh hd folder in the finder s left sidebar
        1. Inside the folder, hold down Command ⌘ + Shift ⇧ + . (period) simultaneously.
        1. It will reveal the concealed files. You can select and delete the folders you want.
        hidden files in macintosh hd folder

        You can also perform this in the Applications, Documents, and Desktop folders. After spotting the hidden files, you can delete them like regular files on your Mac.

        4. How to Delete Locked Files on a Mac

        Deleting locked files on a Mac requires a few additional steps compared to regular files. Here’s how to unlock a file via Finder:

        1. Locate the locked file in Finder.
        2. Right-click the file and select Get Info or press Command ⌘ + I.
        right click a file and select get info
        1. In the Get Info window, look for the Locked checkbox under the General section.
        2. Uncheck the Locked box.
        uncheck the locked box in get info window
        1. Now, you can delete the file as you normally would.

        5. How to Find and Delete Large Files on a Mac

        Finding and deleting large files on a Mac can help free up storage space. Here’s a step-by-step guide to help you locate and remove large files on your Mac:

        1. Open System Settings on your Mac.
        click the apple icon and select system settings
        1. Click General and select Storage.
        click general and select storage
        1. Scroll down to Documents and click the small i next to it.
        click the small i next to documents
        1. To view the biggest redundant files on your Mac, use the Large Files tab. (I had no large files on my Mac, so it showed an empty pane).
        large files tab in documents
        1. Alternatively, select File Browser to view the sizes of all files and folders on your device.
        2. To remove a file, select it and hit Delete. This action will erase the file without moving it to the Bin first.
        select a large file and click the delete button

        6. How to Delete iOS Files on a Mac

        Outdated backups from iOS and iPadOS can consume significant storage on your Mac. To locate and remove old iPhone and iPad backups, follow these steps:

        1. Open System Settings on your Mac.
        click the apple icon and select system settings
        1. Click General and select Storage.
        click general and select storage
        1. Scroll down to iOS Files. (Only appears if you have an iOS backup on your Mac).
        2. Identify the iOS or iPadOS backup you wish to remove.
        3. Press Delete.

        ⚠️ Before deleting any files, especially if they are the only copies, ensure you won’t need them in the future or consider backing them up to an external drive or cloud storage.

        7. How to Delete a File in Use

        If you’ve tried to delete a file but received a message that it’s “in use,” here’s what you can do:

        1. If you know which application is using the file, close that application. For instance, if it’s a Word document, close Microsoft Word.
        2. Click the Apple logo in the top-left corner of your screen and select Force Quit.
        click the apple icon and select force quit
        1. Choose the application that might be using the file.
        2. Click Force Quit again.
        force quit any processes that are causing problems
        1. Click the Force Quit button on the confirmation dialog box to confirm that you want to force quit the app.
        uconfirm by clicking force quit
        1. Sometimes, simply restarting your computer can free up the file.
        click the apple icon and select restart
        1. Now, try deleting the file again.

        🚨 Force quitting applications can affect unsaved work, so proceed with caution. Always ensure you’ve saved any important data before taking these actions.

        8. How to Delete Mac Files via Terminal

        To delete files on your Mac via Terminal, follow these steps:

        ⚠️ Terminal is powerful, and a misstep can result in significant issues. Tread with caution.

        1. Open Terminal on your Mac by searching for it in Spotlight search.
        type terminal in spotlight search
        1. Type the following command, making sure there’s a space after the R, but don’t press Enter:
        sudo rm -R 
        type sudo rm r in terminal
        1. Instead of pressing Enter, click the Bin to open it.
        click trash bin in dock
        1. Drag the files from the Bin onto the Terminal window and press Enter.
        drag a file from the bin onto the terminal window
        1. Enter your administrator password, and the file will be deleted from your Bin.

        Delete Unnecessary Files on Your Mac

        Deleting files on a Mac is simple with various methods like Finder, Terminal, or specialized tools. Pick the one that works best for you!

        Here are a few more tips to maintain a clutter-free Mac:

        Frequently Asked Questions

        Which is the delete key on a Mac?

        On a Mac, the Delete key is labeled as Delete or and functions like the Backspace key on Windows. For forward delete, Mac users can press Fn + Delete or use the key on a full keyboard. Familiarizing yourself with these keys enhances your Mac typing experience.

        How do you delete files and folders on a Mac?

        To delete files and folders on a Mac, select the desired items in Finder, then press Command ⌘ + Delete. This moves them to the Bin. To permanently remove, right-click the Bin icon and choose Empty Bin. Always back up important data before deletion.

        Why won’t my files delete on my Mac?

        Files on a Mac might resist deletion due to being in use, permissions issues, or system errors. Ensure the file isn’t open in any application. If the issue persists, try using Terminal commands or check the file’s permissions in Finder. Always back up important data before making changes.

        Ojash

        Author

        Hi there! I'm Ojash, a tech journalist with over a decade of experience in the industry. I've had the privilege of contributing to some of the world's largest tech publications, making my mark as a respected Mac expert. My passion lies in exploring, using, and writing about MacBooks, and I enjoy sharing my expertise to help others make informed decisions and get the most out of their MacBook experience. Join me as we delve into the fascinating world of MacBooks together!

        Hashir Ibrahim

        Reviewer

        Hello! I'm Hashir, a seasoned tech journalist with a unique blend of academic expertise and hands-on experience. With a bachelor's in IT, a master's in cybersecurity, and over a decade in the industry, I've built a reputation for demystifying complex Apple hardware. My work has been featured in top tech outlets like MakeUseOf and MakeTechEasier. As the senior writer at MacBook Journal, I write guides that help you solve any issues you have with your mac.

        Total
        0
        Shares
        You May Also Like