> ## Content Index
> Fetch the complete content index at: https://macfixly.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Delete a User Account on Mac: A Clear Step-by-Step Guide
- URL: https://macfixly.com/delete-user-account-mac/
- Published: 2026-10-13T05:53:00.000Z
- Updated: 2026-10-13T05:53:00.000Z
- Description: Discover the safest way to delete a user account on Mac to avoid data loss and manage your system efficiently.
- Author: Macuser
- Tags: Mac, User Accounts, MacOS, Tech Guides

You've decided it's time to remove an unused user account from your Mac, either to free up space or enhance security. Whether it's an old guest account or a former colleague's profile, knowing the right steps is crucial to avoid accidental data loss or permission issues.

This article explains how to delete a user account on Mac safely and deliberately. It covers preparing for the deletion by backing up important data, understanding the implications of deleting different account types, and guiding you through System Settings and Terminal methods. You'll also learn how to handle cases when a user is logged in or you lack the password, plus what happens to the user data afterward.

## Key takeaways

- Back up user data before deletion to prevent permanent loss.
- Deleting an administrator account requires logging in as another admin.
- Use System Settings for a straightforward, GUI-based deletion process.
- Terminal commands offer more control but require caution.
- Deleting a user permanently removes their home folder unless you choose to save it.

## Before you start: What you need to know and prepare

Deleting a user account on your Mac requires careful preparation to avoid data loss or unintended consequences. First, you must have administrator access because only administrators can remove user accounts. Without this, the deletion option will not be available.

Understand the types of accounts on your Mac: **administrator accounts** have full control over system settings and can add or delete users; **standard accounts** can use apps and change settings but cannot manage other accounts; and **guest accounts** provide temporary access without saving data between sessions. Deleting a guest account is uncommon since it resets automatically.

Backing up important data is essential. If you delete an account without saving its files, you risk losing documents, photos, and app data permanently. For example, deleting a standard user account that contains unique work files without backup can result in irreversible data loss.

Before deletion, check if the account is currently logged in or active. You cannot delete an account that is in use. Make sure the user has signed out or the Mac is restarted to a different account. This prevents errors during the deletion process.

1. Confirm you are logged in with an administrator account. You should see *Users & Groups* enabled in System Settings.
2. Identify the user account you want to delete and verify it is not logged in. No active session or open files should exist for that user.
3. Back up the user’s home folder or important files to an external drive or cloud storage to safeguard against accidental loss.

## How to delete account on Mac using System Settings

1. Open **System Settings** from the Apple menu. You should see a sidebar with various categories.
2. Navigate to **Users & Groups** or **Users & Accounts**, depending on your macOS version. The list of user accounts on your Mac will appear.
3. Click the **lock icon** at the bottom left of the window to allow changes. Enter your administrator password when prompted. Once unlocked, controls to manage accounts become available.
4. Select the user account you want to delete from the list. Be sure this is not your current administrator account or one still logged in.
5. Click the **minus (-) button** below the list to initiate account deletion. A dialog will appear with options on how to handle the user’s home folder:

| Option                               | Effect                                                                                                            |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| Save the home folder in a disk image | Saves user data in a compressed image in the Deleted Users folder. Allows recovery later but uses disk space.     |
| Don’t change the home folder         | Keeps the user’s home folder as-is in the /Users directory. Data remains but won’t be associated with an account. |
| Delete the home folder               | Permanently removes all user data associated with the account. This frees space but results in data loss.         |

1. Choose the option that fits your needs, then click **Delete User**. The system will ask for confirmation.
2. Wait while the Mac processes the deletion. The time varies depending on the size of the user’s data and the option chosen.
3. Once complete, the user account will no longer appear in the Users & Groups list, and the home folder will be handled as selected.

## How to delete a user from MacBook via Terminal commands

Using Terminal to delete a user account on your MacBook offers a powerful alternative for advanced users who prefer command-line control. This method requires administrator privileges and caution, as improper commands can affect system stability.

![How to delete a user from MacBook via Terminal commands – how to delete a user account on Mac](https://macfixly.com/content/images/2026/10/delete-user-account-mac-2.webp)

1. Open Terminal from Applications > Utilities. You should see a prompt ready for input.
2. Gain administrator privileges by typing **sudo -s** and entering your administrator password when prompted. A successful command will change your prompt to indicate root access, usually ending with a # symbol.
3. List all user accounts by entering **dscl. list /Users**. This displays a list of existing users, helping you identify the exact username you want to delete.
4. Delete the target user by executing **dscl. delete /Users/username**, replacing *username* with the actual account name. No output means the command succeeded silently.
5. Check if the user's home directory still exists by navigating to **/Users/** and looking for the folder named after the deleted user.
6. If the home directory remains and you want to remove it, use **rm -rf /Users/username**. This command permanently deletes the folder and all contents, so verify carefully before executing.

Terminal deletion bypasses the safeguards of System Settings, so mistakes can cause data loss or system issues. Only use this method if you are comfortable with command-line operations and understand the risks involved.

## How to remove account from Mac when the user is logged in or password is unknown

You cannot delete a user account that is currently logged in. If you try, macOS will display an error such as "Cannot delete logged-in user". To proceed, you must first log out of the user or restart the Mac and sign in with a different administrator account.

If you have forgotten the administrator password needed to delete accounts, you can reset it by restarting in Recovery mode. Hold Command (⌘) + R during startup to access macOS Utilities, then use the Terminal from the Utilities menu and enter *resetpassword* to reset the admin password. Afterward, restart normally and log in with the new password to delete the account.

Guest accounts cannot be deleted because macOS treats them as temporary sessions without saved data. Instead, you can disable the Guest User by going to System Settings > Users & Groups and unchecking "Allow guests to log in to this computer." This prevents guest access without removing the account.

FileVault encryption adds complexity when deleting accounts. If the account's home folder is encrypted, you may be prompted to enter the user’s password to decrypt the data before deletion. Without the password, macOS will prevent removal to avoid data loss.

1. Restart your Mac and log in with an administrator account different from the one you want to delete. You should see the desktop of the admin account.
2. If you do not know the admin password, restart holding Command + R to enter Recovery mode. From the Utilities menu, open Terminal and type **resetpassword**. Follow prompts to reset the password, then restart and log in.
3. Open System Settings > Users & Groups. Select the user account to delete. If the account is still logged in, you will not be able to select it.
4. If the user’s home folder is encrypted with FileVault, enter the password when prompted to allow deletion.
5. If deleting a [Guest User](https://macfixly.com/set-up-guest-user-mac/), note that you cannot remove it; instead, uncheck "Allow guests to log in" to disable it.

## How to delete a user account on MacBook Pro or MacBook Air: Any differences?

Deleting user accounts on MacBook Pro and MacBook Air follows the same procedures as on other Mac models, including Mac desktops. Both devices use macOS, and the steps through System Settings or Terminal commands remain consistent across these platforms.

However, minor user interface differences can appear depending on your macOS version. For example, the name "System Preferences" changed to "System Settings" starting with macOS Ventura. The location of the "Users & Groups" pane might also shift slightly between versions, but the core functionality is unchanged.

Below is a comparison table highlighting key UI differences in recent macOS versions related to user account deletion:

| macOS Version              | Settings App Name  | Users & Groups Location                       | Delete User Option                           |
| -------------------------- | ------------------ | --------------------------------------------- | -------------------------------------------- |
| macOS Monterey and earlier | System Preferences | Located directly in System Preferences        | Minus (-) button at bottom left of user list |
| macOS Ventura and later    | System Settings    | Found under sidebar category "Users & Groups" | Minus (-) button appears when user selected  |

When deleting a user account, always verify your macOS version by clicking the Apple menu and choosing "About This Mac." This ensures you follow the most accurate instructions for your system.

In summary, the process and options for deleting user accounts are uniform across MacBook Pro, MacBook Air, and desktop Macs, with only small UI changes across macOS versions to keep in mind.

## What happens to user data after deleting a user account on Mac

When deleting a user account on your Mac, you have three main options for handling the user’s home folder: save it as a disk image, leave it untouched, or delete it permanently. Choosing to save the home folder as a disk image creates a compressed archive stored in the /Users/Deleted Users folder, which can take up approximately 70-80% of the original folder’s size, depending on file types. This option preserves the user’s data for future recovery or transfer but requires additional storage space.

![What happens to user data after deleting a user account on Mac – how to delete a user account on Mac](https://macfixly.com/content/images/2026/10/delete-user-account-mac-3.webp)

Leaving the home folder untouched keeps all user files in place without compression or archiving. This method allows immediate access to the data if needed but uses the same amount of disk space as before, potentially limiting free space on your Mac.

Deleting the home folder permanently removes all associated data, freeing up storage immediately. However, this action is irreversible without specialized third-party recovery software, and even then, success depends on how the storage sectors have been overwritten since deletion.

To manually back up user data before deletion, you can copy the entire home folder to an external drive or cloud storage. This ensures you retain a separate copy independent of macOS’s deletion options.

1. Open Finder and navigate to the /Users folder to locate the user’s home folder. You should see the expected user data folders like Documents and Desktop.
2. Copy the entire home folder to an external drive by dragging it; once the copy finishes, verify the file size matches the original.
3. Delete the user account using System Settings, choosing whether to save as a disk image or delete the folder permanently.
4. If you saved the home folder as a disk image, check the /Users/Deleted Users folder for a.dmg file named after the deleted user. This confirms the archive was created successfully.
5. After deletion, monitor your available disk space in About This Mac > Storage to confirm the expected change based on your chosen option.

## Troubleshooting common issues when deleting a user account on Mac

If the option to delete a user account is greyed out or unavailable, ensure you are logged in with an administrator account. Standard users cannot delete accounts. Additionally, some built-in accounts like the Guest user cannot be removed but only disabled.

Error messages such as "You do not have permission to delete this user" or "System Integrity Protection prevents this action" indicate permission restrictions or macOS security features blocking the deletion. To resolve this, confirm that System Integrity Protection (SIP) is enabled only if necessary; disabling SIP temporarily via Recovery mode allows advanced users to proceed but carries risks and should be done cautiously.

Accounts linked to Microsoft Exchange, Google, or other external services may not delete cleanly if synchronization is active. Before deleting, remove account connections in System Settings under "Internet Accounts" to prevent sync conflicts.

Rebooting your Mac or starting in Safe Mode can resolve temporary glitches affecting account deletion. Safe Mode disables third-party extensions and clears caches, often restoring system functions. To enter Safe Mode, restart your Mac and hold the Shift key until the login window appears.

Follow these steps if you encounter issues:

1. Confirm you are logged in as an administrator; go to System Settings > Users & Groups and verify your account type.
2. Check if the user account is currently logged in or running processes; log out the user or restart the Mac.
3. Remove any linked external accounts under System Settings > Internet Accounts to avoid sync conflicts.
4. Restart your Mac in Safe Mode by holding Shift during startup; attempt account deletion again.
5. If permission errors persist, consider booting into Recovery mode and use Terminal commands to disable SIP temporarily: enter **csrutil disable**, reboot, delete the account, then re-enable SIP with **csrutil enable**.
6. Refer to Apple's official support pages on account management and SIP for detailed instructions and safety precautions.

## More on this topic

- [How to Change the Login Screen Wallpaper on Your Mac: A Practical Guide](https://macfixly.com/change-login-screen-wallpaper-mac/)
- [How to Set and Customize a Screen Saver on Your Mac](https://macfixly.com/set-screen-saver-mac/)

## Frequently asked questions

### How to delete account on macbook?

To delete an account on your MacBook, open System Settings and go to Users & Groups. Select the user you want to remove, then click the minus (–) button below the user list. You will be prompted to choose whether to save or delete the user’s home folder before confirming the removal.

### How to delete a user on mac?

Deleting a user on Mac involves accessing System Settings › Users & Groups, unlocking with an administrator password, selecting the target user, and clicking the minus (–) button. You must decide if you want to save the user’s data or delete it permanently during this process.

### How to remove a user on macbook?

Removing a user on a MacBook requires an administrator account. Navigate to System Settings › Users & Groups, select the user to be removed, and click the minus (–) icon. Confirm the deletion and choose how to handle the user’s data, such as saving to a disk image or deleting immediately.

### How to remove user from mac?

To remove a user from your Mac, go to System Settings and then Users & Groups. Unlock settings with your admin password, select the user account, and click the minus (–) button. You will then be asked whether to archive, leave the user’s home folder as is, or delete it.

### How to delete a user on MacBook?

Deleting a user on MacBook is done through System Settings under Users & Groups. After unlocking the settings with admin credentials, select the user and click the minus (–) sign. Carefully choose the option regarding the user’s data, since deleting it cannot be undone.

## What this guide does not cover and limitations

This guide does not cover deleting Apple ID accounts or iCloud accounts, which require different procedures and cannot be removed through System Settings or Terminal commands on your Mac. Additionally, users without administrator privileges cannot delete other user accounts; attempting to do so will require admin credentials. Deleting user accounts is irreversible if you have not backed up important data beforehand. This guide assumes you understand and accept the risk of permanent data loss when removing an account.

If you need to delete an Apple ID or iCloud account, or if you lack administrator access, you should seek specialized instructions or assistance from Apple Support or a qualified technician.

The most useful next step is to ensure you have a complete backup of any data you might want to keep before proceeding with account deletion. Use Time Machine or manually copy important files to an external drive or cloud storage to avoid accidental loss.