How to Fix Outlook Error 0x8004060c

The send/receive process in Outlook may suddenly fail with error code 0x8004060C, halting email operations.
This error indicates that the Outlook PST file has exceeded its maximum size limit and can no longer store new data.

Outlook 0x8004060c Error

The most common cause is a bloated or oversized PST file. Additional triggers include sync failures or corrupted data files. Now that you know the causes, let’s discuss the solutions.

1. Compact the PST File

Outlook allows you to reduce the size of your PST file by compacting it. Normally, when you delete emails, the file size isn’t reduced immediately—compacting manually can help free up space.

Note: Offline Outlook Data Files (.ost) cannot be compacted directly.

  1. Open Outlook and click on File.
  2. In Info, click Account Settings and then select Account Settings from the drop-down menu.
    Account Settings of Outlook
  3. In the Account Settings window, click on Data Files.
  4. Select the PST file you want to compact and click Settings.
    Settings of PST File
  5. Go to the Advanced tab and click Outlook Data File Settings.
    Open Outlook Data File Settings
  6. Press the Compact Now button.
    Compact Now of Outlook Data File
  7. Close and then reopen Outlook to verify if the issue is resolved.

2. Update Outlook/Office

Microsoft frequently releases updates to improve Outlook and fix bugs. If your Outlook error is due to a known issue that’s been patched, updating should fix it.

  1. Open Outlook and click the File tab.
  2. Select Office Account, then click Update Options.
  3. From the drop-down, click Update Now.
    Run Update Now of Outlook
  4. After updating, restart Outlook and check if it works properly.

3. Use Online Mode

Outlook operates in either Online Mode or Cached Mode. If you’re getting the error in cached mode, switching to online mode may help.

  1. Open Outlook and select the File menu.
  2. Click Account Settings > Account Settings.
    Run Update Now of Outlook
  3. Go to the Email tab, select your account, and click Change.
    Change Outlook Settings
  4. In Exchange Account Settings, click More Settings.
    Open More Settings of Outlook
  5. Click the Advanced tab and uncheck “Use Cached Exchange Mode”.
    Uncheck Use Cached Mode
  6. Restart Outlook and see if the error is resolved.

4. Repair Outlook’s PST File

Outlook stores your email data in a PST file. If this file is corrupted, Outlook can fail. Luckily, Microsoft provides a tool called SCANPST.EXE to fix PST files.

  1. Close Outlook.
  2. Click the Windows button, type Outlook in search, right-click the Outlook icon, and select “Open File Location”.
    Open Outlook File Location from Windows Search
  3. Open the folder path:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs
  4. Right-click the Outlook shortcut and choose “Open File Location”.
    Open File Location from File Explorer
  5. Open the folder:
    C:\Program Files (x86)\Microsoft Office\root\Office16
  6. In the Office folder, find SCANPST.EXE, right-click it, then select “Run as Administrator”.
    Run ScanPST as Administrator
  7. Click the Browse button in the Inbox Repair Tool.
    Microsoft Outlook Inbox Repair
  8. Select the PST file with errors (location details follow these steps).
  9. Click Start to scan.
  10. If any issues are found, choose Repair.
  11. Restart Outlook and see if it works properly now.

The location of your PST file may differ based on your Outlook and Windows version.

  • Windows 10
drive:\Users\<username>\AppData\Local\Microsoft\Outlook
drive:\Users\<username>\Roaming\Local\Microsoft\Outlook
  • Older Windows Versions
drive:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\Outlook

5. Empty the “Deleted Items” Folder

Since this error can be caused by storage issues, make sure that your Deleted Items folder isn’t using up unnecessary space.

  1. Open Outlook, right-click the Deleted Items folder (left pane).
  2. Select Empty Folder.
    Empty Deleted Items Folder
  3. Close Outlook, reopen it, and check if things are working now.

To empty the Deleted Items folder automatically:

  1. In Outlook, click File, then Options.
    Open Outlook Options
  2. Go to Advanced. In the right pane under Outlook start and exit, check ‘Empty Deleted Items folders when exiting Outlook‘.
  3. Click OK to save.
    Empty Deleted Items Folder When Exiting Outlook

6. Delete Unnecessary Emails

Lots of old or junk emails can quickly fill up your Outlook data file. Also, every forwarded email is saved in both your Inbox and Sent Items by default, using extra space.

Deleting unnecessary or duplicate emails—and removing large attachments—can help.

  1. Open Outlook and go to your Sent Items folder.
    Open Sent Items Folder
  2. In Sent Items, click the By Date filter and select “To” to filter by recipient.
    Filter Sent Mails by To
  3. Delete duplicates and unwanted emails or attachments by holding Ctrl, selecting what you don’t need, and pressing Delete.
  4. Restart Outlook and see if it works correctly.

To stop saving a copy of forwarded messages automatically:

  1. Open Outlook, click File then Options.
    Open Outlook Options
  2. Go to Mail, and under the Save Messages section, uncheck ‘Save forwarded messages’.
    Uncheck Save Forwarded Messages
  3. Click OK to save.

7. Run the Mailbox Cleanup Tool

Outlook’s Mailbox Cleanup helps you identify and manage large emails, which can free up a lot of space.

  1. Click the File tab, then in Info, click Tools.
  2. Select Mailbox Cleanup.
    Mailbox Cleanup Tool
  3. Here, you can manage mailbox size, find old emails, empty deleted items, or remove alternate versions.
    Manage Mailbox Cleanup
  4. Relaunch Outlook to see if the problem is fixed.

8. Use Outlook’s Import/Export Feature

The Import/Export wizard allows you to move or split PST files, helping to reduce their size.

  1. Open MS Outlook and click File.
  2. In Info, click Account Settings, then Account Settings again.
    Account Settings of Outlook
  3. Go to the Data Files tab and click Add.
    Add New Data File
  4. Name your new Outlook data file (.pst) and click OK to add it.
  5. Check that the new file appears under Data Files. Close the Account Settings window.
  6. Go to File > Open & Export.
  7. Click Import/Export.
    Import Export Outlook
  8. In the wizard, choose Export a File and click Next.
    Export to a File in Import and Export Wizard
  9. Select Outlook Data File (.pst) and click Next.
    Export to Outlook Data File PST
  10. Choose which folders you want to export (select Include Subfolders if needed).
    Select Folders to Export
  11. Browse for a save location, select not to export duplicates, and click Finish.
    Do Not Export Duplicate Items
  12. Set a password for the export if you want, then finish up.
  13. Delete exported folders from the main PST file to reduce size. Check if the error has cleared.

9. Use the “Move to Folder” Option

Outlook’s Move to Folder feature helps you easily transfer emails from your main PST file to another, reducing its size.

  1. Start Outlook and click File.
  2. Go to Account Settings, then Account Settings again.
    Open Outlook Account Settings
  3. Under Data Files, click Add.
    Add New Data File in Outlook
  4. Enter a name and choose Outlook data file (.pst), then click OK to create the file.
  5. Confirm the new file appears under Data Files. Close Account Settings.
  6. Switch to the Home tab, open your default PST file, select emails to move, then drag or use the “Move to Folder” option to move them to the new PST file.
    Copy to Folder
  7. After copying, delete those items from the main PST file.
  8. Restart Outlook to see if it now works.

10. Use Outlook Archive Wizard

Old emails can fill up your PST file over time. Using the Archive Wizard lets you move older items to a different file.

  1. Open Outlook and click File.
  2. In Info, click Tools and choose Clean Up Old Items.
    Clean Up Old Items
  3. Select which folder to archive, pick a date, and browse for a location to save the archive.
  4. Restart Outlook and check if things are back to normal.

11. Create a New Outlook Data File

If your current Outlook data file is corrupted, making a new one and setting it as default may solve the error.

  1. In Outlook, on the Home tab, click New Items.
  2. Select More Items > Outlook Data File.
    Create a New Outlook Data File
  3. Name the new file. If you want a password for extra security, check Add Optional Password and set it.
  4. After creating the file, open Outlook, go to File > Account Settings.
    Open Outlook Account Settings
  5. Click Data Files, select the newly created file, and click Set as Default.
    Set Outlook Data File as Default
  6. Restart Outlook and check if the issue has cleared up.

12. Increase Maximum Storage Size of Outlook PST File

Microsoft sets a default limit for PST files, but you can manually increase this using the Windows Registry.

Warning: Be very careful when editing the Windows Registry; incorrect changes can harm your system.

  1. Close Outlook.
  2. Press Windows key, type Registry Editor, right-click it, and select Run as Administrator.
    Open Registry Editor as Administrator
  3. Navigate to the appropriate path for your Outlook version:
  • Outlook 2016, 2019, & 365:
    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\PST
  • Outlook 2013:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\PST
  • Outlook 2010:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\PST
  • Outlook 2007:
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\PST
  • Outlook 2003:
    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\PST
  1. Right-click in the right pane, then select New > DWORD (32-bit) Value. Name them:
    • MaxLargeFileSize: Sets the maximum file size for PST files.
    • WarnLargeFileSize: Sends a warning when the file size approaches the limit.
Create New DWORD Key
  1. Double-click MaxLargeFileSize. Set it to Decimal and enter the desired maximum size (in MB).
    • For Outlook 2003 & 2007, enter a value higher than 20,480 (20GB).
    • For Outlook 2010 and newer, enter a value higher than 51,200 (50GB). For example, 81,920 for 80GB.
  2. Click OK.
  3. Double-click WarnLargeFileSize, set to Decimal, and enter a value 95% of MaxLargeFileSize. For example, if MaxLargeFileSize is 81,920, then WarnLargeFileSize should be 77,824.
  4. Click OK.
  5. Close Registry Editor.
  6. Restart your system and then open Outlook to check if it works properly.
Maximum Size of PST File

13. Run Microsoft Support and Recovery Assistant

The Microsoft Support and Recovery Assistant can automatically diagnose and fix many Outlook issues. If it can’t fix the problem, it will guide you on what to do next.

  1. Download Microsoft Support and Recovery Assistant from Microsoft’s official website.
    Microsoft Support and Recovery Assistant
  2. Run the file after downloading.
  3. Accept the license agreement by clicking I Agree.
  4. Select Outlook as the product you’re having trouble with and click Next.
  5. Describe your problem from the list and click Next.
  6. Follow the-step-by-step instructions given by the tool.
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.