How To Sync A SharePoint Library To File Explorer (2027)
Quick answer
- In your browser, open the SharePoint or Teams site, select Documents (or the subfolder you want), then select Sync once; the files appear in File Explorer under a folder named after your organization.
- To stop syncing, select the blue OneDrive cloud icon > Help and Settings gear > Settings > Account, then select Stop sync for that library; the local copies stay on your computer.
- If there is no Sync button, or you see “Which library do you want to sync?”, the site is not set up for the new sync app and the site owner or IT admin has to fix it.
Applies to: SharePoint and Teams files with a Microsoft 365 work or school account, on Windows with the new OneDrive sync app
Syncing a SharePoint document library puts the team’s files in File Explorer, so you can open them like any other folder on your PC.
Microsoft says you only need to do it once per computer, and that the Sync button is the same for SharePoint sites and for the files tab in Teams.
This guide covers the steps, where the files go, how to stop syncing and what to check when the Sync button does not work.
Table of Contents
- Quick answer: sync and stop syncing
- What you need first
- Sync a SharePoint library or Teams files
- Where the synced files appear
- Sync or add a shortcut to OneDrive
- Change which folders sync
- Stop syncing a library
- No Sync button, or “Which library do you want to sync?”
- Limits that stop files syncing
- A lock icon on a file
- Moving files between synced sites
- Sources
- More Windows guides
Quick answer: sync and stop syncing
| Goal | Where | What to select |
|---|---|---|
| Sync a library or folder | SharePoint or Teams in a browser | Documents (or a subfolder), then Sync |
| Find the files | File Explorer left pane | Folder named after your organization |
| Choose which folders sync | OneDrive Settings > Account | Choose folders |
| Stop syncing a site | OneDrive Settings > Account | Stop sync |
| No Sync button | Library in SharePoint | Ask the site owner to check Offline Client Availability |
What you need first
Microsoft says you need a Microsoft 365 work or school subscription, or SharePoint Server 2019 with Teams.
Microsoft’s page refers to the new OneDrive sync app and says support for the old OneDrive for Business sync app has ended.
These steps do not apply to a personal OneDrive account, which has its own guides.
Sync a SharePoint library or Teams files
- In your browser, select the Microsoft 365 app launcher, the nine-dot icon near the upper left corner.
- Select SharePoint or Teams, then select the site that has the files you want.
- Select Documents, or open the subfolder you want to sync.
- Select Sync.
- If your browser asks for permission to use Microsoft OneDrive, confirm.
To sync the same files on another computer, repeat these steps there.
To sync one folder only, open that subfolder in step 3 before you select Sync.
Where the synced files appear
Files sync to a folder named after your organization, such as %userprofile%\Contoso in Microsoft’s example, and it is added to the left pane of File Explorer.
Microsoft says you cannot choose a different location for it.
If you used the previous sync app, you may also see an old SharePoint or Teams folder under Favorites, which you can remove by right-clicking it and selecting Remove.
Sync or add a shortcut to OneDrive
Microsoft recommends adding a shortcut to a library or folder in OneDrive where that option is available.
| Sync button | Shortcut in OneDrive | |
|---|---|---|
| Works on | One device at a time | All your devices |
| Performance | Slower than a shortcut | Better than the Sync button |
Microsoft’s sync page links to a separate guide for adding shortcuts, so use that if you want the files on every device.
Change which folders sync
- Select the blue OneDrive cloud icon in the taskbar notification area, using the Show hidden icons arrow if you do not see it.
- If it is still missing, open OneDrive from the Start menu search.
- Select the Help and Settings gear icon, then Settings.
- Open the Account tab, which lists every site you sync.
- Select Choose folders for the library you want to change.
Stop syncing a library
Use the same Account tab and select Stop sync beside the site you no longer want on this computer.
Microsoft says the local copies remain on your computer after you stop.
Microsoft’s page for the previous sync app adds that files you delete online are deleted locally at the next sync, and that syncing the library again creates a new folder with a number added if the name is taken.
If you only want a break, Microsoft says pausing keeps the connection; right-click the OneDrive icon and select Resume syncing to restart.
No Sync button, or “Which library do you want to sync?”
Microsoft says this means the site is not set up for the new sync app.
- Sign in to Microsoft 365 with your work or school account.
- Open the SharePoint document library.
- If there is no Sync button, contact the site owner.
Site owners can enable it under Library settings > More library settings > Advanced settings > Offline Client Availability.
Limits that stop files syncing
| Limit | What Microsoft says | Fix |
|---|---|---|
| File size | 250 GB per file maximum | Zip the file or reduce picture size |
| Path length | Full path plus filename under 400 characters | Shorten names, or sync a folder nearer the top |
| Characters | No < > : ” | ? * / \ in names | Rename the item |
| Library size | More than 100,000 files can take a long time | Choose which folders to sync |
To count files, right-click the OneDrive folder in File Explorer, choose Properties and read the Contains value.
Sites with a colon in the name cannot be synced, because Windows does not allow that character in folder names.
A lock icon on a file
A lock icon on a synced file means it is read-only, and changes to it will not sync.
Microsoft says you may lack edit permission, or the library may require checkout or metadata.
For a file that shows as locked in Word, see our guide to fixing a Word document locked for editing.
Moving files between synced sites
Microsoft says you cannot move OneNote notebooks between sites on your computer.
Moving other Office files between sites loses version history, so use Move to or Copy to on the site instead.
If a sync icon stays stuck, our guide to OneDrive stuck on processing changes covers the pause and resume trick.
Sources
- Sync SharePoint and Teams files with your computer, Microsoft Support
- Fix SharePoint Online sync problems, Microsoft Support
- Stop syncing a library with the OneDrive for work or school app, Microsoft Support
More Windows guides
- How To Fix File Explorer Preview Pane Blocked (2027)
- How To Turn Off Recent Files In File Explorer (2027)
- How To Change File Associations In Windows 11 (2027)
- How To Edit The Hosts File In Windows 11 (2027)
- How To Mount And Unmount An ISO File In Windows 11 (2027)
- How To Show File Extensions And Hidden Files In Windows 11 (2027)
See all: Windows 11 Guides