Sign in at onedrive.com with your Microsoft account, or open the OneDrive app on Windows, Mac, iOS or Android, and your files sync automatically to the cloud. The core idea is simple: anything you save inside the OneDrive folder exists both on your device and on Microsoft's servers, so it is available from any other device you sign in to. The first thing to do after signing in is check how much storage your account has and confirm that sync is actually running.

How Much Storage You Get and How to Check It

Free OneDrive accounts include 5 GB of storage. Microsoft 365 subscriptions raise that substantially, and the exact allowance depends on your plan, so check the current figure on your account page rather than assuming. To see what you have: sign in at onedrive.com, click the gear icon or your account picture, and open the storage or plan section. It shows total space, used space, and a breakdown by file type.

If you run out, files stop syncing and new uploads fail. The storage page lists large files and the recycle bin, both good places to reclaim space. Emptying the recycle bin permanently deletes those items, so review it first. Files shared with you by other people count against the owner's storage, not yours, unless you copy them into your own OneDrive.

How to Set Up Sync on Windows and Mac

Windows usually has OneDrive built in. Open the Start menu, search for OneDrive, and launch it; if it is not there, install it from the Microsoft Store. Sign in with your Microsoft account, then choose where the OneDrive folder lives on your drive. The default location is inside your user folder, and you can change it during setup with the Change location button.

On a Mac, install the OneDrive app from the App Store or Microsoft's download page, open it, and sign in. macOS asks for permission to access your folders; grant it, or sync will not work. After setup, a cloud icon appears in the menu bar or system tray.

Once configured, the OneDrive folder behaves like any other folder. Save a document into it and a small status icon appears next to the file: a blue circle with arrows means syncing, a green check means synced, and a cloud outline means the file is online-only. Do not shut the computer down while files show the syncing icon, or the upload pauses until the machine is back on.

What Files on Demand Means and When to Use It

Files On-Demand keeps files visible in your folder without downloading all of them. Online-only files take almost no disk space and download the moment you open them. To control it, right-click any file or folder and choose Free up space to make it online-only, or Always keep on this device to pin it locally.

Use Always keep on this device for anything you need offline, such as work files for a flight or a presentation at a venue without Wi-Fi. Leave large media libraries and archives as online-only to protect your disk. If a file you expected to be local shows a cloud icon and will not open without a connection, right-click it and select Always keep on this device, then wait for the green check before you travel.

How to Upload, Create and Share Files

In the browser, click Upload and pick files, or drag them from your desktop straight into the window. To create a new document, click New and choose Word, Excel, PowerPoint or a folder; the file opens in the web app and saves automatically as you type.

To share, select the file or folder, click Share, and choose either a link or specific people. A link with edit permission lets anyone who has it change the file; a view-only link is safer for finished documents. Set an expiration date or a password on the link when the option is offered. For sensitive files, share with named email addresses rather than a link that anyone can forward.

How to Recover Deleted or Previous Versions of a File

Deleted files go to the OneDrive recycle bin and stay there for 30 days before permanent removal. Open the recycle bin in the left sidebar, select the item, and click Restore. Files deleted from a synced folder on your computer also land in the same online recycle bin.

For edits you regret, right-click the file and choose Version history. OneDrive keeps earlier versions of most documents, and you can open or restore any of them. Version history is the fix for an overwritten spreadsheet or a document someone else edited badly; restoring a version does not delete the current one, so you can go back again if needed.

How to Use the OneDrive Mobile App

Install the OneDrive app, sign in, and turn on camera backup if you want photos uploaded automatically. The app can scan documents with the camera: tap the plus button, choose Scan, photograph the page, and the app crops and saves it as a PDF or image. Scanned files upload to your OneDrive and appear on your computer within moments.

On mobile, tap the three-dot menu next to a file for options such as Make available offline, Share, Copy link and Delete. Offline files are marked and remain readable without a connection. Be aware that camera backup can consume storage quickly; check the storage page periodically and turn off automatic video backup if space is tight.

Fixing Common Sync Problems

If a file will not sync, first check the cloud icon for an error marker. A red X means a conflict or a blocked file; click the icon to read the message. Common causes are a full storage quota, a file name containing characters the system rejects, or the same file open on two devices at once.

To force a refresh, pause and resume sync from the OneDrive settings, or sign out and back in. If a file is stuck, move it out of the OneDrive folder, let sync settle, then move it back. On Windows, the OneDrive settings window has a button to check for sync issues and shows which files are failing. Keep the app updated, since older versions can stop connecting.

Choosing Between OneDrive, a Local Folder and Another Cloud Service

OptionBest forOffline accessSharing
OneDrive folderFiles you want on every deviceYes, with Files On-DemandLinks and named people
Plain local folderLarge projects, backupsAlwaysManual, by email or drive
Other cloud storageCross-service sharingDepends on appVaries by service

Pick the OneDrive folder for documents you edit in more than one place. Keep huge video projects or system backups in a local folder or an external drive, because syncing gigabytes over a slow connection wastes time and storage. If you collaborate with people who use a different service, a shared link from OneDrive usually opens in a browser without an account, which is enough for viewing.

Keeping Your Account and Files Safe

Turn on two-step verification in your Microsoft account security settings; it blocks sign-ins even if someone learns your password. Use a strong, unique password and review the recent activity page for unfamiliar sign-ins. Share links sparingly and remove access when a project ends by opening the file's sharing settings and deleting the link or person.

Remember that anything in OneDrive is only as safe as your account. Do not store recovery codes in the same OneDrive account, and keep a local copy of irreplaceable files on an external drive as well. If you stop paying for a subscription, storage above the free limit becomes read-only after a grace period, so download important files before a plan lapses.