How to Log Out of OneDrive on Any Device
OneDrive is deeply woven into Windows, Microsoft 365, and mobile ecosystems — which means signing out isn't always a single obvious button. Where you log out, and what that actually does, varies depending on your device, operating system, and how OneDrive was set up in the first place.
What "Logging Out" of OneDrive Actually Means
Before walking through the steps, it's worth understanding what you're actually doing when you sign out.
On a desktop or laptop, OneDrive runs as a sync client — a background app that continuously mirrors your files between your device and the cloud. Signing out stops that sync and disconnects your Microsoft account from the client. Your local copies of synced files may remain on your device unless you explicitly delete them.
On a mobile device, signing out of the OneDrive app simply removes your account from that app. Your files stay safely stored in the cloud and aren't deleted from Microsoft's servers.
Through a web browser, there's no persistent session the way there is with the desktop client — you're just signing into a website, and signing out behaves like any standard web logout.
These distinctions matter because the steps differ, and so do the consequences.
How to Log Out of OneDrive on Windows
Using the System Tray (Most Common Method)
- Look for the OneDrive cloud icon in the system tray (bottom-right of your taskbar). You may need to click the arrow to expand hidden icons.
- Click the cloud icon to open the OneDrive panel.
- Click the gear icon (Settings) in the top-right corner of the panel.
- Select Settings from the dropdown menu.
- Go to the Account tab.
- Click Unlink this PC.
- Confirm by clicking Unlink account.
This disconnects your Microsoft account from the sync client. OneDrive will stop syncing, and the app will return to a "sign in" state. Files already downloaded to your local OneDrive folder remain where they are.
What Happens to Your Local Files
After unlinking, files stored in your local OneDrive folder don't disappear automatically. They stay on your hard drive. If you were using Files On-Demand (where some files show as cloud-only placeholders), those placeholder files may become inaccessible once the account is unlinked.
How to Log Out of OneDrive on Mac
- Click the OneDrive cloud icon in the menu bar at the top of your screen.
- Click the gear icon and select Preferences.
- Go to the Account tab.
- Click Sign Out.
- Confirm when prompted.
The behavior is similar to Windows — syncing stops, the account is disconnected, and local files remain on your machine.
How to Log Out of the OneDrive Mobile App 📱
On iPhone or iPad (iOS)
- Open the OneDrive app.
- Tap your profile picture or initials in the top-left corner.
- Tap the gear icon to open Settings.
- Scroll down and tap Sign Out.
On Android
- Open the OneDrive app.
- Tap your profile picture or initials at the top.
- Tap Sign out next to your account name.
On mobile, signing out doesn't affect your cloud-stored files at all. It simply removes the account from the app on that specific device.
How to Sign Out of OneDrive on the Web
- Go to onedrive.live.com or access OneDrive through office.com.
- Click your profile picture or account initial in the top-right corner.
- Select Sign out.
This ends your browser session. It doesn't affect the sync client on your desktop or the app on your phone — those are separate sessions.
Key Differences Across Platforms
| Platform | What Signing Out Does | Local Files Affected? |
|---|---|---|
| Windows (sync client) | Unlinks account, stops sync | No — files stay on disk |
| Mac (sync client) | Unlinks account, stops sync | No — files stay on disk |
| iOS app | Removes account from app | No — cloud files unaffected |
| Android app | Removes account from app | No — cloud files unaffected |
| Web browser | Ends browser session only | N/A |
When You're Signed Into Multiple Accounts ☁️
OneDrive supports multiple accounts on both desktop and mobile — for example, a personal Microsoft account alongside a work or school account. In these cases, signing out or unlinking applies per account. You can remove one without affecting the other.
On Windows, each account appears as a separate entry under the Account tab. On mobile, each account is listed under your profile, and you can sign out of them individually.
Variables That Affect Your Experience
The exact steps and outcomes depend on several factors:
- Windows version — Windows 10 and Windows 11 have slightly different system tray interfaces, though the core steps are the same.
- OneDrive version — Microsoft updates the client periodically, which can move menu options or rename settings.
- Account type — Personal Microsoft accounts and Microsoft 365 work/school accounts sometimes have different sign-out behaviors, especially in managed enterprise environments where IT policy may restrict certain actions.
- Files On-Demand settings — If you've enabled Files On-Demand, understanding which files are local vs. cloud-only before signing out matters more.
- Shared or family devices — On a shared PC, unlinking OneDrive removes sync for everyone using that Windows profile, but other user profiles on the same machine are unaffected.
The steps themselves are straightforward. What varies is what happens afterward — and whether signing out from one place is enough, or whether you need to sign out across multiple devices and sessions to fully disconnect your account from a particular machine or context.