What happens when you delete a user account

When you delete a user account on a Mac, the system removes that login and everything associated with it — the home folder, email settings, browser history, documents, photos, and any other files stored in that user's space. The account straightforward ceases to exist. You cannot undo this action once it is complete, so you need to be certain before you start.

The person who deletes the account must be logged in as an administrator. If you are the only person who uses your Mac, you are almost certainly an administrator. If your Mac is shared, only the person who set it up or another administrator can remove accounts.

Key Takeaways

  • Deleting a user account removes the login, the home folder, and all files stored in that account's space permanently.
  • Only an administrator can delete a user account, and you must be logged in as that administrator to do it.
  • Before you delete, back up any files you want to keep, because the deletion cannot be reversed.
  • The steps differ slightly depending on whether your Mac runs Ventura, Sonoma, or an older version of macOS.
  • If you forget a password or cannot log in, you may be able to reset it instead of deleting the account.

Back up files before you delete

Open the Finder and navigate to the user account folder you are about to delete. It will be in /Users and will have the account name as its folder name. Look inside for any documents, photos, downloads, or other files that person might need later.

Copy those files to an external drive, a cloud storage service like iCloud Drive or Google Drive, or another location on your Mac where they will be safe. This step takes a few minutes but saves you from permanent loss. Once the account is deleted, there is no way to recover those files.

Delete the account on macOS Ventura or Sonoma

Click the Apple menu in the top-left corner of your screen and select System Settings. In the sidebar, click General, then click Users & Groups (or Login Items if you do not see Users & Groups when ready).

Find the account you want to delete in the list on the left. Click it once to select it. A delete button (usually a minus sign or trash icon) will appear below the list. Click that button. A dialog box will ask what you want to do with the files in that account's home folder — you can choose to keep them (they will be moved to a shared location) or delete them along with the account. Make your choice and confirm.

Delete the account on macOS Monterey or Big Sur

Click the Apple menu and select System Preferences (not System Settings — the name changed in Ventura). Click Users & Groups. You may need to click the lock icon in the bottom-left corner and enter your administrator password to make changes.

Select the account you want to delete from the list on the left. Click the minus sign button below the list. A dialog will appear asking what to do with the account's files. Choose whether to keep or delete them, then confirm the deletion.

What to do if you cannot delete an account

If the delete button is grayed out or does not appear, the account you are trying to delete may be the only administrator account on the Mac. macOS requires at least one administrator account to exist at all times. If this is the case, you need to create a new administrator account first, then delete the old one.

To create a new administrator account, go back to Users & Groups (or Users & Groups in System Settings), click the lock icon if needed, and click the plus sign button. Fill in the name and password for the new account, make sure the account type is set to Administrator, and click Create User. Once that account exists, you can log out, log back in as the new administrator, and then delete the original account.

If the account is currently logged in (the person is using it right now), you cannot delete it. Log out of that account first, then log in as an administrator account, and try the deletion again.

When to reset a password instead of deleting

If someone has forgotten their password but you want to keep their account and files, you do not need to delete it. An administrator can reset the password without removing the account. In Users & Groups, select the account, click the lock icon to unlock settings, and look for a password reset option. This preserves all the account's files and settings while giving the person a new way to log in.

This is also the right choice if you are unsure whether the person will need access to their files later, or if the account contains documents or photos that belong to someone else.

Frequently Asked Questions

Can I recover files after I delete a user account?

No. Once you confirm the deletion, the files are gone permanently. This is why backing up before you delete is essential. If you chose to keep the files during deletion, they will be moved to a shared folder on your Mac, but the account itself cannot be restored.

What if I delete the account by mistake?

You cannot undo the deletion through the system settings. Your only option is to restore from a Time Machine backup if you have one set up. If you do not have a backup, the account and its files are lost. This is why the system asks you to confirm before deleting.

Do I need to delete the account if someone is moving out or leaving?

Not necessarily. You can straightforward change the password and remove their access to the Mac without deleting the account. This preserves their files in case they need them later. Delete the account only if you are certain the files are no longer needed and you want to free up space.

Will deleting a user account affect my other accounts?

No. Deleting one account does not affect other accounts on the same Mac. Each account is separate, and removing one does not change the settings, files, or login information for any other account.