Last updated on November 17th, 2026 at 03:14 pm
To sign out of your account in Windows 10, select Start, select your user picture or the Accounts icon, and then select Sign out. If you want the PC to stop using your Microsoft account for sign-in altogether, open Settings > Accounts > Your info and select Sign in with a local account instead. To edit the name and picture shown for your account instead, see how to change your info in Windows 10.
Applies to: Windows 10. The same account settings also exist in Windows 11.
Which kind of sign-out do you need?
“Signing out of a Microsoft account” can mean several different things on a Windows 10 PC, and each one has its own steps. Pick the row that matches your goal before you change anything.
| Your goal | What to do | What it changes |
|---|---|---|
| Leave the PC so someone else can use it | Sign out from the Start menu | Ends your Windows session. Your account stays on the PC. |
| Stop signing in to Windows with a Microsoft account | Switch to a local account | Your files and apps stay, but you sign in with a user name and password stored only on this PC. |
| Take another person’s account off the PC | Remove the user in Settings | Removes that person’s sign-in information and data from the device. |
| Stop OneDrive from syncing with your account | Unlink OneDrive | Disconnects the local OneDrive folder from the cloud. |
| End sessions on a PC you no longer have | Sign out everywhere, or remove the device online | Signs your account out remotely or takes the PC off your device list. |
Windows 10 Home and Pro reached end of support on October 14, 2025, but the account settings below are still present on existing Windows 10 PCs.
Does signing out of Windows 10 remove my Microsoft account from the PC?
No. Signing out only ends your current session. The account stays on the sign-in screen and you can sign back in at any time. To disconnect it from Windows sign-in, switch to a local account.
Save work and know your password
- Save your work. Signing out ends your session, so save open documents and close your apps first.
- Know your Microsoft account password. You need it to sign back in later, and Windows may ask you to confirm who you are before it lets you change how you sign in.
- Check who owns the PC. On a work or school computer, account settings can be controlled by the organization, and some of the options in this article may be unavailable.
This is the everyday sign-out. It ends your session and returns the PC to the sign-in screen, where you or another person can sign in.
- Select Start on the taskbar. The Start menu opens.
- Select your user picture or the Accounts icon in the Start menu. A short menu of account options appears.
- Select Sign out. Windows ends your session and shows the sign-in screen.

Your Microsoft account is still set up on the PC after this. The next time you choose your name on the sign-in screen and enter your password or PIN, your desktop, files and settings come back as you left them. If you only want to step away for a few minutes, press Windows key + L instead. That locks the computer without closing anything.
Sign out with a keyboard shortcut or a command
Use these when the Start menu is not responding or when you prefer the keyboard.
Ctrl+Alt+Delete
- Press Ctrl+Alt+Delete. Windows switches to the security screen, where you can lock the desktop, switch user, sign out, change a password, or open Task Manager.
- Select Sign out. Your session ends and the sign-in screen appears.
The shutdown command
- Open Command Prompt.
- Type shutdown /l (the last character is a lowercase letter L) and press Enter.
The /l option signs out the current user immediately, with no time-out period, so there is no countdown and no chance to cancel. Save everything before you run it. The option works on its own and cannot be combined with other shutdown options.
How to stop signing in to Windows with a Microsoft account
If your goal is to disconnect your Microsoft account from the way you sign in to this PC, switch your Windows user account to a local account. A local account is a user name and password that exist only on this computer. Your files, apps and desktop stay where they are; only the sign-in method changes.
Before you switch: with a local account, nobody can reset a forgotten password for you online. Create a password reset disk for the local account, because without one a forgotten password cannot be recovered. If you have already forgotten your own password, finding your Windows 10 username and resetting your password explains the options for each account type.
- Open the Settings app. Pressing Windows key + I opens it directly.
- Select Accounts, then Your info. This page shows the account you are currently signed in with.
- Select Sign in with a local account instead. This link is shown only when you are signed in with a Microsoft account.
- Type a user name, a password and a password hint for the new local account. The user name must be different from every other account on the PC.
- Select Next, then select Sign out and finish. Windows signs you out.
- Sign back in with the local user name and password you just created.
The same steps appear on Microsoft’s page about changing between a local account and a Microsoft account. Switching does not delete your Microsoft account. It still exists online, and you can keep using it on the web and on other devices.
Will I lose my files if I switch to a local account?
No. The steps change only the way you sign in: you create a user name, password and hint, sign out, and sign back in to the same PC. Files stored in OneDrive remain in your Microsoft account online as well.
Does switching to a local account delete my Microsoft account?
No. The Microsoft account still exists online, and you can go back to it on the same PC by selecting Sign in with a Microsoft account instead in Settings > Accounts > Your info.
How to confirm it worked, and how to switch back
After a normal sign-out, you should be looking at the Windows sign-in screen. Nothing else needs checking.
After switching to a local account, open Settings > Accounts > Your info again. The link on that page should now read Sign in with a Microsoft account instead, which Windows shows only for local accounts.
To undo the change, select Sign in with a Microsoft account instead on that same page, follow the prompts to enter your Microsoft account details, select Next and then Sign out and finish, and sign back in with your Microsoft account.
Remove another person’s account from the PC
Signing out does not take anyone’s account off the computer. If a family member or previous user should no longer appear on the sign-in screen, remove their user account. This removes their sign-in information and their data from the device, so copy anything they need first.
- Open Settings and select Accounts, then Other user. On some Windows 10 PCs this page is grouped together with family accounts.
- Under Other users, select the account you want to remove to expand it.
- Next to Account and data, select Remove.
Removing an account this way does not delete the person’s Microsoft account; it only removes it from this device. There’s more detail on removing an account in Windows 10, and the account settings are covered in Manage User Accounts in Windows.
Sign your Microsoft account out of other places
Windows sign-in is only one place your Microsoft account can be active. These are the other common ones.
OneDrive on this PC
- Select the OneDrive cloud icon in the taskbar.
- Select Help & Settings, then Settings.
- On the Account tab, select Unlink this PC, then Unlink account.
No data is lost by unlinking, as the OneDrive unlink instructions explain. The local folders are disconnected from the cloud until you link the account again. To connect it again later, or with a different account, follow the steps to sign in to OneDrive on Windows 10.
A work or school account
- Open Settings and select Accounts, then Access work or school.
- Select the account to expand it and choose Disconnect.
- Select Yes to confirm.
Check with your IT department before you disconnect a work or school account, because it may remove your access to the organization’s resources on that PC.
Accounts that apps use
Mail, calendar and other apps can keep their own list of accounts. In Settings > Accounts > Email & accounts you can see the accounts that apps on the PC are using, separate from the account you use to sign in to Windows. Review that page after switching to a local account if you want your Microsoft account off the computer entirely.
Every device at once
If you left your account signed in on a PC you can no longer reach, use Microsoft’s remote sign-out.
- In a web browser, sign in to the Microsoft account security dashboard and open Advanced security options.
- Scroll down to Sign me out and select Sign me out.
This can take up to 24 hours to reach every browser, app and device, and it does not sign you out of Xbox consoles. The details are on Microsoft’s page about signing out of your Microsoft account everywhere.
A PC you sold or gave away
- Sign in at account.microsoft.com/devices with your Microsoft account.
- Find the PC and select Remove device.
- Check the box to confirm, then select Remove.
This takes the PC off the device list of your Microsoft account. The Manage devices used with your Microsoft account page has more on the device list. Removing the device does not erase the PC, so if you still have the computer, switch it to a local account or remove your user account first.
Local account option and Sign out missing
“Sign in with a local account instead” is missing
This link is visible only when you are signed in with a Microsoft account. If Your info shows Sign in with a Microsoft account instead, the PC is already using a local account and there is nothing to disconnect. If neither link appears, you may be signed in with a work or school account that your organization manages; in that case, look under Accounts > Access work or school or ask your IT department.
You cannot find Sign out on the Start menu
The option sits behind your user picture or the Accounts icon in the Start menu. If the Start menu will not open at all, press Ctrl+Alt+Delete and select Sign out on the security screen.
Windows reports the user name is already in use
When you switch to a local account, the new user name has to be different from every account that already exists on the PC. Choose another name and continue.
Someone else is still signed in
Signing out affects only your own session. Another person who used the PC earlier may still be signed in behind the scenes. They need to sign in and sign out themselves. To move between accounts, switch users in Windows 10.
Your account still shows up in apps after you switched
That is expected. Switching the Windows sign-in to a local account does not sign you out of OneDrive or of the accounts listed under Email & accounts. Work through the sections above for each place you want the account removed.
Related guides

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Each guide follows Microsoft, Apple and Google’s own documentation and is updated when the steps change. Screenshots marked “Recreated” are illustrations of the real screens.