Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
How to remove an Outlook .pst data file from OneDrive

When you add a POP3 email account to Outlook or create archives or backup files from any of your accounts in Outlook, an Outlook Data File (.pst) may be created within your OneDrive.

If this data file becomes large it can slow down your OneDrive sync and may show "Processing changes" or "A file is in use".

OneDrive "file in use" dialog

Move your Outlook .pst data file from OneDrive to another folder

  1. Close Outlook and wait for OneDrive sync to complete.

  2. Open File Explorer and browse to C:\Users\[username]\OneDrive\Documents\Outlook Files.

    Note: If the .pst file is not here, open Outlook, right-click the account which has the .pst you wish to move, and select Data File Properties > Advanced to see the full path of the filename.

  3. Copy the .pst file from the OneDrive folder to a new or existing location on your PC which is not in your OneDrive (e.g. C:\My Outlook Files).

  4. Give the copied file a new name (e.g. myname@domain-copy.pst).

  5. Restart Outlook.

  6. Select File then Account Settings:

    Outlook account settings button

  7. In the Email tab, choose the account name and then select Change Folder:

    Outlook account settings dialog

    Note: If you don't see Change Folder, then the email account you have selected does not have a .pst file.

  8. Choose the account and select New Outlook Data file:

    Outlook email delivery location dialog

  9. Browse to the location of your newly renamed copy .pst file, select it, and choose OK to return to the Email Accounts list.

  10. On the Data Files tab, choose the data file location which includes OneDrive and select Remove and Yes to disconnect the file.
     
    Outlook data files dialog

    Notes: 

    • No email data will be lost by selecting Remove, it is just disconnected from your Outlook account. It can be re-added if necessary.

    • You cannot remove a Default data file. Choose another data file and Set as Default first.

  11. If you want to move or delete the OneDrive copy of the .pst file, you will need to close Outlook first.

Learn more

Find and transfer Outlook data files from one computer to another

Need more help?

Contact support icon

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

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins
Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×