How to remove a user account from your Mac
To delete a user account from a Mac, open System Settings, go to General, then select Users & Groups (or Users in newer macOS versions). Click the lock icon to unlock the panel, select the account you want to remove, and click the minus button. You'll be asked what to do with the account's files — you can delete them, keep them in a folder on the desktop, or transfer them to another account. The process takes about two minutes and doesn't require a restart.
You must be logged in as an administrator to delete any account, including other admin accounts. You cannot delete the account you're currently using. If you're trying to remove the only admin account on the Mac, the system will stop you and ask you to create a new admin account first.
Key Takeaways
- Only an administrator can delete a user account, and you cannot delete the account you're logged into right now.
- When you delete an account, macOS asks what to do with that user's files — delete them, save them to the desktop, or move them to another account.
- If you're deleting the only admin account on the Mac, you must create a new admin account before the deletion will go through.
- Deleted accounts cannot be recovered, so make sure you've saved any files you need before confirming the deletion.
Step-by-step: deleting a user account
Open System Settings by clicking the Apple menu in the top-left corner and selecting System Settings. In the sidebar, click General, then scroll down and select Users & Groups (on older macOS versions) or Users (on macOS Sonoma and newer).
Click the lock icon in the bottom-left corner of the window and enter your administrator password. This unlocks the panel so you can make changes. In the list of accounts on the left, click the account you want to delete, then click the minus button below the list. A dialog will appear asking what to do with the account's home folder.
Choose one of three options: "Delete the home folder" removes all files associated with that account permanently; "Keep the home folder" saves the files in a folder called "Deleted Users" on your Mac; or "Don't change the home folder" leaves the files where they are (useful if you're transferring them to another account). Click Delete to confirm.
What happens to files when you delete an account
If you choose to delete the home folder, all documents, photos, downloads, and settings for that user are permanently removed. This cannot be undone, so only choose this option if you're certain you don't need anything from that account.
If you choose to keep the home folder, macOS creates a folder called "Deleted Users" in the main Users directory. You can open this folder later to retrieve any files you need. This is the safest option if you're unsure whether you'll need the account's files later.
If you choose not to change the home folder, the account is removed from the login screen and System Settings, but the original folder stays in the Users directory with the same name. You can still access it by opening Finder and navigating to the Users folder, though you may need to adjust permissions to open files inside.
Deleting an admin account
You can delete an administrator account the same way you delete a standard user account, but only if there's at least one other admin account on the Mac. If you try to delete the only admin account, macOS will show an error message and prevent the deletion.
To work around this, create a new admin account first. Go to Users & Groups, click the lock icon, click the plus button, and set up a new account with Admin privileges. Once that's done, log out and log back in as the new admin, then delete the old admin account using the steps above.
If you can't delete an account
The most common reason deletion fails is that you're not logged in as an administrator. Check System Settings > General > Users & Groups to see whether your account has an "Admin" label next to it. If it doesn't, you'll need to ask someone with admin access to delete the account for you.
Another reason deletion might fail is if the account you're trying to delete is currently in use — for example, if someone else is logged in or if the account is being used for iCloud, Find My Mac, or Family Sharing. Log out of that account completely, disable any services linked to it, and try again.
If you see a message saying you can't delete the only admin account, you must create a new admin account before proceeding. This is a safety feature to prevent you from locking yourself out of the Mac entirely.
Removing managed accounts and parental controls
If the account you're deleting is a managed account (one set up under Family Sharing or parental controls), you may see additional options. You can remove the account from Family Sharing before deletion, or delete it along with its Family Sharing settings. The process is the same — select the account and click the minus button.
If a child's account is linked to an Apple ID managed by Family Sharing, deleting the account from the Mac does not delete the Apple ID itself. The account can still be used to sign in on other devices. To fully remove a managed Apple ID, you'll need to remove it from Family Sharing through iCloud settings on another device or at iCloud.com.
Frequently Asked Questions
Can I recover a deleted user account?
No. Once you confirm deletion, the account and its associated files are permanently removed from your Mac. If you chose to keep the home folder, you can still access those files in the Deleted Users folder, but the account itself cannot be restored. Always make sure you've saved what you need before confirming.
What if I delete an account by mistake?
If you kept the home folder during deletion, you can recover the files from the Deleted Users folder in your Users directory. However, the account itself is gone and cannot be recreated with the same settings. You would need to set up a new account from scratch. If you deleted the home folder, recovery is not possible.
Do I need to back up files before deleting an account?
It's a good idea to back up important files before deleting any account, especially if you're not sure whether you'll need them later. You can copy files to an external drive, cloud storage, or another account on the Mac. When you delete the account, choose "Keep the home folder" as a safety measure.
Will deleting a user account affect other people's files on the Mac?
No. Each user account has its own separate home folder and files. Deleting one account does not affect files, settings, or data belonging to other accounts on the same Mac. Other users can continue using their accounts normally.
Can I delete an account if I forgot the password?
Yes, as long as you're logged in as a different administrator account. You don't need the password for the account you're deleting. However, if you're locked out of all admin accounts, you'll need to use macOS Recovery to reset an admin password before you can delete anything.