Skip to content
Windows 🟢 Beginner

How to Switch from a Local Account to a Microsoft Account in Windows 11

Richard
Written by
Richard
Updated 8 min read
Laptop screen showing message 'Switching to cloud... This may take a moment. Fetching your personalized settings.' with loading icon
Laptop screen showing message 'Switching to cloud... This may take a moment. Fetching your personalized settings.' with loading icon

To switch from local to Microsoft account in Windows 11, open Settings Accounts Your info and select Sign in with a Microsoft account instead. Windows then asks for your Microsoft email and password, verifies your identity, and signs you out once so the change can apply.

A local account exists only on that PC. A Microsoft account links it to OneDrive and Outlook and syncs your passwords, settings, and apps across Windows devices.

Your files and programs stay in place, and you can go back to a local account later.

Before you start, check three things:

  • The PC needs a working internet connection.
  • You need a Microsoft account (Outlook.com, Hotmail, or another Microsoft address) and its password.
  • Know your current local password, because Windows may ask for it.

The steps are the same on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2). No restart is needed, and Windows signs you out once at the end.

⚡ Quick Answer

To switch from a local account to a Microsoft account in Windows 11, open Settings Accounts Your info and select Sign in with a Microsoft account instead. Windows asks for your Microsoft email and password, then signs you out once so the change can apply. Your files and programs stay in place.

Advertisement

Step 1Open Account Settings

Everything starts in the Settings app. There are two quick ways to open it from the Start menu.

Moving the other way, from a Microsoft account back to a local one, has a guide of its own, named “How to Change from a Microsoft Account to a Local Account in Windows 11”. Another guide, “How to Switch to Local Account from Microsoft Account in Windows 11”, also covers that reverse task.

Advertisement

The numbered steps below switch your PC from a local account to a Microsoft account, and they run in order through the rest of this guide.

  1. Press the Windows key + I key on your keyboard. You can also click the Start button. Either way, the Start menu opens.
  2. Open Settings. Select the gear icon in the Start menu. If you cannot see it, type “Settings” into the Start menu search and open the result. The Settings window opens, with a list of categories on the left side.
Advertisement
Windows 11 Start menu with Settings gear icon highlighted.
Windows 11 Start menu with Settings gear icon highlighted.

Step 2Find Your User Information

Your sign-in settings live under Accounts. This is where Windows shows your profile details and lets you change how you sign in.

  1. Click Accounts in the Settings sidebar. The Accounts page opens. It manages everything related to your user profile and sign-in methods.
windows 11 account tile in settings
windows 11 account tile in settings

The Your info page shows which kind of account the PC uses right now. It is also where the switch begins.

  1. Click Your info on the Accounts page. Your name and picture appear.
  2. Check the text under your name. If it says Local account, you are in the right place.
windows 11 your info tile in settings
windows 11 your info tile in settings
💡TipThe Your info page displays details about your current account: your name, your picture, and whether you use a local account or a Microsoft account. If a Microsoft email address already appears here, your PC is already linked and nothing more is needed.

Step 3Start the Switch

Now start the conversion. The link you need appears only while a local account is active.

  1. Find the Account settings area on the Your info page. The link usually sits under your username.
  2. Click Sign in with a Microsoft account instead. A Microsoft sign-in window opens. This begins converting your offline profile into a connected Microsoft profile.
Advertisement

If you cannot find the link, there are a few likely reasons:

  • You may already be using a Microsoft account. In that case the link reads Sign in with a local account instead.
  • An employer or school may manage the PC, and that can hide the option.
  • You may be signed in with a work or school account rather than a local one.
Windows 11 prompt to sign in with a Microsoft account instead.
windows 11 account microsoft account

Windows shows this option only while a local account remains active. Selecting it connects the computer to a Microsoft identity.

Step 4Enter Your Microsoft Account Details

Next, tell Windows which Microsoft account to link.

  1. Type your Microsoft account email address. It can be an Outlook.com or Hotmail address, or another address registered with Microsoft.
  2. Click Next. Windows asks for the password.
  3. Type your Microsoft account password. If you cannot remember it, click Forgot password? and follow the recovery steps before you go on.
  4. Enter your current local password if Windows asks. This confirms that you own this profile. Then continue.
Windows 11 Microsoft account login page for switching.
Windows 11 Microsoft account login page for switching.

The sign-in screen asks for your Microsoft account credentials. Once Windows accepts them, your existing computer setup is tied to your online Microsoft profile.

Advertisement

Step 5Verify and Set Up Security

Microsoft may want to confirm it is really you. Whether it asks depends on the security settings on your account.

  1. Check your phone or alternate email for a verification code. It usually arrives within a minute.
  2. Type the code into the box on the screen.
  3. Continue to the next screen.

Depending on your account, the code may come by text or email, or Microsoft may ask a security question instead. This is a normal step that protects the account. It is not a sign that anything is wrong.

Windows 11 screen to choose sign-in method for Microsoft account.
Windows 11 choose sign-in method for Microsoft account.

After verification, Windows asks you to set up a PIN for signing in to this computer. It is optional, but worth doing. A PIN (Personal Identification Number) is quicker to type than a full password, and it is tied to this specific PC. Someone who learns your PIN cannot use it to sign in to your account on another device.

  1. Follow the prompts to create a PIN. They appear when the PIN screen opens.
  2. Enter the PIN twice to confirm it. Windows accepts it when both entries match.

To change or remove the PIN later, go to Settings Accounts Sign-in options.

Advertisement
Windows 11 create a PIN for Microsoft account sign-in.
Windows 11 create a PIN for Microsoft account sign-in.

Once your Microsoft account is verified, Windows requests the PIN so it can use it for sign-ins on this PC. If you set one up, you will use it on the sign-in screen from now on. Your Microsoft account password still works too.

Step 6Finish the Switch

You are almost done. One last confirmation saves the change.

  1. Click the final confirmation button. Depending on the screen, it is labeled Next or Sign out and finish. This saves your changes and turns your local login into a full Microsoft user profile.
Windows 11 confirmation screen to complete Microsoft account switch.
Windows 11 confirmation screen to complete Microsoft account switch.
⚠️WarningWhen you have entered your details and finished verification, the confirmation button appears. Selecting Next or Sign out and finish completes the move from a local account to a Microsoft account. Save any open work first in case Windows signs you out right away.
  1. Wait while Windows signs you out. This happens automatically to apply the changes.
  2. Sign in with your Microsoft account. Use your email address and password, or the new PIN. From now on, the Microsoft account password replaces your old local password on the sign-in screen.

That’s it. You should now land on your usual desktop with your files, apps, and settings as you left them, and the computer is connected to your Microsoft account. OneDrive may offer to back up your folders the first time you sign in, and you can accept or decline.

Advertisement

If you change your mind and want to switch to a local account, go to Settings Accounts Your info and click Sign in with a local account instead. Windows walks you through creating a local sign-in, and your files stay where they are.

Reference:

Summary

With a Microsoft account, you get cloud sync for passwords, wallpapers, and other settings. You also get built-in apps like OneDrive and the Microsoft Store. Signing out and back in is what finishes connecting your computer to these online services.

The switch signs you out of the current profile and requires you to sign back in with your Microsoft account credentials. After that, data syncs automatically across your devices, and you have access to Microsoft services like OneDrive and the Microsoft Store.

Frequently asked questions

Switch from local to Microsoft account windowswhat is your purpose?

You switch to a Microsoft account to connect your PC to cloud services like OneDrive and Outlook. It also syncs your passwords, desktop settings, and apps across your Windows devices, makes Microsoft Store downloads easier, and helps you recover files if your PC fails. Your files and programs stay on the PC during the switch.

How ot add my Microsoft account to my files on Windows?

Your files are not stored under a Microsoft account, so you cannot add the account to them directly. Instead, sign in with your Microsoft account in Settings under Accounts, then Your info. Once you do, OneDrive can back up your Documents, Desktop, and Pictures folders to the cloud.

How to change from local account to Microsoft?

Open Settings, select Accounts, then Your info. Select Sign in with a Microsoft account instead, enter your Microsoft email and password, and enter your current local password when Windows asks. Your files and apps stay in place. No restart is needed, but Windows signs you out once at the end, so sign back in with your Microsoft account.

How to link my computer to a different Microsoft account?

Sign out of the current Microsoft account first. Then open Settings, select Accounts, then Your info, and sign in with the other Microsoft account. Your personal files stay on the PC, but settings and passwords synced to the old account stop syncing.

How to switch Microsoft accounts?

This guide covers only changing a local account to a Microsoft account. On a PC that already uses a Microsoft account, Settings Accounts Your info shows the link Sign in with a local account instead. That reverse task is covered in another guide.

How to change main Microsoft account on PC?

Windows links only one Microsoft account to each Windows user account. To change it, switch to a local account under Settings, then Accounts, then Your info. After that, sign in with your new main Microsoft account. Your files stay on the PC, but synced settings follow the new account.

Still have a question?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *