Stop syncing a library with the OneDrive for work or school app
Applies ToSharePoint Server 2016 SharePoint Server 2013 Enterprise SharePoint in Microsoft 365 OneDrive (work or school) OneDrive for Mac OneDrive for Windows SharePoint in Microsoft 365 Small Business

If you’ve synced Microsoft OneDrive for work or school or a SharePoint site library to folders on your computer, you can stop syncing these folders at any time. When you stop syncing a folder, you disconnect the folder on your computer from the library on the server. You can always sync the library to your computer again.

If you want to stop syncing a file or folder, read How to stop or cancel sync in OneDrive.

Why stop syncing a library?

Usually, you stop syncing when you no longer need to sync updates between the folder and the library on the server, or because you’ve completed a project. If something goes wrong with the connection between the folder and the library on the server, you can often fix the problem by stopping the current sync relationship, and Sync files with OneDrive in Windows, as if for the first time.

If you’re having sync problems, you can also run Repair. Repair disconnects and reconnects all libraries you’re currently syncing.

You can also pause syncing a folder. This allows you to temporarily stop syncing a folder without disconnecting it from the library on the server. You might pause syncing if you don’t want to use your system resources for syncing at the present time. You can resume syncing at any time.

Syncing a OneDrive for work or school library is a function of Windows and the OneDrive for work or school app, and is specific to your computer. You can only pause and stop syncing from your local computer, not from the online app.

Once you've stopped syncing a set of files, you can delete them from either your local computer, or from OneDrive for work or school. If you delete a file from OneDrive for work or school online, and then sync again, that file will be deleted from your local computer.

You can stop syncing a library, but not individual files or folders under that library.

For a list of more information about syncing libraries on OneDrive for work or school or OneDrive for work or school, see Sync libraries using OneDrive for Business​​​​​​​

You can only stop syncing a library if you're using the previous OneDrive sync app. Which OneDrive app?

When you stop syncing a folder, the folder is disconnected from its library. All files are retained in the previously synced folder. You can sync the library to your computer again at any time. When you start syncing a library again, it will create a new folder on your computer. If it's using the same name, it will add a number to the end, such as 1, 2, and so on.

  1. Select the OneDrive for work or school icon The previous OneDrive for Business sync client icon. in the Windows notification area at the bottom of your screen, and then select the Settings icon.

    OneDrive settings Stop Sync

    If the OneDrive for work or school icon The previous OneDrive for Business sync client icon. isn't visible, click the Show hidden icons button Button to see notification icons in the notification tray. If you still don't see the icon, OneDrive for work or school might not be running. Go to Start, type OneDrive in the search box, and select OneDrive for work or school.

  2. Select Settings.

  3. Select Account and then select Choose folder.​​​​​​​ OneDrive settings Stop Sync Account 2

  4. Select the folder you want to stop syncing, and then select OK.

To keep the connection between your computer and the server, but stop syncing temporarily, follow these steps to pause a sync relationship.

Pause syncing a library using the new OneDrive sync app

  1. Select the OneDrive for work or school icon The new OneDrive for Business sync client icon. in the Windows notification area at the bottom of your screen, and select the Settings icon.

  2. Select Pause syncing, and choose 2 hours, 8 hours, or 24 hours.

    OneDrive settings Pause Sync

    If the OneDrive icon The new OneDrive for Business sync client icon. isn't visible, click the Show hidden icons button Button to see notification icons in the notification tray. If you still don't see the icon, OneDrive might not be running. Go to Start, type OneDrive in the search box, and select OneDrive.

  3. This pauses syncing for OneDrive for work or school. To resume syncing, right click the OneDrive for work or school icon The new OneDrive for Business sync client icon. in the Windows notification area, and then click Resume syncing.

Pause syncing a library using the previous OneDrive sync app

  1. Right-click the OneDrive for work or school icon The previous OneDrive for Business sync client icon. in the Windows notification area at the bottom of your screen, and then click Pause syncing.

    A screenshot of the previous OneDrive for Business menu with Pause syncing selected.

    If the OneDrive for work or school icon The previous OneDrive for Business sync client icon. isn't visible, click the Show hidden icons button Button to see notification icons in the notification tray. If you still don't see the icon, OneDrive for work or school might not be running. Go to Start, type OneDrive in the search box, and select OneDrive for work or school.

  2. This pauses syncing for all libraries you’ve synced to your computer. To resume syncing, right click the OneDrive for work or school icon in the Windows notification area, and then click Resume syncing.

See Also

Sync files with OneDrive in Windows

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.