Delete a Microsoft Account from Your PC – Step‑by‑Step Guide
In this article
Yes, you can delete a Microsoft account from a Windows PC by removing it from Settings and then signing out of the account on the device. This process erases the local profile and stops the computer from using that Microsoft account for login, apps, and cloud sync.
What You'll Need
- An administrator‑level user account on the PC (you cannot delete the last admin account).
- Internet access if you want to remove the account from Microsoft’s online services as well.
- Optional: A backup of any personal files stored in the account’s profile folder.
Step‑by‑Step
- Sign in with a different admin account. If the Microsoft account you plan to delete is the only admin, create a local admin account first: go to
Settings > Accounts > Family & other users, click Add someone else to this PC, choose I don’t have this person’s sign‑in information, then select Add a user without a Microsoft account. Give the new account a name and password, and set the account type to Administrator. - Open Settings. Press Windows + I or click the Start button and select the gear icon.
- Navigate to Accounts. In the Settings window, click Accounts. (Menu labels may vary slightly between Windows 10 and Windows 11, but the icon looks like a person silhouette.)
- Select "Your info" to confirm the current sign‑in. Verify that you are logged in with the newly created local admin account, not the Microsoft account you intend to delete.
- Go to "Family & other users". This section lists every user profile on the PC.
- Find the Microsoft account you want to remove. It will appear under the "Other users" heading with a label like "Microsoft account: user@example.com".
- Click the account and choose "Remove". A confirmation dialog appears warning you that the account’s data will be deleted from this PC.
- Confirm deletion. Click Delete account and data. Windows will erase the profile folder (usually
C:\Users\[username]) and remove the account from the local user list. - Sign out and verify. Press Ctrl + Alt + Delete and select Sign out. On the lock screen, confirm that the removed Microsoft account no longer appears as a sign‑in option.
- Optional: Remove the account from Microsoft’s cloud. Open a web browser, go to account.microsoft.com, sign in with the same Microsoft credentials, navigate to Security & privacy > More security options, and choose Close your account. Follow the on‑screen steps to permanently delete the online Microsoft account if you no longer need it anywhere else.
Common Mistakes
One frequent error is trying to delete the only administrator on the machine. Windows will block the removal and display a message that at least one admin must remain. Always ensure another admin account exists before you start. Another mistake is clicking “Remove” without reading the warning; this deletes local files permanently, so back up any important documents first. Some users also confuse “Sign out” with “Delete”; signing out merely logs the user off, while the steps above actually erase the profile.
Tips
- Before deletion, copy important files from
C:\Users\[MicrosoftUser]\Documentsto another location or external drive. - If you plan to reuse the same email address for a new Microsoft account, wait a few minutes after deletion; the system may need time to release the identifier.
- Use
netplwiz(type it in the Start search bar) to view a concise list of local and Microsoft accounts, which can be helpful for double‑checking before removal. - For Windows 11, the Settings UI is more visual; the Family & other users page shows a grid of avatars, making it easier to spot the correct account.
Troubleshooting
If the Remove button is grayed out: This usually means the account is still signed in somewhere else (e.g., a background service). Log out of all apps that might be using the account, then restart the PC and try again.
If Windows says the account is still linked to a Microsoft service: Open Settings > Accounts > Email & accounts and look for any Outlook, OneDrive, or Store entries tied to that Microsoft account. Click each entry and choose Remove before returning to the Family & other users page.
Deletion fails with an error code: Restart the computer in Safe Mode (hold Shift while clicking Restart, then choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 for Safe Mode). In Safe Mode, repeat the removal steps; the reduced set of services often eliminates conflicts.
After removal, the account still appears on the lock screen: Press Windows + L to lock, then click Other user and select Sign‑in options. Choose Remove next to the lingering Microsoft account. If it persists, open Control Panel > User Accounts > Manage another account and delete any leftover entry.
Online Microsoft account cannot be closed because it is linked to subscriptions: Cancel any active subscriptions (e.g., Xbox Live, Microsoft 365) from the account dashboard before attempting closure. Microsoft will not allow deletion while a paid service is active.
Frequently Asked Questions
Will deleting the account on my PC delete the Microsoft account entirely?
No. Removing the account from Windows only erases the local profile. To delete the Microsoft account itself, you must do so through the online account portal.
Can I restore the deleted profile later?
Once you confirm deletion, Windows permanently removes the profile folder. Restoration is only possible if you have a backup or a system restore point created before the deletion.
Do I need an internet connection to delete the account locally?
No. The local removal works entirely offline. An internet connection is only required if you also want to close the Microsoft account on the cloud.
What happens to apps that were installed under the Microsoft account?
Apps tied to the Microsoft Store will remain installed, but they may lose license validation. You can reinstall them under a different account if needed.
Can I delete a Microsoft account that is used for Windows Hello or a PIN?
Yes, but you must first remove the PIN or Windows Hello credentials from Settings > Accounts > Sign‑in options before deleting the account.
Is it possible to delete a Microsoft account on a work or school PC?
Work or school devices are often managed by an organization’s Azure AD. In those cases, only the IT administrator can remove the account; regular users cannot delete it from Settings.