How you remove a Microsoft account from Windows 11 depends on how the account is used. If apps like Outlook or the Microsoft Store use it, go to Settings > Accounts > Email & accounts (called Your accounts on some versions), select the account, and select Remove. If it’s the account you sign in to Windows with, switch to a local account first. To delete another person’s account from the PC, use Settings > Accounts > Other users.
These steps apply to Windows 11 Home and Pro. Removing an account from the PC doesn’t delete the Microsoft account itself. You can still use it on the web and on other devices.
Which Situation Are You In?
- An extra account that apps sign in with: remove it from Email & accounts. Your files and Windows sign-in don’t change.
- The account you use to sign in to Windows: there’s no Remove button for it. Switch to a local account, then the Microsoft account is gone from sign-in.
- Someone else’s account on this PC: an administrator can remove it from Other users. Read more about how to delete a user profile in Windows 11. This deletes that person’s files on the PC.
- A work or school account: disconnect it from Access work or school.
- A PC you’re selling or no longer use: also remove it from your devices list online. A phone or tablet that still gets your mail needs its own fix: remove the device that is syncing with Outlook.com.

Before You Start
- Back up files. Make sure anything you need is saved on the PC or an external drive, not only in OneDrive. Follow these steps to back up Windows 11 to an external drive.
- Save your BitLocker recovery key. If your drive uses BitLocker or device encryption, the key is often backed up to your Microsoft account. Microsoft’s recovery key guide says you can view it at aka.ms/myrecoverykey. Write it down or save it somewhere other than this PC before you switch. The walkthrough to manage BitLocker also shows how to find the key.
- Use an administrator account. You need admin rights to remove other users.
- Know your PIN or password. Windows asks you to confirm who you are before it switches account types.
Remove a Microsoft Account Used by Apps
- Press Windows key + I to open Settings.
- Select Accounts, then Email & accounts. On some versions this page is called Your accounts.
- Under Accounts used by other apps, select the account you want to remove to expand it.
- Select Remove, then select Yes to confirm. The account disappears from the list.

Apps such as Outlook and the Microsoft Store stop signing in with that account automatically. Your Windows sign-in stays the same. Microsoft lists these account pages in its guide to managing user accounts in Windows.
OneDrive has its own sign-in. To stop it too, select the OneDrive cloud icon on the taskbar, open Settings > Account, and select Unlink this PC. To learn what happens to online-only files first, read about turning off OneDrive on Windows 11.
Stop Signing In to Windows With a Microsoft Account
The account you sign in with can’t be removed directly. Switch it to a local account instead, and Windows stops using the Microsoft account for sign-in. A local account works only on this PC and isn’t connected to the cloud, so settings stop syncing to your other devices.
- Save your work, because Windows signs you out at the end.
- Open Settings > Accounts > Your info.
- Under Account settings, select Sign in with a local account instead. This link only appears while you’re using a Microsoft account.

- Select Next and confirm with your PIN or password.
- Enter a user name, password, and password hint. The user name must be different from any other account on the PC.
- Select Next, then Sign out and finish, and sign back in with the new local account.
These steps match Microsoft’s guide to switching between Microsoft and local accounts. Some guides say you can leave the password blank, but that lets anyone with the PC sign in, so set one. A local account has no online password reset, so create a password reset disk on a USB drive.
Your files and apps stay in place. For every screen, including what to do if the option is missing, read the full walkthrough for switching to a local account in Windows 11. Afterward, you can remove the Microsoft account from Email & accounts if it still appears there.
To check it worked, open Settings > Accounts > Your info again. You should see Local account under your name, and the link now reads Sign in with a Microsoft account instead.
If you only want a different sign-in email, you can keep the account and change the administrator email on Windows 11 instead.
Before Removing an Administrator
First make sure a different administrator can sign in and manage the PC. Do not remove the only working administrator. If necessary, create another user and change its account type to Administrator before signing in there. Removing a user deletes local data; changing its role to Standard User keeps the account.
If you need a second administrator first, follow these steps to make an account an administrator.
Remove Another User’s Account From the PC
- Sign in with an administrator account.
- Open Settings > Accounts > Other users.
- Select the account to expand it.
- Next to Account and data, select Remove.
- Select Delete account and data to confirm.
This permanently deletes that person’s files on this PC, including their desktop, documents, and downloads. It doesn’t delete their Microsoft account. It only removes their sign-in and data from this device.
On a PC that still runs Windows 10, you can delete the user profile in Windows 10 without removing the account.
Start Fresh With a New Local Account
Some people prefer a clean profile instead of converting the old one. Create a local account from Other users > Add account, then select it and choose Change account type > Administrator. Sign in to the new account, copy over the files you need, and only then remove the old Microsoft account profile with the steps above. Removing it deletes everything in that profile.
Disconnect a Work or School Account
Before disconnecting an organization account, back up needed files and prepare a working local administrator account if you use it to sign in to Windows. Removing a work or school connection from Windows 11 or 10 covers the sign-in precautions and what to do when Disconnect is blocked.
- Open Settings > Accounts > Access work or school.
- Select the arrow next to the work or school account.
- Select Disconnect, then Yes.
If there’s no Disconnect option, the PC may be owned or managed by your organization. Ask your IT department before changing anything.
Remove the PC From Your Microsoft Account Online
If you’re selling, giving away, or retiring the PC, remove it from your account too. Microsoft’s device management page shows these steps:
- Go to account.microsoft.com/devices and sign in.
- Find the PC and select Remove device.
- Check the box to confirm, then select Remove.
If you only need to free up a Microsoft Store download slot, unlink the device at account.microsoft.com/devices/content instead. Microsoft limits Store downloads to 10 devices per account.
Why Is There No Remove Button?
- It’s your sign-in account. Switch to a local account first, as shown above.
- You’re not an administrator. Only admins can remove other users.
- The PC is managed by work or school. Your organization may block account changes.
- You’re looking at the wrong page. App accounts are under Email & accounts, other people are under Other users, and organization accounts are under Access work or school.
Close Your Online Microsoft Account
Removing the account from your PC doesn’t close it. If you want to delete the Microsoft account itself, first save your OneDrive files, email, and BitLocker recovery keys, then follow Microsoft’s account-closure instructions. Microsoft gives you a 30- or 60-day window to reopen the account before its data is deleted.
Frequently Asked Questions
Will removing a Microsoft account delete my files?
Removing an account from Email & accounts or switching to a local account doesn’t delete your files. Removing a user from Other users deletes that user’s files on the PC.
Does removing an account from Windows close it online?
No. The account still exists, and you can sign in to Outlook.com, OneDrive, and other services from any device. Closing the account itself is a separate process on Microsoft’s website.
Can I still use the Microsoft Store with a local account?
Yes. If the Store asks you to sign in, you can sign in to the Store only. That adds the account for apps without changing how you sign in to Windows.
What if I forget my local account password?
A local account can’t be reset online. Use security questions if you set them up, a password reset disk, or another administrator on the PC to reset it.
How do I add a Microsoft account back?
Open Settings > Accounts > Your info and select Sign in with a Microsoft account instead.
Related guides: how to sign out of Windows 11, how to change the Microsoft account on Windows 11, and whether you can skip the Microsoft account sign-in.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.