Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

How to Sign Out of OneDrive (Unlink Without Losing Files)

To sign out of OneDrive on Windows, click the OneDrive cloud icon, open Settings, choose Account and click Unlink this PC, then Unlink account. On a Mac it's Unlink this Mac. Your files stay safe online, but online-only files on your computer won't open until you sign back in.

OneDrive doesn't have a button called Sign out on a computer. Microsoft calls it unlinking, and it's the right move when you're handing over a computer, switching to a different Microsoft account, or fixing sync problems. It doesn't delete anything from your OneDrive, but it does change what you can open on that computer, and that's the part to check first.

How to sign out of OneDrive on Windows

  1. Click the OneDrive cloud icon in the taskbar, near the clock. You may need to click the up arrow to see it.
  2. Click the cog icon, then Settings.
  3. Choose the Account tab.
  4. Click Unlink this PC.
  5. Click Unlink account to confirm.

How to sign out of OneDrive on a Mac

  1. Click the OneDrive cloud icon in the menu bar.
  2. Click the cog icon, then Settings or Preferences.
  3. Choose Account.
  4. Click Unlink this Mac and confirm.

What happens to your files

File status before you sign outAfter you sign out
Available on this device (solid circle)Stays in the OneDrive folder on your computer
Available when online (cloud icon)Only reachable on OneDrive on the web
Everything in your OneDriveStill safe online at OneDrive.com

The catch: online-only files stop opening

Many people have Files On-Demand switched on without realising, so most of their files are online-only placeholders. After you unlink, those placeholders stay in the folder but won't open, because there's no longer a OneDrive connection to download them. If you need files on this computer after signing out, right-click the folders first and choose Always keep on this device, wait for them to download, and then unlink.

If you're handing the computer to someone else, it's the other way round: once you've unlinked, the files that were downloaded stay in the folder. Microsoft says those local copies can be deleted safely after unlinking, because the originals are still in the cloud. Delete them so the next person can't see them.

This is the mistake that loses people's work. While OneDrive is still linked, deleting a file in the OneDrive folder deletes it from OneDrive everywhere, on every device and online. Always unlink first, then delete local copies. Deleting from OneDrive in the cloud is permanent once the recycle bin is emptied.

Signing out of OneDrive on your phone

In the OneDrive app on iPhone or Android, tap your profile picture or the account icon, then choose to sign out. As on a computer, this only signs the phone out. Your files stay in your OneDrive online, and any files you'd saved for offline use on the phone are removed from it.

Signing in again

To sign back in, open OneDrive from the Start menu or Applications folder and sign in with your Microsoft account. Choose where your OneDrive folder should go. Any changes made online while you were unlinked sync back down once you're linked again.

  • Unlink when you want this computer disconnected from your account but might reconnect later.
  • Pause syncing when you just need OneDrive to stop for a few hours, for example on a slow connection.
  • Uninstall when you don't want OneDrive on the computer at all. Unlink first.

If you're moving files to a different service, my roundup of turning off Google Photos backup covers the same sort of switch for your photos.

Signing out on a shared or work computer

On a work computer, your IT team may have set OneDrive to sign you in automatically with your work account, so it can reconnect on its own after you unlink. That's expected. If you're leaving a job or returning a laptop, unlinking is still worth doing, but tell IT as well, because they'll usually remove your account and files from the device as part of the hand-back. On a shared family computer, unlink and then check the OneDrive folder is empty before anyone else uses it.

Switching to a different Microsoft account

If you're unlinking because you signed in with the wrong account, such as a personal one on a work computer, unlink first, then sign in with the right account when OneDrive asks. It's worth choosing a fresh folder location when prompted, so files from the two accounts don't end up mixed in the same folder. OneDrive can also hold a personal and a work account side by side if you'd rather keep both.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

My verdict

To sign out of OneDrive on a computer, open OneDrive Settings, then Account, and click Unlink this PC or Unlink this Mac. Before you do, set any folders you need offline to Always keep on this device, because online-only files won't open afterwards. And never delete files from the OneDrive folder until you've unlinked, or you'll delete them everywhere. For more on keeping devices running smoothly, see my tips for a faster Mac.

Frequently asked questions

Does signing out of OneDrive sign me out of Outlook or Word?

Not necessarily. Office apps keep their own sign-in, so check File, Account in each app if you want to sign out there too.

How do I sign out of OneDrive on Windows?

Open OneDrive Settings, go to Account and click Unlink this PC, then Unlink account.

Does unlinking OneDrive delete my files?

No. Your files stay in OneDrive online at OneDrive.com.

Why can't I open my files after signing out of OneDrive?

They were online-only. Sign back in, or open them on OneDrive on the web.

Can I delete the OneDrive folder after unlinking?

Yes. Once unlinked, deleting local copies doesn't affect the files in the cloud.

How do I sign out of OneDrive on a Mac?

Open OneDrive Settings, choose Account and click Unlink this Mac.

Will my files sync again when I sign back in?

Yes. Changes made while you were unlinked sync when you link again.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.