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".
Move your Outlook .pst file out of OneDrive to prevent sync issues
Close Outlook and wait for OneDrive sync to complete.
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.
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).
Give the copied file a new name (e.g. myname@domain-copy.pst).
Restart Outlook.
Select File then Account Settings:
In the Email tab, choose the account name and then select Change Folder:
Note
If you don't see Change Folder, then the email account you have selected does not have a .pst file.
Choose the account and select New Outlook Data file:
Browse to the location of your newly renamed copy .pst file, select it, and choose OK to return to the Email Accounts list.
On the Data Files tab, choose the data file location which includes OneDrive and select Remove and Yes to disconnect the file.
Note
- 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.
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?
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.