How to remove a user account from your Mac

To delete a user account on your Mac, open System Settings, go to General, then select Users & Groups (or Users in newer macOS versions). Click the lock icon to unlock the settings, select the account you want to remove, and click the minus button. You'll choose whether to keep or delete the account's files. The process takes a few minutes and requires your admin password.

The steps differ slightly depending on your macOS version, but the basic path is the same on all recent Macs. You need an administrator account to delete any user account, including standard accounts and guest accounts.

Key Takeaways

  • You must be logged in with an administrator account to delete any user account on your Mac.
  • When you delete an account, you can choose to keep the user's files in a folder or delete them permanently.
  • Deleting a user account does not affect other accounts on the same Mac.
  • If you delete the only administrator account, you'll need to use Recovery Mode to create a new one.

Steps to delete a user account on macOS Sonoma and newer

Open System Settings and click General in the sidebar. Select Users & Groups from the list on the right. You'll see all accounts currently on your Mac listed under "Other Users" or at the top of the window.

Click the lock icon in the bottom left corner and enter your administrator password. This unlocks the settings so you can make changes. Select the account you want to delete by clicking it once. A minus button will appear below the list — click it to remove the account.

A dialog box will ask what you want to do with the account's files. Choose "Delete the home folder" if you want to remove everything associated with that account, or "Keep the home folder" if you want to save the user's documents, downloads, and other files. Click Delete to confirm.

Steps to delete a user account on older macOS versions

On macOS Ventura and earlier, the path is slightly different. Open System Preferences (not System Settings), then click Users & Groups. You may need to click the lock icon and enter your password first.

Select the account you want to remove from the list on the left side. Click the minus button at the bottom of the list. The same dialog will appear asking whether to delete or keep the home folder. Make your choice and click Delete.

What happens to the user's files

When you delete an account, you have two options. If you click "Delete the home folder," all of that user's files — including documents, photos, downloads, desktop items, and application preferences — are permanently removed from your Mac. This action cannot be undone.

If you click "Keep the home folder," a folder named after the deleted account will remain in the Users directory on your Mac. You can access these files later if needed, though they won't be associated with any active user account. This folder takes up storage space until you manually delete it.

Deleting the only administrator account

If your Mac has only one administrator account and you delete it, you won't be able to make system changes or create new accounts. You'll need to restart your Mac in Recovery Mode to create a new administrator account.

To do this, restart your Mac and hold Command + R immediately after you hear the startup sound. Wait for Recovery Mode to load, then open Utilities from the menu bar and select Terminal. Type resetpassword and press Enter. This opens the password reset tool, which lets you create a new administrator account. After you've created the new account, you can log out of Recovery Mode and use your Mac normally.

Removing a guest account

Guest accounts work differently from standard user accounts. To disable the guest account, go to System Settings or System Preferences, open Users & Groups, and look for "Guest User" in the list. Click the lock icon to unlock settings, select Guest User, and uncheck the box that says "Allow guests to log in to this computer."

Unchecking this box disables the guest account without deleting it. If you want to remove any files the guest account created, you can select it and click the minus button to delete it entirely, following the same process as removing a standard account.

Troubleshooting account deletion problems

If the minus button is grayed out and you can't click it, you're probably not logged in with an administrator account. Log out and sign in with an account that has admin privileges, then try again.

If you see a message saying the account is in use, that account is currently logged in or has open processes running. Log out of that account completely, or restart your Mac and immediately go back to System Settings before logging into any other account. If the account still won't delete, restart your Mac in Safe Mode by holding Shift during startup, then try deleting the account again.

Frequently Asked Questions

Can I delete my own account while I'm logged into it?

No. You must be logged in with a different administrator account to delete any user account, including your own. If you want to remove your account, log in as another admin user first, then delete your account from System Settings.

What if I deleted an account by mistake and want the files back?

If you chose "Delete the home folder," the files are permanently removed and cannot be recovered through normal means. If you chose "Keep the home folder," the files remain in a folder on your Mac and you can still access them. Check your Users directory for a folder with the deleted account's name.

Does deleting a user account affect other people's files on the same Mac?

No. Each user account has its own separate home folder and files. Deleting one account does not touch any files belonging to other accounts on the same Mac.

Can I delete an account if it's the only one on my Mac?

Technically yes, but you shouldn't. If you delete your only account, you won't be able to use your Mac. You would need to use Recovery Mode to create a new administrator account before you could use the computer again.