The three ways to delete a file on Mac
You can delete a file on Mac in three ways: drag it to the Trash, right-click and select Move to Trash, or select the file and press Command+Delete. All three methods move the file to the Trash folder, where it stays until you empty the Trash — so nothing is permanently gone until you take that final step.
The drag method is fastest if you can see both the file and your Trash icon (usually in the Dock at the bottom of your screen). The right-click method works anywhere and is useful if dragging feels awkward. The keyboard shortcut Command+Delete is quickest once you remember it, since your hands stay on the keyboard.
Which method you choose depends on what you're doing. If you're cleaning up a folder and deleting several files in a row, the keyboard shortcut saves time. If you're not sure whether you want to delete something, any method works the same way — the file goes to Trash, and you can still change your mind.
Key Takeaways
- Files deleted on Mac go to the Trash folder first, not straight to nothing, so you can recover them if you change your mind.
- You can delete a file by dragging it to the Trash icon, right-clicking and choosing Move to Trash, or selecting it and pressing Command+Delete.
- Emptying the Trash is a separate step — files stay in Trash until you empty it, which is when they actually leave your Mac.
- Shift+Command+Delete empties the Trash automatically, but you cannot undo this action once it starts.
Dragging files to the Trash
Dragging is the most visual method and works well if you can see both the file and the Trash icon at the same time. Click and hold on the file, then drag it down to the Trash icon in your Dock. When the Trash icon highlights, release the mouse or trackpad. The file disappears from its folder and moves to Trash.
This method is easiest when you're working in a Finder window with the Dock visible. If your Dock is hidden, you can still drag to the Trash — move your cursor to the bottom of the screen and the Dock will appear. If you're deleting many files at once, you can select multiple files (click one, then hold Command and click others), then drag the whole group to Trash in one motion.
Right-clicking to delete a file
Right-clicking (or Control+clicking if your mouse has one button) opens a menu with options for the file you selected. Move to Trash appears near the bottom of this menu. Click it, and the file goes to Trash the same way it would if you dragged it.
This method works anywhere — in Finder, on your Desktop, or inside an process. It also works when you cannot easily see the Trash icon, or when your hands are already on the trackpad and dragging feels awkward. The menu also shows other options like Rename, Duplicate, or Get Info, so you can see what else you can do with the file before you delete it.
Using the keyboard shortcut Command+Delete
Select the file by clicking it once, then press Command+Delete (hold Command and press Delete at the same time). The file moves to Trash when ready. This is the fastest method once it becomes habit, because you never have to reach for the mouse or trackpad.
You can select multiple files before using the shortcut — click one file, then hold Command and click others to select them all, then press Command+Delete once. All selected files go to Trash together. This method works in Finder, on the Desktop, and in most Mac applications.
Emptying the Trash to permanently delete files
Files in the Trash stay there until you empty it. To empty the Trash, right-click the Trash icon in your Dock and select Empty Trash. A dialog box appears asking you to confirm — click Empty Trash again, and the files are permanently deleted from your Mac.
You can also open the Trash folder itself (click the Trash icon in your 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 skip the confirmation dialog, you can use Shift+Command+Delete to empty the Trash without asking. This is faster but also riskier — there is no "Are you sure?" step, so make sure you actually want to delete everything in Trash before you use this shortcut.
Recovering a file you deleted by mistake
If you deleted a file and changed your mind, open the Trash folder by clicking its icon in your Dock. Find the file you want to keep, right-click it, and select Put Back. The file returns to the folder it came from. If that folder no longer exists, the file goes to your Downloads folder instead.
This works as long as you have not emptied the Trash. Once you empty the Trash, the file is gone from this recovery method. If you realize you deleted something important after emptying the Trash, you may be able to recover it using Time Machine (Mac's backup system) if you have backups turned on, but that is a separate process.
Deleting files you cannot move to Trash
Occasionally a file will not delete, usually because another program is using it or because you do not have permission to delete it. If you try to delete a file and see an error message, the file is likely open in an process. Close that process first, then try deleting the file again.
If the error says you do not have permission, the file may belong to another user account on your Mac or to the system itself. You can try right-clicking the file, selecting Get Info, and looking for a Sharing & Permissions section at the bottom. Click the lock icon to unlock it (you may need to enter your password), then change the permission next to your username to Read & Write. After that, you should be able to delete the file.
Frequently Asked Questions
Can I recover a file after I empty the Trash?
Not through the Trash folder itself — once you empty it, the file is gone from there. If you have Time Machine backups turned on, you may be able to recover the file by opening Time Machine and browsing to an earlier date when the file still existed. This requires that backups were running before you deleted the file.
What is the difference between deleting and moving to Trash?
Deleting (moving to Trash) is the first step. The file stays on your Mac in the Trash folder until you empty the Trash, which is the second step that actually removes it. You can undo the first step by opening Trash and clicking Put Back, but once you empty the Trash, the file is permanently gone.
Why does my Mac say a file cannot be deleted?
This usually means the file is open in an process, or you do not have permission to delete it. Close any applications that might be using the file, then try again. If the error persists, check the file's permissions in Get Info and make sure your user account has Read & Write access.
Does deleting a file free up space on my Mac?
Moving a file to Trash does not free up space — the file is still on your Mac. You must empty the Trash to actually free up space. Once you empty the Trash, the space the file was using becomes available again.
Can I delete files from an external drive the same way?
Yes, the same methods work for files on external drives, USB drives, and SD cards. The file goes to Trash the same way. When you empty the Trash, files from external drives are permanently deleted from that drive.