The basic way to delete something on a Mac

To delete a file or folder on a Mac, click it once to select it, then press Command+Delete. The item moves to the Trash, where it stays until you empty the Trash — so you can recover it if you change your mind. If you prefer using the mouse, right-click the file and select "Move to Trash" from the menu that appears.

The Trash on a Mac works like a safety net. Deleted files sit there taking up space on your drive until you permanently remove them by emptying the Trash. You can open the Trash by clicking its icon in the Dock (usually at the bottom right of your screen) and dragging files back out if you need them.

One common mistake: pressing Delete on a Mac keyboard does not delete anything — it acts like Backspace on a Windows machine. You must use Command+Delete to send something to Trash.

Key Takeaways

  • Press Command+Delete to move a file to Trash, or right-click and choose "Move to Trash" from the menu.
  • Files in Trash are not permanently gone until you empty the Trash, which you can do by right-clicking the Trash icon and selecting "Empty Trash".
  • To delete a file that is currently open in an app, close the app first or use the app's own delete or save-as function to avoid errors.
  • If a file will not delete, it may be locked or in use by another program — check the file's Get Info panel to see if it is locked, and close any apps using it.

Deleting files that are open or in use

If you try to delete a file that is currently open in an app, the Mac may refuse or the app may crash. The safest approach is to close the app first, then delete the file. If you are deleting a document you have been working on, save your changes or discard them through the app's File menu before you delete.

Some files are locked by the system or by another app running in the background. If you select a file and Command+Delete does nothing, right-click the file and choose "Get Info." Look for a checkbox labeled "Locked" near the bottom of the window. If it is checked, uncheck it and try deleting again.

Permanently deleting files without using Trash

If you want to skip the Trash entirely and delete something permanently right away, select the file and press Command+Option+Delete. This removes it directly without moving it to Trash first. Use this only when you are certain you will not need the file again.

Be aware that even permanently deleted files can sometimes be recovered using data recovery software, though this requires technical tools and is not something most people can do themselves. If you are deleting sensitive information and want to make recovery harder, you can use the Secure Empty Trash feature — hold Option while right-clicking the Trash icon and select "Empty Trash Securely" if that option appears (it is not available on all Mac models).

Deleting folders and everything inside them

When you delete a folder on a Mac, everything inside it goes to Trash as well. You do not need to empty the folder first. Select the folder, press Command+Delete, and the entire folder and its contents move to Trash together.

If a folder will not delete, one of the files inside it may be locked or in use. Try opening the folder, selecting all files inside (Command+A), and checking their Get Info panels for locks. Alternatively, restart your Mac and try again — this closes any background apps that might be holding onto files.

Recovering deleted files from Trash

To get a file back after you have deleted it, open the Trash by clicking its icon in the Dock. Find the file you want to recover, right-click it, and select "Put Back." The file returns to the folder it came from. If you do not see "Put Back," simply drag the file out of Trash to your Desktop or another folder.

Files stay in Trash indefinitely until you empty it, so you can recover them weeks or months later if needed. However, once you empty the Trash, recovery becomes much harder. Before you empty the Trash, take a moment to look through it and make sure nothing important is there.

Emptying the Trash to free up space

To permanently delete everything in Trash and free up the space it was using, click the Trash icon in the Dock, then right-click anywhere in the Trash window and select "Empty Trash." A confirmation dialog appears — click "Empty Trash" again to confirm. This action cannot be undone through normal Mac functions.

You can also empty Trash from the Finder menu: click Finder in the top menu bar, then select "Empty Trash." On newer Macs, you may see an option to "Empty Trash Securely," which overwrites the deleted data to make recovery harder, though this takes longer.

Deleting apps and their files

Deleting an app on a Mac is different from deleting a regular file. Most apps can be removed by dragging them from the Applications folder to Trash, but this often leaves behind support files and settings stored elsewhere on your drive. To fully remove an app and its associated files, you can use the app's own uninstall option if it has one, or use a third-party uninstaller app.

To delete an app the basic way, open Finder, click Applications in the sidebar, find the app, and drag it to Trash. Some apps come with an uninstaller — look in the Applications folder for an "Uninstall [App Name]" file and run that instead. This removes the app and its settings more completely than dragging alone.

Frequently Asked Questions

Can I recover a file after I empty the Trash?

Recovery is possible but difficult after Trash is emptied. You would need to use data recovery software, which is technical and not something most people can do themselves. The best approach is to check Trash before emptying it and make sure nothing important is there.

Why does my Mac say a file is in use when I try to delete it?

A file is in use when an app has it open or is accessing it. Close the app completely and try again. If the problem persists, restart your Mac — this closes all background processes that might be holding the file. After restart, the file should delete normally.

What is the difference between Command+Delete and Command+Option+Delete?

Command+Delete moves a file to Trash, where you can recover it. Command+Option+Delete permanently deletes it without using Trash. Use Command+Option+Delete only when you are certain you will not need the file again.

Does deleting a file from an external drive work the same way?

Yes, the same commands work. Files deleted from an external drive go to Trash just like files on your main drive. They stay in Trash until you empty it, and you can recover them the same way.

How do I delete a file if the app that created it will not let me?

Close the app completely, then delete the file from Finder using Command+Delete. If the file is still locked, right-click it, select Get Info, and uncheck the Locked box. If it is still stuck, restart your Mac and try again.