Sync SharePoint Library with OneDrive – Step‑by‑Step Guide
In this article
Yes, you can sync a SharePoint library to OneDrive by using the built‑in Sync button, which creates a local copy that stays automatically updated.
What You'll Need
- A Microsoft 365 account that has at least read permission on the SharePoint site containing the library.
- The OneDrive sync client installed on your computer (Windows 10/11, macOS 10.14+, or the official mobile app). The client should be up to date; you can check for updates from the OneDrive settings menu.
- Internet connectivity for the initial connection and for ongoing changes.
- Enough local disk space to hold the files you plan to sync.
Step‑by‑Step
- Open a supported web browser (Microsoft Edge, Chrome, or Firefox) and sign in to your Microsoft 365 account.
- Navigate to the SharePoint site that contains the library you want to sync. If you are not sure where the library lives, use the site’s navigation pane or the search box at the top of the page.
- Open the library view. In the modern SharePoint experience you will see a toolbar at the top of the file list. Click the Sync button. (If you are using the classic view, the button is also labeled “Sync” but may be located under the “Library” tab.)
- If a pop‑up appears asking for permission to open OneDrive, click Open Microsoft OneDrive. If your browser blocks the pop‑up, look for a notification bar and allow the request.
- The OneDrive client will launch and display a dialog asking where you want to store the synced folder on your computer. Choose a location that has sufficient free space and click Start sync. The default location is
C:\Users\[YourName]\OneDrive – [Organization]on Windows or/Users/[YourName]/OneDrive – [Organization]on macOS.- You can change the folder name before clicking “Start sync” if you want a clearer label in File Explorer or Finder.
- OneDrive will begin downloading the library contents. You can monitor progress by clicking the OneDrive cloud icon in the task‑bar (Windows) or menu bar (macOS). The icon will show a rotating sync symbol while files are being transferred.
- Large libraries may take several minutes or longer, depending on file size and network speed.
- When the sync completes, the library appears as a regular folder under the OneDrive directory. Open it in File Explorer or Finder to verify that the files are present and that the folder structure matches the SharePoint library.
- Any changes you make to files inside this local folder – adding, editing, or deleting – are automatically uploaded to SharePoint and reflected for other users. Likewise, changes made by colleagues in SharePoint appear in the local folder within a few seconds.
- If you want to pause syncing temporarily, right‑click the OneDrive icon and select Pause syncing > choose a duration.
- Optional: Adjust selective sync settings if you do not need every folder. Right‑click the OneDrive icon, choose Settings, go to the Account tab, and click Choose folders. Uncheck any sub‑folders you want to keep cloud‑only.
- This reduces local storage usage and speeds up the initial sync.
Common Mistakes
- Missing permissions: Users who only have “View only” rights cannot start a sync. Verify that you have at least “Edit” permission on the library.
- Using the classic SharePoint view: The Sync button is hidden in some older classic pages. Switch to the modern view by clicking “Return to classic SharePoint” at the bottom and then back to the modern UI.
- Out‑of‑date OneDrive client: An older client may not recognise the modern Sync button, resulting in an error. Always run the latest version.
- Syncing to a network drive: OneDrive only supports local drives. Attempting to sync to a mapped network location will fail silently.
- Exceeding the 300,000‑item limit: OneDrive for Business has a known limit on the number of items it can sync reliably. If the library is extremely large, consider using selective sync or splitting the library.
Tips
- Keep the OneDrive client set to start automatically with Windows or macOS so the library stays in sync after a reboot.
- Use the “Files on‑demand” feature (Windows) to see placeholders for files without downloading them until you open them. This saves disk space.
- If you work on multiple devices, repeat the same steps on each device; OneDrive will merge changes across all machines.
- Rename the local folder only after the initial sync finishes; renaming during sync can cause temporary duplicate folders.
- Enable the “Notify me when sync is paused or has errors” option in OneDrive settings to receive immediate alerts.
Troubleshooting
If the library does not appear in File Explorer after you click Sync, follow these checks in order:
- Restart the OneDrive client. Right‑click the OneDrive cloud icon and select Close OneDrive. Then launch OneDrive again from the Start menu (Windows) or Applications folder (macOS).
- Verify internet connectivity. A dropped connection stops the initial download. Open a web page to confirm you are online.
- Check the Microsoft 365 service health page. Occasionally the SharePoint backend experiences outages that prevent syncing.
- Confirm you are signed in with the correct account. OneDrive can show multiple accounts; make sure the one you used to click Sync is the active account.
- Update OneDrive. In the OneDrive settings menu, go to the About tab and click Version to see if an update is available.
- Reset the OneDrive sync client. This removes all existing sync connections but keeps your files on the server. To reset, press
Win+R, type%localappdata%\Microsoft\OneDrive\onedrive.exe /resetand press Enter. After a few seconds the client restarts automatically. - Re‑add the library. In the OneDrive settings under the Account tab, click Stop sync next to the problematic library, then repeat the Step‑by‑Step section from the beginning.
- Clear cache (mobile only). On Android or iOS, go to the app settings and tap “Clear cache”. Then sign out and back in.
If none of the above resolves the issue, contact your organization’s IT support and provide the error message shown by the OneDrive client (accessible via the “View sync problems” link in the OneDrive menu).
Frequently Asked Questions
Can I sync a SharePoint library on a Mac?
Yes. The OneDrive client for macOS supports the same Sync button workflow. The steps are identical, except the OneDrive icon appears in the menu bar and the default folder path is under /Users/[YourName]/OneDrive – [Organization].
What happens if I delete a file locally?
The deletion is synced back to SharePoint and moves the file to the SharePoint Recycle Bin. You can restore it from there within 93 days (the default retention period).
Is there a limit to how many files I can sync?
OneDrive for Business recommends staying below 300,000 items per synced library for optimal performance. Exceeding that may cause sync errors or slowdowns.
Do changes made on mobile devices sync the same way?
Yes. The OneDrive mobile app uses the same backend; any edit, addition, or deletion performed on the phone updates the SharePoint library and appears on your desktop client.
Can I sync multiple SharePoint libraries at once?
Each library creates its own folder under the OneDrive root. You can sync as many as you need, limited only by storage space and the item‑count recommendation.
What if I need to stop syncing a library?
Right‑click the OneDrive icon, open Settings**, go to the **Account** tab, find the library under “Sync your OneDrive files on this PC”, and click **Stop sync**. The local copy remains on your computer unless you choose to delete it when prompted.