Accounts & Passwords
How to Switch Between a Local Account and a Microsoft Account on Windows 11
Written by Free Tech Support Editorial Team · Updated
Windows 11 lets you sign in with either a local account, which exists only on that PC, or a Microsoft account, the email address you use for Outlook.com, OneDrive, Xbox or Microsoft 365. Many people end up with one when they wanted the other, usually because of choices made in a hurry during setup. If you want to switch between a local account and a Microsoft account in Windows 11, in either direction, you can do it in a few minutes without losing your files. This guide explains both directions, what changes, and what to check before and after.
This is an independent guide and is not affiliated with Microsoft. If you want to create a brand-new offline account rather than convert yours, see set up a local account in Windows 11.
Local account or Microsoft account: what is the difference?
| Local account | Microsoft account | |
|---|---|---|
| Where the account lives | Only on this PC | Online, used on any device |
| Forgotten password | Security questions, or another admin account | Reset online from any device |
| OneDrive and settings sync | Not by default (OneDrive app can still be signed in separately) | Built in |
| Microsoft Store purchases | Sign in to the Store app separately | Automatic |
| BitLocker or device encryption key | You must save it yourself | Backed up to your account |
| Privacy | Less linked to online services | Some settings and data linked to your account |
Neither is “right”. A Microsoft account is more convenient and easier to recover; a local account keeps the PC separate from online services. Microsoft’s own support page describes the basic difference: a local account is specific to one device, while a Microsoft account works across devices and services.
Before you switch: three checks
- Back up your files. The switch does not delete anything, but a backup is a good habit before changing accounts. See the 3-2-1 backup rule.
- Save your recovery key (going local). If your PC uses BitLocker or device encryption, the recovery key is usually stored in your Microsoft account. Write it down or save it somewhere safe before you leave the Microsoft account; our guide to finding your BitLocker recovery key shows where.
- Know your passwords. You will need your current PIN or password, and your Microsoft account password if switching to one.
Switch from a Microsoft account to a local account
- Open Settings (Windows + I) and go to Accounts > Your info.
- Under Account settings, select Sign in with a local account instead.
- Confirm with your PIN or Microsoft account password when asked.
- Enter a user name, a password and a password hint or security questions for the new local account. Use a real password; a PC with no password is open to anyone who picks it up.
- Select Next, then Sign out and finish.
- Sign back in with the local account. Your desktop, files and apps are where you left them.
Afterwards, OneDrive stops syncing unless you sign in to the OneDrive app on its own, and Outlook or other Microsoft 365 apps may ask you to sign in separately. Your old Windows Hello PIN may need setting up again; see reset or change your Windows PIN.
Switch from a local account to a Microsoft account
- Open Settings > Accounts > Your info.
- Select Sign in with a Microsoft account instead.
- Enter your Microsoft account email and password, or create a new account.
- Enter your current local password when asked, so Windows can link the profile.
- Follow the prompts to set up or confirm a PIN, then sign out and back in if asked.
Windows links your existing user profile to the Microsoft account, so files and programs stay. Microsoft may ask you to verify the PC with a code by email or text before features such as password sync work fully.
After switching: check these
- Account type: the top of Settings > Accounts shows which account you are using.
- OneDrive: open the OneDrive icon in the taskbar to see whether it is signed in and syncing what you expect.
- Email and apps: look in Settings > Accounts > Email & accounts to see which accounts apps use. A Microsoft account added only for an app does not change how you sign in to Windows.
- Administrator rights: the converted account keeps the same rights it had. Check under Settings > Accounts > Other users if you share the PC.
Common problems
- The “Sign in with a local account instead” link is missing: you are probably signed in with a work or school account, or the PC is managed by an organisation. Work and school devices usually have rules set by IT.
- Windows keeps asking you to use a Microsoft account: you can dismiss prompts in apps; it does not change your sign-in. Turn off suggestions in Settings > Privacy & security > General and Settings > System > Notifications.
- Another person’s Microsoft account is on your PC: see remove an old Microsoft account from a shared PC.
- Forgot the password after switching: follow forgot your Windows sign-in password, or for a Microsoft account, reset your Microsoft account password.
Keep the account secure either way
Whichever type you choose, use a strong password and a PIN, keep Windows updated, and turn on two-step verification for your Microsoft account. Our Windows sign-in options guide compares PIN, fingerprint, face and password sign-in. Microsoft will never call you about your account; treat unexpected calls or pop-ups about a “locked Microsoft account” as scams. More guides are in the accounts section.
Frequently asked questions
If I switch to a local account, will I lose my OneDrive files?
Files already downloaded to your PC stay. OneDrive stops syncing unless you sign in to the OneDrive app separately with your Microsoft account. Files that are online-only should be downloaded first, or reached through the OneDrive website.
Will switching delete my files or apps?
No. Switching changes how you sign in to the same user profile. Your documents, desktop and installed programs stay. Back up anyway before changing account settings.
Can I have both a local account and a Microsoft account on the same PC?
Yes. Each person can have their own user account. Add others in Settings > Accounts > Other users; one can use a Microsoft account and another a local account.
The option to sign in with a local account instead is missing. Why?
You may already be on a local account, the PC may be managed by work or school, or you are signed in with a work or school account. Check the account type at the top of Settings > Accounts.
Can I still use Microsoft Store apps with a local account?
Yes. Free apps install normally. For paid apps and subscriptions, sign in to the Microsoft Store app itself with your Microsoft account; choose the option that signs in to that app only, so Windows stays on the local account.
Sources
Free Tech Support Editorial Team
Editorial team
The Free Tech Support editors write and update these guides from the official documentation of Microsoft, Apple, Google and device makers. We are an independent site with no phone line and no paid support service.