To sync OneDrive on Windows 11, set up the OneDrive app with your Microsoft account or your work or school account, then save, copy or move files into the OneDrive folder in File Explorer. Files inside that folder sync on their own while you are online. Microsoft says a file you add, change or delete there is added, changed or deleted on the OneDrive website too, and the other way round.
To check that a file has synced, select the OneDrive cloud next to the clock, or open the Show hidden icons arrow if you do not see it. On our PC each file we saved, pasted or edited in File Explorer and Notepad was listed there as "Uploaded to" its folder within seconds, and File Explorer showed a green tick beside it. Uploading a file on the OneDrive website is different: it copies that one file to the cloud and does not connect your PC.
The short version
- Set it up: press Windows, type OneDrive, open the app and sign in.
- Sync a file: save, copy or move it into the OneDrive folder in File Explorer.
- Check it: select the cloud by the clock and look for Uploaded to beside the file name.
- Pick folders for this PC: cloud, gear, Settings > Account > Choose folders.
- Add Desktop, Documents or Pictures: Settings > Sync and backup > Manage backup.
- Keep a file offline: right-click it and choose Always keep on this device.
Ways to sync OneDrive at a glance
Each route below puts a file somewhere OneDrive watches, or changes what this PC keeps. The first two are the everyday ones, and the last two decide how much disk space OneDrive uses.
| What you want | Where to go | What happens |
|---|---|---|
| Sync a file that is already on your PC | Copy it, then Paste inside the OneDrive folder in File Explorer | The copy uploads and the original stays where it was |
| Save a new Word file to OneDrive with Ctrl + S | Choose a Location, your OneDrive, then Save | The file is saved in OneDrive and AutoSave turns on by default |
| Upload one file in a browser | OneDrive on the web, Create or upload > Files upload | A one-time upload that reaches a PC only if the same account syncs there |
| Show or hide a cloud folder on this PC | Cloud, gear, Settings > Account > Choose folders | A cleared folder leaves this PC and stays in OneDrive |
| Sync Desktop, Documents or Pictures | Cloud, gear, Settings > Sync and backup > Manage backup | The folders you switch on start backing up after Save changes |
| Keep a file on this PC | Right-click, Always keep on this device | A solid green circle, and the file stays downloaded |
| Save disk space | Right-click, Free up space | A cloud outline, and the file downloads again when you open it |
How OneDrive sync works
OneDrive does not sync your whole PC. Your own files sync through one folder, the OneDrive entry in File Explorer's navigation pane, which for a work account on our PC was named OneDrive followed by the organization's name. A text file we saved in the PC's own Documents folder, which was not backed up, sat outside it, and that folder had no Status column at all.
Two features widen that. Folder backup adds Desktop, Documents or Pictures, and once we backed up Documents, it opened inside the OneDrive folder in File Explorer. Microsoft says a SharePoint library you sync or add as a shortcut also shows up in File Explorer, and both are covered further down.
Inside the OneDrive folder, sync runs both ways. Microsoft says that if you add, change or delete a file or folder there, the same happens on the OneDrive website, and changes made online come back to the PC. To have the same files on another PC, set up the OneDrive app there with the same account.
That is why sync is not a separate backup: when you delete an online-only file from your device, Microsoft says you delete it from your OneDrive on all devices and online. Microsoft also says files deleted from your computer's OneDrive go to the PC's Recycle Bin, so look there first, then in the OneDrive recycle bin on the website. Our guide on how to recover deleted files on Windows covers the rest of the PC.
Set up OneDrive on Windows 11
Microsoft says that if you have Windows 11, OneDrive is already installed on your PC, so there is usually nothing to download. Press Windows, type OneDrive and select Open under the OneDrive app. On our PC the app was the Best match, with Open at the top of its list and Uninstall at the bottom. If OneDrive is missing from Start, use our steps to install the OneDrive desktop app before you sign in.
When OneDrive asks, Microsoft's steps are to enter your Microsoft personal account or your work or school account and select Sign in. On the This is your OneDrive folder screen, select Next to keep the default location, or Change location if you want the folder on another drive. Microsoft calls setup the best time to make that change.
The next screen, All your files, ready and on-demand, explains the icons that show whether a file is online-only or on the PC. Select Next there and on any screens that follow, and Microsoft says your OneDrive files then appear in File Explorer in the OneDrive folder. Once sync has completed, Microsoft suggests choosing which folders sync to the PC and turning on folder backup, both covered below.
Once the app was signed in, its blue cloud sat directly in the notification area on our PC, without opening the Show hidden icons arrow. When we quit OneDrive and opened it again from Start, the cloud came back signed in with no prompt, and OneDrive also opened a File Explorer window on its folder.
Add files to the OneDrive folder
Anything you put inside the OneDrive folder syncs, so the job is getting files there. Open File Explorer and select the OneDrive entry in the navigation pane, then create, save, copy or move files into it. From the New menu we made a folder inside OneDrive, and it showed a green tick straight away.
To sync a file that already lives elsewhere and keep the original, right-click it and choose Copy. Then open a folder inside OneDrive, right-click an empty space and choose Paste. Our guide to copy and paste a file covers the keyboard shortcuts if you prefer them.
When we pasted a small text file from Documents into a OneDrive folder, the copy had a green tick within a second and the original stayed in Documents. The same right-click menu also has a OneDrive submenu holding Move to OneDrive, which moves the file instead of copying it, so the file leaves its old folder.
Saving straight into the folder works the same way. We saved a note from Notepad into a OneDrive folder, and a moment later the OneDrive flyout listed it as "Uploaded to" that folder.
Check that a file has synced
Select the OneDrive cloud in the notification area to open its flyout. The top line reads "Backed up and synced" when nothing is waiting, and each recent file has a line under it that says what happened: "Uploaded to" a folder for a change from this PC, or "Available in" a folder for a file that came from the cloud.
File Explorer's Status column mainly shows whether each file is on this PC, and a green tick there does not by itself confirm that the latest change has uploaded. A green tick in an outline means the file is on this PC, and a blue cloud outline means it is online-only. Select a file and the status bar at the bottom spells it out, for example "Available on this device".
Edits sync too, not only new files. We changed the text of a synced file in Notepad and pressed Ctrl + S; about ten seconds later the flyout listed it as "Uploaded to" its folder, 7 seconds ago, and File Explorer kept the green tick with the new time. Those timings are what we saw for a tiny file, not a promise for large ones.
Save Word files straight to OneDrive
Office apps can save into OneDrive without File Explorer. In Word for Microsoft 365, pressing Ctrl + S on a new document opened a small "Save this file" box for us, with OneDrive already chosen under Choose a Location and marked Default in its list. More options opens the full Save As page, where New Folder lets you make a folder inside OneDrive first.
After we picked a folder on that page and saved, the title bar read "Saving" and then "Saved", and the AutoSave switch at the top left turned On. Selecting the file name in the title bar showed the folder it was saved in. Microsoft says AutoSave is enabled by default in Microsoft 365 when a file is stored on OneDrive, so later changes save as you type.
The same document then appeared in that folder in File Explorer on our PC, with a cloud icon, because Word and the OneDrive app used the same account. The Word basics guide explains the File and Save controls, and if Word closes before you save, you can recover an unsaved Word document.
Choose which OneDrive folders appear on this PC
If you do not want every OneDrive folder on this PC, select the cloud, select the gear, choose Settings and open Account. Select Choose folders, clear the folders you do not need here and select OK. Microsoft says these choices are saved separately for each computer and each account.
The list is a tree, not a flat list. The arrow beside a folder opens its subfolders, each with its own box, so we could clear one subfolder and keep its sibling; the parent's box then showed a partial tick. Choose folders only lists folders that are already in OneDrive, and Microsoft says you can't use it to add a folder from elsewhere on your PC.
Read the note before you select OK. Clearing a box changed it to: "If you hide these folders on your PC, the files will stay on OneDrive but won't be available on this PC. Any items in this folder will be deleted from this PC." After OK, only that subfolder left File Explorer, and its local copy turned up in the Windows Recycle Bin.
The folder was still listed with an empty box when we reopened Choose folders. Ticking it and selecting OK brought it back to File Explorer, but as an online-only folder with a cloud icon, although it had been on the PC before.
Keep files offline or free up space
OneDrive does not have to download everything. Microsoft says new files from the cloud are online-only by default, while files created on the device are available offline by default. Right-click any file or folder in OneDrive to change that, using Always keep on this device or Free up space.
On our PC, Always keep on this device turned a file's green tick outline into a solid green circle, with "Always available on this device" in the status bar. Free up space then turned it into a blue cloud outline, "Available when online", and the file stayed listed. Opening the online-only file downloaded it at once, with its text unchanged.
Microsoft notes that you can't open online-only files when your device isn't connected to the internet, so mark anything you need for a trip before you leave. OneDrive's Settings > Sync and backup > Advanced settings had only two buttons under Files On-Demand for us, Free up disk space and Download all files, and no switch to turn Files On-Demand off. For space beyond OneDrive, see how to free up disk space on Windows 11.
Back up Desktop, Documents and Pictures
Files you save in the PC's own Desktop, Documents or Pictures folders only sync if OneDrive's folder backup includes them. Open the cloud, the gear and Settings, stay on Sync and backup and select Manage backup. Microsoft's instruction is to toggle any folder that says Not backed up and then select Save changes. Microsoft's pages also name Music and Videos among the standard folders, but Manage backup listed only these three for us.
On our PC all three folders started as "Not backed up", with Save changes greyed out. Switching on Documents changed it to "Ready to back up", and after Save changes OneDrive said it was backing up the files in the background. The flyout then listed them as "Uploaded to Documents". Microsoft adds that a work or school IT admin may have turned this feature off.
Think before you stop backup later. OneDrive then asks where to keep the files. The preselected Only in OneDrive leaves the PC's own Documents folder without them, while Only on my PC took the whole Documents folder off OneDrive for us, including a folder that was already there before backup started. Our guide to turn off OneDrive walks through those choices, along with pausing, quitting and unlinking the PC.
Because backup is still sync, a deletion on the PC also leaves OneDrive. If you want a copy that stays put, set the files you need to Always keep on this device, then set up File History backups that include their folder and check that a backup has finished.
Upload files on the OneDrive website
The website is for adding files from a PC that does not sync, or from someone else's computer. Open OneDrive on the web, go to My files and the folder you want, then select Create or upload and Files upload or Folder upload. In a narrow window the button shrinks to a round plus sign.
Dragging works as well. When we dragged a file from File Explorer onto the OneDrive page in Microsoft Edge, the page showed a dashed outline with "Copy", and the file was uploaded when we let go. Uploading a file with a name that was already in the folder brought up a choice of Replace or Keep both.
A web upload reaches File Explorer only if the OneDrive app on that PC is signed in to the same account and the folder is selected in Choose folders. If the file does not appear, check both before anything else.
Sync a shared folder or SharePoint library
A folder someone shares with you does not land on your PC by itself. A folder that another person had shared with the account we synced was nowhere on the PC: File Explorer's Home > Shared tab said "No shared files yet", and no shortcut appeared in the OneDrive folder.
Microsoft's answer is a shortcut to the shared folder. On OneDrive on the web, open Shared (Shared > With you for a work or school account), select the folder and choose Add shortcut to My files, and Microsoft says the shortcut then appears in Windows File Explorer too. It works for folders only, not individual shared files.
Why the command can be missing depends on the account. For a personal account, Microsoft says you can add shared folders you have edit permission to. For a work or school account, it is missing if you already added the folder, selected more than one folder or already added 100 shortcuts in the same library, and Microsoft says folders shared with external users can't be added.
For a team site, first find the SharePoint document library. Its bar had Add shortcut to OneDrive, and Sync was in the three-dot menu, where selecting it made Edge ask "This site is trying to open Microsoft OneDrive." Microsoft recommends shortcuts as the more versatile option, because the Sync button is tied to one device.
Fix a file that does not sync
Start with where the file is. Its path in File Explorer's address bar should begin with OneDrive, as our backed-up Documents folder did. A file in the PC's own Desktop, Documents or Pictures syncs only if Manage backup includes that folder, so otherwise copy or move it into OneDrive. If a OneDrive folder is missing from File Explorer altogether, tick it again in Choose folders.
Then check whether OneDrive is paused. When we paused it for two hours and saved an edit, File Explorer's address bar started with "Paused", the file showed a blue two-arrow icon with "Sync pending" in the status bar, and the flyout carried a yellow bar: "Your files are not currently syncing".
To restart it, select the yellow bar, or open the gear menu, where Resume syncing sits in place of Pause syncing and Settings is greyed out. After we selected Resume syncing, the waiting edit was listed as uploaded 1 second ago and the green tick came back.
OneDrive can also pause on its own. Its Settings page listed Pause syncing when this device is on a metered network as On for us, so uploads can stop on a connection Windows treats as metered. If the flyout reports an error after these checks, follow our OneDrive not syncing fixes.
How we tested this guide
We tested this with OneDrive and Word for Microsoft 365 on Windows 11, version 25H2, syncing new and edited files from File Explorer and Word.
Frequently Asked Questions
Does OneDrive sync automatically?
Yes, for files inside the OneDrive folder while the app is running and online. Saved edits uploaded within seconds on our PC, with no button to press.
Why is a file in my Documents folder not in OneDrive?
Documents only syncs if Manage backup includes it. Otherwise save, copy or move the file into the OneDrive folder.
Why did a folder disappear after I cleared it in Choose folders?
Clearing it removes the folder from this PC, as the note in that window warns, while the files stay in OneDrive. Tick it again and select OK to bring it back, online-only.
How do I know a file has finished syncing?
Select the OneDrive cloud and look for "Uploaded to" beside the file, under "Backed up and synced". A green tick in File Explorer means the file is on this PC.
Can I open an online-only file without internet?
No. Right-click it and choose Always keep on this device before you go offline, and wait for the solid green circle.
Does uploading on the OneDrive website sync my PC?
Only if the OneDrive app on that PC uses the same account and that folder is selected in Choose folders. The upload itself is a one-time copy and does not connect a PC to OneDrive.
What happens if I delete a synced file?
The deletion syncs as well, so the file leaves OneDrive online and on your other devices. If it was a mistake, look in your PC's Recycle Bin first, then in the OneDrive recycle bin on the website.