A Microsoft account provides access to many features and services in Windows 11. When you sign in with a Microsoft account, Windows can synchronize settings across devices, connect to OneDrive, access Microsoft Store purchases, back up preferences, and provide seamless integration with Microsoft services. For many users, these features are convenient and help create a connected experience across multiple devices.
However, there are situations where you may want to remove a Microsoft account from Windows 11. Perhaps you are selling your computer, giving it to another family member, using a work account that is no longer needed, switching to a local account for privacy reasons, or simply cleaning up old accounts that are no longer in use. Whatever the reason, Windows 11 provides several ways to remove a Microsoft account safely.
Before removing a Microsoft account, it is important to understand how the account is being used on the computer. If the account is the primary sign-in account, you cannot simply delete it without first creating another administrator account or switching to a local account. Removing an account may also affect access to files, OneDrive data, Microsoft Store purchases, and synchronized settings associated with that account.
Windows 11 includes multiple methods for removing Microsoft accounts through Settings, Control Panel, User Accounts, and organizational account management tools. Depending on whether the account is your primary sign-in account or a secondary account, the process may vary slightly.
This guide explains how to remove a Microsoft account from Windows 11 safely and correctly while preserving important data and maintaining access to your computer.
Things to Know Before Removing a Microsoft Account
Before removing a Microsoft account, consider the following:
- Back up important files.
- Verify that another administrator account exists.
- Sign out of OneDrive if necessary.
- Ensure you know the password for any replacement account.
- Check whether the account is used for Microsoft Store purchases.
- Confirm that important data has been synchronized or backed up.
Removing an account without preparation could result in loss of access to certain files and settings.
Method 1: Remove a Secondary Microsoft Account Through Settings
If the Microsoft account is not your primary Windows account, removing it is straightforward.
To remove the account:
- Press Windows + I to open Settings.
- Click Accounts.
- Select Email & accounts.
Under Accounts Used by Other Apps:
- Select the Microsoft account.
- Click Remove.
Confirm the action when prompted.
Windows removes the account from the device.
This method works best for accounts connected to apps and services rather than the main Windows sign-in account.
Method 2: Remove a Microsoft Account from Family & Other Users
If the Microsoft account belongs to another user on the PC:
- Open Settings.
- Select Accounts.
- Click Other users.
Locate the account you want to remove.
Click:
- The account name
- Remove
Under Account and Data:
- Click Delete account and data.
Windows removes the account and associated local data stored on the PC.
Use caution because deleted local files may not be recoverable unless backed up.
Method 3: Switch to a Local Account and Remove the Microsoft Account
If your current Windows account uses a Microsoft account, you must first switch to a local account.
To do this:
- Open Settings.
- Click Accounts.
- Select Your info.
Choose:
- Sign in with a local account instead
Follow the wizard.
Enter:
- Current Microsoft account password
- Local username
- Local password
- Password hint
Click:
- Next
- Sign out and finish
After signing back in:
- The Microsoft account is no longer used as your Windows sign-in account.
This is the safest way to remove your primary Microsoft account from Windows.
Method 4: Remove Microsoft Account Credentials from Email & Accounts
Windows may store Microsoft account credentials even after switching accounts.
To remove them:
- Open Settings.
- Select Accounts.
- Click Email & accounts.
Locate the Microsoft account.
Click:
- Remove
Confirm the removal.
Windows deletes the saved account credentials from the device.
Method 5: Remove a Work or School Microsoft Account
Many organizations connect Microsoft accounts to Windows for work or educational purposes.
To remove these accounts:
- Open Settings.
- Select Accounts.
- Click Access work or school.
Choose the account.
Click:
- Disconnect
Confirm the removal.
Windows removes organizational access from the device.
This method is useful when:
- Leaving a company
- Graduating from a school
- Changing organizations
Method 6: Remove a Microsoft Account Through Control Panel
Control Panel still offers user account management options.
To access them:
- Press Windows + R.
- Type control.
- Press Enter.
Open:
- User Accounts
- Manage another account
Select the Microsoft account.
Choose:
- Delete the account
You may be asked whether to:
- Keep files
- Delete files
Choose the preferred option.
Complete the process.
Method 7: Remove a Microsoft Account Using Netplwiz
Netplwiz provides advanced account management tools.
To use it:
- Press Windows + R.
- Type netplwiz
- Press Enter.
Select the Microsoft account.
Click:
- Remove
Confirm the action.
This method is particularly useful for advanced users managing multiple accounts.
Method 8: Remove a Microsoft Account from Microsoft Store
If you want to disconnect a Microsoft account from the Microsoft Store:
- Open Microsoft Store.
- Click your profile icon.
- Select Sign out.
The account is removed from Store access while leaving Windows sign-in settings unchanged.
This is useful if you only want to remove Store access.
Method 9: Remove OneDrive Account Connection
Many Microsoft accounts are linked to OneDrive.
To disconnect OneDrive:
- Click the OneDrive icon in the notification area.
- Open Settings.
- Select Account.
- Click Unlink this PC.
Confirm the action.
This removes the Microsoft account connection from OneDrive.
Method 10: Create a New Administrator Before Removing the Account
If the Microsoft account is the only administrator account on the computer, create another administrator first.
To create a replacement account:
- Open Settings.
- Go to Accounts.
- Select Other users.
- Add a new account.
Assign:
- Administrator privileges
After confirming administrator access:
- Remove the Microsoft account.
This prevents being locked out of administrative functions.
What Happens When You Remove a Microsoft Account?
Depending on the method used, Windows may remove:
- Account credentials
- Local profile data
- OneDrive synchronization
- Microsoft Store access
- Email synchronization
- Personalized settings
However, removing an account from a device does not delete the Microsoft account itself.
The account can still be used:
- On other devices
- On the web
- For Microsoft services
Difference Between Removing and Deleting a Microsoft Account
Removing a Microsoft Account
- Removes it from a specific device.
- Does not delete the online Microsoft account.
- Allows future sign-in.
Deleting a Microsoft Account
- Permanently closes the Microsoft account.
- Removes access to Microsoft services.
- May result in data loss.
Most users only need to remove the account from Windows rather than permanently delete it.
Common Problems and Solutions
Remove Button Is Missing
Possible causes:
- The account is currently signed in.
- It is the primary administrator account.
Switch to another administrator account first.
Cannot Remove the Account
Verify:
- You have administrator privileges.
- The account is not being actively used.
Work Account Keeps Reappearing
Try:
- Disconnecting it through Access Work or School.
- Restarting the computer.
- Removing organizational policies if applicable.
Microsoft Store Still Shows the Account
Sign out separately within the Microsoft Store application.
Frequently Asked Questions
Can I remove a Microsoft account without deleting files?
Yes. In many cases, Windows allows you to keep local files while removing the account.
Can I switch to a local account before removing my Microsoft account?
Yes. This is the recommended approach when removing your primary sign-in account.
Will removing a Microsoft account delete OneDrive files?
Locally synced files may remain on the computer, but synchronization will stop after the account is removed.
Can I add the Microsoft account again later?
Yes. You can reconnect the account at any time.
Does removing a Microsoft account delete the account permanently?
No. It only removes the account from the device unless you specifically close the Microsoft account through Microsoft.
What happens to Microsoft Store purchases?
Purchases remain associated with the Microsoft account and can be accessed again after signing back in.
Can I remove a work or school account?
Yes. Use the Access Work or School settings to disconnect it.
Do I need another administrator account before removing my Microsoft account?
Yes, if the Microsoft account is the only administrator account on the PC.
Final Thoughts
Removing a Microsoft account from Windows 11 is a relatively simple process, but it is important to understand how the account is being used before making changes. Whether you are switching to a local account, removing an old user profile, disconnecting a work account, or preparing a computer for a new owner, Windows provides multiple methods to safely remove Microsoft accounts while maintaining control over your system.
The most important step is ensuring that another administrator account is available before removing a primary Microsoft account. Taking time to back up important files and verify account settings can prevent unexpected issues and help ensure a smooth transition. Windows 11’s flexible account management tools make it possible to remove Microsoft accounts from Settings, Control Panel, Netplwiz, OneDrive, and organizational account management areas depending on your specific needs.
By following the methods outlined in this guide, you can safely remove unwanted Microsoft accounts, protect your personal information, and keep your Windows 11 computer organized and secure.


