How to Log Out of OneDrive on PC: A Complete Guide

OneDrive is deeply woven into Windows, which makes signing out a little less obvious than you might expect. Whether you're stepping away from a shared computer, switching Microsoft accounts, or simply want to pause syncing, knowing exactly where to look saves a lot of frustration.

Why Logging Out of OneDrive Isn't Straightforward

Unlike a web app where you just click "Sign Out," OneDrive on a PC runs as a background sync service tied to your Microsoft account. It doesn't live in a browser tab — it lives in your system tray and integrates with File Explorer. That means the sign-out process happens through the app's settings, not a webpage.

There are also a few different scenarios that people mean when they say "log out of OneDrive":

  • Unlinking your account from the OneDrive desktop app (stops syncing entirely)
  • Signing out of OneDrive on the web via a browser
  • Removing OneDrive from startup so it doesn't run automatically
  • Switching to a different Microsoft account within the app

Each of these works differently, and which one applies to you depends on your goal.

How to Unlink Your Account from the OneDrive Desktop App

This is the most common method — and what most people actually need when they want to "log out."

Step-by-step:

  1. Look for the OneDrive cloud icon in your system tray (bottom-right corner of the taskbar). It may be hidden — click the upward arrow to reveal hidden icons.
  2. Click the OneDrive icon to open the panel, then click the gear icon (Settings) in the top-right corner.
  3. Select Settings from the dropdown menu.
  4. In the Settings window, go to the Account tab.
  5. Click "Unlink this PC."
  6. Confirm when prompted.

Once unlinked, OneDrive stops syncing and your account is effectively signed out from the desktop client. Your files remain in the cloud and on your PC — they just won't sync anymore until you sign back in.

🔑 Important: Unlinking does not delete your files from OneDrive's cloud storage. It only disconnects the sync relationship between your PC and your account.

How to Sign Out of OneDrive on the Web

If you accessed OneDrive through a browser at onedrive.live.com or office.com, signing out works through your Microsoft account session — not the desktop app.

To sign out:

  1. Go to onedrive.live.com in your browser.
  2. Click your profile picture or initials in the top-right corner.
  3. Select "Sign out."

This signs you out of your Microsoft account session in that browser. On shared computers, you should also clear cookies or use a private/incognito window from the start to avoid leaving account data behind.

Note that signing out of OneDrive on the web does not unlink the desktop sync app — those are two separate sessions.

Stopping OneDrive from Running Without Fully Signing Out

Some users don't want to unlink their account — they just want OneDrive to stop running in the background temporarily.

To pause or quit OneDrive:

  • Click the OneDrive icon in the system tray.
  • Click the gear icon, then select "Pause syncing" (options: 2, 8, or 24 hours).
  • Or select "Quit OneDrive" to close the app entirely until the next restart.

Quitting OneDrive through the system tray is temporary. By default, it will restart the next time you reboot, because OneDrive is set to launch at startup.

To prevent it from launching at startup:

  1. Open Task Manager (Ctrl + Shift + Esc).
  2. Go to the Startup tab (or Startup Apps in Windows 11).
  3. Find Microsoft OneDrive in the list.
  4. Right-click and select Disable.

This doesn't sign you out, but it means OneDrive won't run automatically — useful if you want the app available occasionally without it always syncing in the background.

How the Process Differs Across Windows Versions

ScenarioWindows 10Windows 11
OneDrive icon locationSystem traySystem tray
Settings accessGear icon in OneDrive panelGear icon in OneDrive panel
Startup app managementTask Manager → Startup tabSettings → Apps → Startup, or Task Manager
Built-in OneDrive integrationModerateDeep (more tightly integrated)

The core steps are nearly identical across both versions, but Windows 11 makes OneDrive harder to avoid due to deeper system integration. Users on Windows 11 may notice that OneDrive prompts restart more aggressively or re-enables itself after updates.

Variables That Affect Your Experience

A few factors shape what this process looks like for you:

  • Work or school accounts: If OneDrive is connected to a Microsoft 365 organizational account, unlinking may be restricted by your IT administrator's policies. The "Unlink this PC" option might be greyed out or unavailable.
  • Personal vs. business OneDrive: The desktop app can hold both a personal and a work/school account simultaneously. Unlinking one doesn't affect the other.
  • Windows version and update state: Very old Windows 10 builds may have slightly different menu labels. Keeping Windows updated generally keeps the interface consistent with current documentation.
  • Third-party sync conflicts: If you also run Dropbox, Google Drive, or similar tools, quitting OneDrive has no effect on those services.

💡 A Note on What "Logged Out" Actually Means Here

Because OneDrive operates as a sync engine rather than a traditional login session, "logging out" is really about breaking the account-PC link rather than ending a session in the classic sense. Your data stays intact in the cloud. Your local copies of synced files stay on your machine. What changes is the live connection between the two.

Whether you need a full account unlink, a temporary pause, a browser sign-out, or a startup disable depends entirely on your situation — shared PC, personal device, work environment, or something else entirely.