Remove a Microsoft Account in Settings

To remove a Microsoft account from your Windows PC, open Settings, go to Accounts, and select the account you want to remove. Click "Remove" at the bottom of the account details page. Windows will ask you to confirm, and the account will be deleted from your device. Your files stay on the PC — only the account profile is removed.

Before you remove an account, make sure you have another administrator account on the PC. If you remove the only admin account, you will not be able to make system changes later. If the account you are removing is the one you are currently logged into, Windows will log you out and ask you to sign in with a different account first.

This process works the same way on Windows 10 and Windows 11. The account is removed from your device only — it does not delete your Microsoft account itself, and you can sign back in later if you need to.

Key Takeaways

  • Open Settings, select Accounts, choose the account to remove, and click Remove to delete it from your PC.
  • Keep at least one administrator account on your device before removing any account.
  • Removing an account from your PC does not delete the Microsoft account — it only removes it from that device.
  • If you are logged into the account you want to remove, sign out and log in with a different account first.
  • All files created by the removed account stay on your PC unless you choose to delete them during the removal process.

What Happens to Your Files When You Remove an Account

When you remove a Microsoft account from Windows, the account profile disappears, but your files do not automatically vanish. Windows gives you the option to keep or delete the files associated with that account. If you choose to keep them, the files remain on your PC but are no longer tied to a user profile — you will need administrator access to view or move them later.

If you want to preserve the files, choose "Keep files" during the removal process. If you want to delete everything associated with the account, select "Delete files." This action cannot be undone, so make sure you have backed up anything you need before you proceed.

How to Remove an Account You Are Currently Using

If you want to remove the Microsoft account you are currently logged into, you must switch to a different account first. Open Settings, go to Accounts, and look for the option to add a new user or sign in with a different account. Create or switch to another administrator account, then log out of the account you want to remove.

Once you are logged into the other account, go back to Settings, select Accounts, find the account you want to remove, and click Remove. You will not be able to remove an account while you are actively using it, so this step is necessary.

Remove a Local Account Instead of a Microsoft Account

If your account is a local account rather than a Microsoft account, the removal process is identical. Open Settings, go to Accounts, select the local account, and click Remove. Local accounts do not sync with Microsoft services, so removing one only affects your PC.

If you are not sure whether your account is a Microsoft account or a local account, open Settings and look at the Accounts page. A Microsoft account will show your email address and a profile picture. A local account will show only a username.

Troubleshooting: Account Will Not Remove

If the Remove button is grayed out or missing, the account is likely the only administrator account on your PC. Windows requires at least one admin account to function. Create a new administrator account first, then try removing the original account again.

If you are still unable to remove the account, restart your PC and try again. Sometimes a temporary glitch prevents the removal button from appearing. If the problem persists, sign in with a different administrator account and attempt the removal from there.

Remove Microsoft Account Sign-In Without Deleting the Account

If you want to keep the Microsoft account on your PC but change how you sign in, you can switch to a PIN or password instead. Open Settings, go to Accounts, select "Sign-in options," and choose a different sign-in method. This keeps the account on your device but changes how you log in.

You can also disconnect your Microsoft account from your PC without removing it entirely. Go to Settings, select Accounts, choose "Your info," and select "Sign in with a local account instead." This converts your Microsoft account to a local account on that device, but your Microsoft account still exists and can be used on other devices.

Frequently Asked Questions

Will removing a Microsoft account from my PC delete my email or OneDrive files?

No. Removing the account from your PC does not affect your Microsoft account, email, or OneDrive. Your Microsoft account and all its data remain intact. You can sign back in on this PC or any other device whenever you want.

Can I remove a Microsoft account if it is the only account on my PC?

No. Windows requires at least one administrator account to manage the system. Create a new local or Microsoft account and make it an administrator before removing the only existing account.

What if I forgot the password to the account I want to remove?

Sign in with a different administrator account and remove the account from Settings. You do not need the password to the account you are removing — only administrator access on a different account.

Can I undo removing a Microsoft account from my PC?

You cannot undo the removal, but you can sign back in with the same Microsoft account at any time. The account profile and its settings will be gone, but you can recreate them by signing in again.

Does removing an account from my PC affect other devices?

No. Removing an account from one PC does not affect your Microsoft account or any other devices. The account is only removed from that specific computer.