The three ways to delete on a Mac
On a Mac, you can delete a file or folder in three ways: drag it to the Trash, use the keyboard shortcut Command+Delete, or right-click and select Move to Trash. All three methods move the item to your Trash folder, where it stays until you empty the Trash — at which point the deletion becomes permanent. Until you empty Trash, you can recover anything you deleted by mistake.
The method you choose depends on what you're doing. Dragging works fastest when you can see both the file and the Trash icon. The keyboard shortcut is quickest if your hands are already on the keyboard. Right-clicking is useful when you want to confirm what you're deleting before you commit to it.
Key Takeaways
- Deleting on a Mac moves files to Trash, not permanently off your computer, so you can recover them until you empty the Trash folder.
- Command+Delete is the fastest keyboard method; you can also drag files to the Trash icon in the Dock or right-click and choose Move to Trash.
- To permanently delete a file, you must empty the Trash — either by right-clicking the Trash icon and selecting Empty Trash, or by opening Trash and clicking Empty.
- Shift+Command+Delete empties the Trash without opening it, but this action cannot be undone, so use it only when you are certain.
- Files deleted from an external drive or USB stick may not go to Trash; they are often deleted immediately, so proceed with caution.
Deleting with the keyboard shortcut
The fastest way to delete on a Mac is to select the file or folder and press Command+Delete. This works in Finder, on the Desktop, and in most Mac applications. Select the item by clicking it once, then hold Command and press Delete. The file moves to Trash immediately.
If you need to select multiple files at once, click the first one, then hold Command and click each additional file you want to delete. Once all are selected, press Command+Delete and they all move to Trash together. This is much faster than deleting them one at a time.
Deleting by dragging to the Trash
You can also delete a file by dragging it directly to the Trash icon in the Dock — the folder icon at the bottom right of your screen that looks like a trash can. Click and hold the file, drag it over the Trash icon, and release. The file moves to Trash.
This method works well when you can see both the file and the Dock at the same time. On a Mac with a large screen, or when you have Finder windows arranged side by side, dragging is often faster than using the keyboard. The Trash icon bounces slightly when you drag a file over it, confirming that you can release it there.
Deleting with the right-click menu
Right-click any file or folder and select Move to Trash from the menu that appears. This method is useful when you want to see the name of what you're about to delete before you commit. It also works the same way across all Mac applications, so the action is consistent no matter where you are.
If you right-click and do not see Move to Trash, you may be in an application that does not support this action — some older or specialized programs have their own delete methods. In that case, try the keyboard shortcut Command+Delete instead.
Permanently deleting files by emptying the Trash
Everything you delete stays in the Trash folder until you empty it. To empty the Trash, right-click the Trash icon in the Dock and select Empty Trash. A confirmation window appears asking if you are sure. Click Empty to permanently delete everything in the Trash.
Alternatively, you can open the Trash folder by clicking its icon in the Dock, then click the Empty button in the top right corner of the window. Both methods do the same thing. Once you empty the Trash, the files are gone and cannot be recovered through normal means.
If you want to empty the Trash without seeing a confirmation window, press Shift+Command+Delete. This empties the Trash immediately with no prompt. Use this only when you are absolutely certain you want to delete everything in the Trash, because this action cannot be undone.
Deleting from external drives and USB sticks
When you delete a file from an external hard drive, USB stick, or SD card, it does not go to the Mac Trash. Instead, it is deleted immediately and permanently. This is because external drives have their own file systems that do not connect to your Mac's Trash folder.
Before you delete anything from an external drive, make sure you have a backup or that you no longer need the file. If you accidentally delete something from an external drive, recovery is possible but requires special software and may not work if the drive has been used since the deletion. The safest approach is to copy important files to your Mac first, then delete them from the external drive only after confirming the copy worked.
Recovering files you deleted by mistake
If you deleted a file by mistake and have not yet emptied the Trash, you can recover it. Click the Trash icon in the Dock to open the Trash folder. Find the file you want to keep, right-click it, and select Put Back. The file returns to its original location on your Mac.
If you cannot find the file in the Trash, or if you already emptied the Trash, recovery becomes much harder. Your Mac does not have a built-in recovery tool for permanently deleted files. Third-party recovery software exists, but success depends on whether the space the file occupied has been overwritten by new data. The longer you wait after deletion, the less likely recovery becomes.
Frequently Asked Questions
What is the difference between deleting and moving to Trash?
On a Mac, deleting and moving to Trash are the same action. When you delete a file, it goes to Trash. It stays there until you empty the Trash, at which point it is permanently removed from your computer. Until you empty Trash, you can recover the file.
Can I delete a file that is currently open?
You can try, but most applications will not let you delete a file while it is open in that application. Close the file first, then delete it. If you delete a file that is open in another application, that application may stop working or show an error message.
Why does my Mac say a file is locked when I try to delete it?
A locked file is protected from accidental deletion. To delete a locked file, select it, press Command+I to open Get Info, uncheck the Locked checkbox, and then delete the file. Some system files are locked by the operating system and cannot be unlocked this way.
Does deleting a file free up space on my Mac immediately?
No. When you move a file to Trash, it still takes up space on your hard drive. Only when you empty the Trash does the space become available for new files. If you need to free up space quickly, empty the Trash after deleting files.
What happens if I delete a folder with files inside it?
The entire folder and everything in it move to Trash together. If you empty the Trash, all files in that folder are permanently deleted. If you only want to delete some files in a folder, open the folder first, select the individual files you want to remove, and delete those instead.