Hide the OneDrive icon from the Mac menu bar

To close OneDrive on a Mac, click the OneDrive cloud icon in the menu bar, click the Help & Settings gear (labelled Settings in some versions), and choose Quit OneDrive. The icon disappears and syncing stops until OneDrive is opened again. Closing the window or pressing Command and W does not do this, because OneDrive has no main window to close. It runs only from the menu bar.

Quitting is only one of several things people mean by "close". Some want it gone for the rest of the day, some want it never to start again, some want the icon out of sight while sync keeps running, and some have a frozen copy that will not respond. This guide covers each case, in the order Microsoft and Apple document them, with every step checked against their support pages on 18 October 2026.

Quit OneDrive for now

This is the normal way to close OneDrive, and it is the only one needed most of the time.

  1. Click the OneDrive cloud icon near the right end of the menu bar.
  2. Click the gear icon, Help & Settings.
  3. Choose Quit OneDrive.

Microsoft describes the same menu in its article on turning off, disabling or uninstalling OneDrive, where the macOS instructions start with clicking the cloud icon in the menu bar and then Help & Settings to open the menu. A Microsoft support answer on force quitting OneDrive on a Mac gives the exact path as the cloud icon, then Settings, then Quit OneDrive.

After quitting, nothing in the OneDrive folder syncs. Files already on the Mac stay where they are and can still be opened. Changes made while OneDrive is closed are uploaded the next time it starts.

To open OneDrive again later, launch it from the Applications folder or from Spotlight. The cloud icon returns and syncing resumes.

Stop OneDrive from opening at login

Quitting lasts only until the next restart or login, because OneDrive is usually set to start with the Mac. To stop that, use the login items list in System Settings.

Apple's guide to opening items automatically at login gives the path:

  1. Choose Apple menu, System Settings, then General in the sidebar.
  2. Click Login Items & Extensions.
  3. In the list of items that open at login, select OneDrive and click the minus button below the list.

The same settings screen also has a section for apps allowed to run in the background. If OneDrive appears there, switching it off prevents background tasks when the app is not open.

To skip login items once without changing anything, Apple documents a shortcut on the same page: on the login window, hold Shift while clicking Log In, and release it when the Dock appears. Nothing in the login items list, OneDrive included, opens that time.

Pause sync instead of quitting

If the reason for closing OneDrive is a slow or metered connection, or a long "Processing changes" status, pausing is often better than quitting. The icon stays, but no data moves.

Microsoft's article on pausing and resuming OneDrive sync gives the steps. On a Mac, Control click the OneDrive icon in the menu bar, then choose how long to pause: 2, 8 or 24 hours. The icon shows a paused state while sync is stopped. Sync resumes automatically when the chosen time runs out, or earlier from the same menu.

The difference matters for anyone who forgets to restart things. A quit OneDrive stays quit until it is opened manually or the Mac logs in again. A paused OneDrive starts syncing again on its own.

Force quit a frozen OneDrive

Sometimes the cloud icon stops responding and the Quit OneDrive item cannot be reached. The person who asked the Microsoft question linked above described exactly this, and added that OneDrive did not appear in the Force Quit window either.

Apple's Force Quit window, opened with Option, Command and Esc, is the usual tool for an app that is not responding. OneDrive, however, runs as a menu bar app without a Dock icon, and as that question shows, it may be missing from the list.

Activity Monitor shows every running process, including menu bar apps:

  1. Open Activity Monitor from Applications, Utilities.
  2. Type OneDrive in the search field at the top right.
  3. Select the OneDrive process and click the stop button (the X in a circle) in the toolbar.
  4. Choose Quit. If nothing happens after a few seconds, repeat and choose Force Quit.

If it freezes repeatedly, Microsoft suggests a reset. Its article on missing OneDrive icons gives the steps: find OneDrive in the Applications folder, Control click it and choose Show Package Contents, go to Contents, then Resources, and double click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command for the standalone app). Then start OneDrive and finish the setup again.

Close it from Terminal

For anyone who prefers the keyboard, or who wants to close OneDrive from a script before a large file operation, Terminal offers two commands.

The polite one asks OneDrive to quit, the same as choosing Quit OneDrive from its menu:

osascript -e 'quit app "OneDrive"'

The forceful one ends the process immediately, like Force Quit in Activity Monitor:

killall OneDrive

Use the first whenever possible. It lets OneDrive finish what it is writing before it stops. The second is for a copy that is frozen and does not respond to anything else. To start OneDrive again afterwards, run open -a OneDrive.

Two copies of OneDrive can make it seem impossible to close

A less obvious cause of "OneDrive will not stay closed" is having two copies installed. Microsoft's article on two versions of OneDrive on a Mac explains that there is a Mac App Store version and a standalone version from OneDrive.com and Office installers, and that only one should be installed and configured at a time because they cannot sync the same content. When both are set up with the same account, a message saying the account is signed in to two versions appears every time the app starts.

If one copy is quit and the cloud icon is still there, the other copy may be running. Microsoft gives a Terminal command to see which one is in the Applications folder:

/usr/libexec/PlistBuddy -c 'Print CFBundleIdentifier' /Applications/OneDrive.app/Contents/Info.plist

A result of com.microsoft.OneDrive means the standalone version. A result of com.microsoft.OneDrive-mac means the App Store version. Microsoft's fix is to unlink the Mac in OneDrive preferences, quit OneDrive, move the app to the Trash, and reinstall a single version from one source.

Keep sync running, hide only the icon

Some people searching for how to close OneDrive actually want the opposite: sync should keep working, but the cloud icon should stop taking space in the menu bar. OneDrive itself has no setting to hide its icon on a Mac. There are two ways around that.

The system switch on macOS Tahoe 26 and later

Apple's guide to Menu Bar settings describes a section called Allow in the Menu Bar, listing apps that provide menu bar items, each with a switch. The path is Apple menu, System Settings, Menu Bar. Switching OneDrive off removes the icon from view. The app is not quit by this setting.

The trade off is that the cloud icon is also OneDrive's status display. It shows when sync is paused, when an error needs attention, and when a sign in has expired. With the icon hidden, those signals are gone until the switch is turned back on.

A menu bar organizer

A tool that hides menu bar icons on a Mac can move the OneDrive icon behind a divider, where it stays out of the way but can be revealed with a click when its status needs checking. This works on macOS versions before Tahoe as well, which have no Allow in the Menu Bar list. Some organizers can also bring a hidden icon back into view automatically when it changes, which keeps the error warning without the permanent clutter.

Command dragging

Apple's overview of what is in the menu bar describes holding Command while dragging a status menu to rearrange it, or dragging it out of the menu bar to remove it. This is reliable for Apple's own items. Third party items such as OneDrive may only move, not disappear, so it is better used to push the cloud icon further left than to remove it.

Unlink or uninstall when OneDrive is not needed

If the Mac does not need OneDrive at all, closing it every day is the wrong fix. Microsoft documents two stronger options.

Option What happens Files on the Mac Files online
Quit OneDrive Stops until next opened or next login Stay Stay
Pause sync Stops for 2, 8 or 24 hours Stay Stay
Unlink this Mac Stops syncing this Mac with the account Stay Stay
Uninstall App removed Stay Stay

Unlink this Mac

Microsoft's turn off article says files and data are not lost by unlinking, and they remain available by signing in at OneDrive.com. On a Mac, click the cloud icon, click Help & Settings, choose Preferences, go to the Account tab, and select Unlink this Mac. OneDrive then asks for a sign in before syncing again.

Uninstall

The same article gives a one line instruction for macOS: drag the OneDrive app to the Trash. Uninstalling does not delete the files already in the OneDrive folder, and the copies online stay in the account. Quit OneDrive first, so the app is not running when it is moved.

A note on online only files

OneDrive's Files On-Demand feature, described in Microsoft's Files On-Demand for Mac article, keeps some files as online only placeholders that download when opened. Before unlinking or uninstalling, mark anything needed offline as Always keep on this device from the Finder context menu. Online only files cannot be opened without an internet connection.

On a work or school Mac

Everything above assumes a personal Mac. On a computer issued by an employer or a school, OneDrive is often installed and configured by the organisation, and the account in it belongs to that organisation rather than to the person using the Mac. Quitting for a short break is still fine. Unlinking, uninstalling, or removing OneDrive from login items may conflict with how the organisation backs up work files.

Microsoft's own support articles draw the same line. For personal accounts they point to Microsoft's account and technical support. For work or school accounts they point to the organisation's IT helpdesk, and they send administrators to separate documentation. Before removing OneDrive from a managed Mac, check with whoever set it up.

What to change first

For a quick break, use the cloud icon, Help & Settings, Quit OneDrive. To stop it for good, also remove it from Login Items & Extensions. If sync should keep running and only the icon is the problem, a menu bar organizer such as Koffret can hide the cloud behind a divider and bring it out when it changes, for a one time $14.99 after a fourteen day trial.

Frequently asked questions

Does quitting OneDrive on a Mac delete any files?

No. Quitting only stops the app. Files already in the OneDrive folder stay on the Mac and in the online account. Changes made while OneDrive is closed are synced the next time it starts.

Why does OneDrive keep coming back after I quit it?

It is set to open at login. Remove it from System Settings, General, Login Items & Extensions, and it will stay closed after a restart until it is opened manually.

OneDrive is frozen and not in the Force Quit window. How do I close it?

OneDrive runs from the menu bar without a Dock icon, so it may not appear in the Force Quit window. Open Activity Monitor, search for OneDrive, select the process, click the stop button and choose Quit or Force Quit.

Can I hide the OneDrive icon but keep syncing?

OneDrive has no built in option for this. On macOS Tahoe 26 and later, System Settings, Menu Bar, Allow in the Menu Bar has a switch for each app's menu bar item. On earlier versions, a menu bar organizer can move the icon out of sight while OneDrive keeps running.

What is the difference between pausing and quitting OneDrive?

Pausing stops sync for 2, 8 or 24 hours and then resumes it automatically, with the icon still in the menu bar. Quitting closes the app entirely, and it stays closed until opened again or until the next login.

Back to all posts