The fastest way to delete a file on Mac

To delete a file on your Mac, click it once to select it, then press Command + Delete. The file moves to Trash. If you want to permanently remove it, open Trash from your Dock, right-click the file, and select Empty Trash. Once you empty Trash, the file cannot be recovered through normal means.

You can also delete a file by right-clicking it and choosing Move to Trash from the menu that appears. Both methods do the same thing — they send the file to Trash rather than deleting it immediately. This gives you a chance to change your mind before the file is gone for good.

Key Takeaways

  • Select a file and press Command + Delete to move it to Trash, where it stays until you empty the Trash bin.
  • Right-clicking a file and selecting Move to Trash does the same thing as the keyboard shortcut.
  • Files in Trash can be recovered by dragging them back to your desktop or another folder.
  • Emptying Trash permanently removes files from your Mac, and they cannot be recovered afterward.
  • You can also delete files by selecting them in Finder and pressing the Delete key, though this does not work on all Mac keyboards.

Recovering a file from Trash before it is gone

If you delete a file by mistake, you have time to get it back. Open Trash from your Dock — it looks like a trash can icon. Find the file you want to keep, right-click it, and select Put Back. The file returns to the folder it came from.

If you cannot find the file in Trash, check whether you already emptied it. Once Trash is empty, the file is no longer on your Mac. Some third-party recovery tools claim to restore deleted files, but they are not reliable and may not work depending on how your Mac's storage is set up.

Deleting files from external drives and USB sticks

When you delete a file from an external hard drive or USB stick, it goes to Trash just like a file on your Mac. You can recover it the same way — by opening Trash and selecting Put Back. However, some external drives and USB sticks use different file systems that may not support Trash recovery.

To be safe, check whether the file is still in Trash before you unplug the external drive. If you want to delete a file permanently from an external drive without keeping it in Trash, hold Command + Option while pressing Delete. This skips Trash and removes the file immediately, so use this method only when you are certain you do not need the file.

Deleting multiple files at once

To delete several files together, click the first file, then hold Command and click each additional file you want to delete. All selected files highlight in blue. Once you have selected them all, press Command + Delete or right-click and choose Move to Trash.

You can also select a range of files by clicking the first one, holding Shift, and clicking the last one. This selects everything between them. Then use the same deletion method. All the files move to Trash together, and you can recover any of them individually if you change your mind.

Emptying Trash to free up space

Files in Trash still take up storage space on your Mac until you empty it. To permanently delete everything in Trash, click the Trash icon in your Dock, then look for an Empty button in the top right corner of the window. Click it and confirm that you want to permanently remove the files.

You can also right-click the Trash icon in your Dock and select Empty Trash directly without opening the Trash window. macOS will ask you to confirm before permanently deleting the files. Once you confirm, the files are gone and cannot be recovered.

What happens when you delete a file

When you move a file to Trash, your Mac does not immediately erase the data from the storage drive. Instead, it marks the space as available for new files. The file remains recoverable until your Mac writes new data over that location, which can take days or weeks depending on how much you use your computer.

If you want to make sure a deleted file cannot be recovered, you can use a secure deletion tool. macOS does not include a built-in secure delete feature like some other operating systems, but third-party tools exist for this purpose. For most everyday use, moving files to Trash and then emptying it is sufficient.

Frequently Asked Questions

Can I recover a file after I empty Trash?

Once you empty Trash, the file is no longer visible on your Mac and standard recovery methods will not find it. However, the data may still exist on your storage drive until your Mac overwrites it. Third-party recovery software sometimes works, but results are not may provide.

What is the difference between Delete and Move to Trash?

On Mac, Delete and Move to Trash are the same thing — both send the file to Trash where it stays until you empty it. The file is not permanently removed until you empty the Trash bin. Some older Mac keyboards may not have a dedicated Delete key, in which case Command + Delete is the standard method.

Does deleting a file from my Mac delete it from iCloud?

If your file is stored in iCloud Drive, deleting it from your Mac also removes it from iCloud and any other devices signed into your account. The file goes to iCloud Trash, where it stays for 30 days before being permanently deleted. You can recover it during that time by opening iCloud.com and checking your Trash folder.

How do I delete a file I cannot move to Trash?

If a file will not delete, it may be in use by an open program. Close any programs that might be using the file and try again. If the problem continues, restart your Mac and try deleting it. If a file is locked, right-click it, select Get Info, and uncheck the Locked box before attempting to delete it.