Delete a user or group
If you’re an administrator, you can delete users that you no longer want to have access to your Mac. You can also delete groups you don’t want.
When you delete a user, you can save the user’s home folder, which contains the user’s files and settings, or delete it. A sharing-only user doesn’t have a home folder.
Choose Apple menu > System Preferences, then click Users & Groups.
Click the lock icon to unlock it, then enter an administrator name and password.
Select the user or group you want to delete, then click the Remove button below the list of users.
If other users are logged in to this Mac now, you can’t select them.
Do one of the following:
Save the home folder as a disk image: Select “Save the home folder in a disk image.” This archives all the user’s documents and information so the user can be restored later if needed. The disk image is saved in /Users/Deleted Users/.
Leave the user’s home folder as is: Select “Don’t change the home folder.” The user’s documents and information remain and the user can be restored later if needed. The home folder remains in /Users/.
Remove the user’s home folder from the computer: Select “Delete the home folder.” The user information is deleted and the storage space is freed.
Delete a sharing-only user or a group: Click OK.
Click Delete User.
If you don’t delete a user’s home folder, you can restore the user and the contents of the home folder.