Change the location of your OneDrive folder

To move the location of your OneDrive folders in your computer, you will need to unlink, move, then relink your OneDrive to the location.

  1. Select the OneDrive cloud in your notification area to show the OneDrive pop-up.
    Blue and white OneDrive icons
  2. Select the OneDrive Help and Settings icon  Settings  then select Settings.
  3. Go to the Account tab.
    A screenshot showing the Account tab in OneDrive settings.
  4. Select Unlink this PC, and then select Unlink account.

2. Move your OneDrive folders

Using File Explorer or Mac Finder, drag or move your computer's OneDrive folders to your preferred location.

Tip

If you want to have your OneDrive on a different drive (e.g. D:\ or a flash drive), read Install OneDrive on an external drive.

Follow these steps to re-link your OneDrive

  1. Go back to the OneDrive setup screen and select Get started
  2. Follow the instructions until you get to the screen where you see your OneDrive folder's location. Select Change Location.
  3. Choose the new folder location, and then select OK.
  4. You'll see a message letting you know that the OneDrive folder in the new location already has files in it. Select Use this location, and then finish setting up OneDrive.

Tip

If you had chosen to sync only some folders before the reset, you'll need to do that again once sync has completed. See Choose which OneDrive folders to sync to your computer for more information.

Need more help?

Account support. For help with your Microsoft account and subscriptions, visit Account & Billing Help.

Technical support. For technical support, select Contact Microsoft Support below, enter your problem and select Get Help.

Mobile users can contact Support by opening the OneDrive app and gently shaking your device.

Community support. Communities help you ask questions, give feedback, and hear from experts with rich knowledge. Ask the Microsoft Community. Do not disclose personal or sensitive information in public forums.