The Cached Mode Sync Slider – also known as 'Mail to keep offline' – is an Outlook setting that controls the amount of mailbox data is downloaded and stored locally in an OST file. It was introduced in Outlook 2013. It lets you control how much of your mailbox data is to be stored on your computer, when the Cached Exchange Mode is enabled. This feature creates a local copy - OST file - of your mailbox, so you can access emails and all other mailbox items (calendars, contacts etc.) without internet. Cached Exchange Mode also downloads the Offline Address Book (OAB), so contact lookups and name resolution work without a server connection.
NOTE: The Mail to Keep Offline slider is available only for Exchange and Microsoft 365 accounts using Cached Exchange Mode. It is not available for POP3 accounts.
However, if “Mail to Keep Offline” slider is set to “All mail”, Outlook will download all your mailbox data to the local cache. Over time, this makes your OST file very large - especially if you have years of email data. A large OST file can affect your email client’s performance, cause longer load times, and lead to sync-related issues.
The sync slider helps manage OST file growth by setting a time-based cutoff: emails older than the selected period are kept on the server but not stored locally. This reduces your mailbox size and improves you application’s performance. Email outside the sync windows safely remain on the server and you can access them any time via Outlook Web App – OWA. Read further to know how it helps manage the size of an OST file and optimize Outlook performance.
Sync Slider Settings - What Each Level Does
The following table shows a general comparison of each sync slider setting and its impact on your local storage.
|
Setting |
Impact on OST File Size |
Best For |
Exchange |
M365 |
IMAP |
|
3 Days |
Minimal — only 3 days mail items are downloaded |
Mobile or remote workers with limited storage |
✓ |
✓ |
✓ |
|
1 Week |
Very small OST |
Laptops with limited SSD space |
✓ |
✓ |
✓ |
|
1 Month |
Small OST — recommended for most users |
Standard enterprise users |
✓ |
✓ |
✓ |
|
3 Months |
Moderate OST size |
Default enterprise setting |
✓ |
✓ |
✓ |
|
6 Months |
Large OST — monitor available disk space |
Users who need offline access to recent email history |
✓ |
✓ |
✓ |
|
12 Months |
Larger OST — performance may begin to degrade |
High-specification machines with a fast SSD only |
✓ |
✓ |
✗ |
|
24 Months |
Very large OST |
Only suitable where high storage capacity is available |
✓ |
✓ |
✗ |
|
All |
Full mailbox size — not recommended |
Not recommended — OST grows to the full size of the mailbox |
✓ |
✓ |
✗ |
NOTE: The ‘All mail’ setting downloads your entire mailbox to the OST file. For a 50 GB mailbox, this creates a local file of 50 GB. This is the most common reason for OST performance issues, slow Outlook search, and OST file corruption.
NOTE: The default sync window varies by device. On desktop versions of Outlook 2016 and later, it sets on 12 months. On mobile devices, the standard synchronization period is set to a shorter duration. The Outlook apps for iOS and Android handle their own local cache separately, and their settings are not affected by the desktop sync slider.
How to Change the Sync Slider in Outlook?
Below, we have mentioned the methods to change the Sync Slider settings in Outlook:
NOTE: Initially, when you enable Cached Exchange Mode – CEM - or extend the sync window, Outlook performs a complete download of all emails within the selected period. This can take significant time for large mailboxes. After that, only incremental changes (new, modified, or deleted items) are synced in the background.
Method 1 - Use Outlook Account Settings
To adjust the sync slider in Outlook 2013, 2016, 2019, or Outlook 365, follow these steps:
- Launch Outlook application.
- Go to the File menu.
- Select Account Settings > Account Settings.

- Select your account.
- Then, click on Change.

- Adjust the Mail to keep offline slider (e.g., 1 or 3 months).

- Click Next and then Finish.
After you change the setting, Outlook will start updating your local cache (OST file) in the background. It removes or adds older items based on your new setting.
NOTE: It may take 20-30 minutes to remove old cached data after adjusting the slider, depending on the mailbox size. You can use Outlook during this process.
Method 2 - Use Registry Editor (IT Admins)
You can use Windows Registry Editor to adjust the sync slider programmatically or for a specific user profile. Here’s how you can do this:
NOTE: Always back up the registry before making any changes.
- Press Windows + R keys.
- Type regedit and press Enter.
- Approve the UAC prompt if it appears.

- Go to:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\Vxx.0\Outlook\Cached Mode
NOTE: Replace Vxx.0 with 15.0 for Outlook 2013, 16.0 for 2016/2019/365).
- If the Cached Mode folder doesn’t exist, right‑click the Outlook key.
- Choose New > Key.
- Name it Cached Mode.
- Create a DWORD (32‑bit) Value named syncwindowsetting.
- Enter a value in months:
- 1 → 1 month
- 3 → 3 months
- 6 → 6 months
- 12 → 1 year
- 24 → 2 years
- 36 → 3 years
- Close Registry Editor.
- Restart Outlook.
NOTE: You can also create a DWORD named syncwindowsettingdays for Outlook 2016 and later.
This allows day‑level precision:
- 3 → 3 days
- 7 → 1 week
- 14 → 2 weeks
See the table mentioned below to know the proper combinations of syncwindowsetting and syncwindowsettingdays values for each duration.
|
Duration |
syncwindowsetting |
syncwindowsettingdays |
Outlook Version |
|
3 days |
0 |
3 |
2016+ only |
|
7 days |
0 |
7 |
2016+ only |
|
14 days |
0 |
14 |
2016+ only |
|
1 month |
1 |
0 |
2013+ |
|
3 months |
3 |
0 |
2013+ |
|
6 months |
6 |
0 |
2013+ |
|
12 months |
12 |
0 |
2013+ |
|
24 months |
24 |
0 |
2016+ |
|
36 months |
36 |
0 |
2016+ |
|
All mails |
0 |
0 |
2013+ |
In Outlook 2016 and later the sync window is set to 12 months by default, when Cached Exchange Mode is first enabled.
Method 3 - Use Group Policy (Enterprises)
In larger enterprise environments, you can manage the Cached Mode Sync Slider centrally through Group Policy. Once you apply this setting, the slider in Outlook is locked (greyed out) and users cannot change it. Follow these instructions:
- Download the latest Microsoft 365 Apps ADMX template.
- Open the Group Policy Management Console – GPMC.
- Import the downloaded ADMX template.
- In GPMC, go to:
- User Configuration → Administrative Templates → Microsoft Outlook → Account Settings → Exchange → Cached Exchange Mode.
- Locate Cached Exchange Mode Sync Slider.
- Enable it.
- Set the desired sync duration (e.g., 1 month, 3 months, 1 year, or All mail).
- Link the Group Policy Object – GPO - to the relevant Organizational Unit (OU).
Once applied, all users in that OU will have the sync slider locked to the value you set.
NOTE: Increasing the sync window through GPO - Group Policy – may cause full OST resynchronization on all affected machines. In environments with 50 or more users Microsoft suggested staging the rollout to avoid network congestion.
For details, see Learn Microsoft Cache Exchange Mode article
Why the Sync Slider Setting Matters for OST File Health?
The default size limit of OST is a maximum of 50 GB in Outlook 2010 and later versions. The default location of Outlook OST file is: %LOCALAPPDATA%\Microsoft\Outlook\ on Windows.
However, you may start encountering issues when it grows beyond 20–25 GB, such as:
- Slow or incomplete search results
- Outlook freezing when switching folders
- Delays in sending/receiving emails
- Outlook crashing
Setting the “All Mail” option downloads your entire mailbox data, which increases your OST file size. If your OST file grows too large, it becomes susceptible to corruption.
So, it is suggested to keep only 1 to 6 months of email available offline. It ensures smooth performance, reduces corruption risk, and prevents common OST‑related issues.
NOTES: Your OST file will usually be 50–80% larger the mailbox size shown in Exchange or Microsoft 365 admin center. This is because Outlook's local format consumes more space than the server format. A 20 GB mailbox can produce a 30–36 GB OST file.
How to Further Limit OST Sync beyond the Slider?
There are other options in Outlook that you can use to limit the amount of locally stored data. These options are especially helpful if you work with shared mailboxes, public folders, or large amounts of mailbox data.
Option A. Disable Shared Folder Synchronization
By default, Outlook downloads data from shared mailboxes and shared folders that you have access to. If these shared folders contain a large amount of emails, they can significantly increase the size of your OST file. Here’s how to do so:
- Launch Outlook.
- Click File > Account Settings > Account Settings.

- Choose your Exchange account.
- Click Change.

- Then, click More Settings.

- Click the Advanced tab.
- Disable Download Shared Folder option.

- Click OK and then Next.
- Click Finish.
Once these settings are disabled, Outlook will stop storing shared mailbox and public folder data in the local OST file. This can significantly reduce OST size and improve Outlook performance, especially in environments where users have access to multiple shared mailboxes.
Option B. Folder-level Sync Filter
With this, you can control which emails and mailbox items Outlook will keep in each folder. It helps you to avoid unnecessary storage of old or unused content. Follow the instructions below:
- Right‑click on any mail folder (e.g., Inbox).
- Choose Properties.

- Go to the Synchronization tab.

- Click Filter.
- Set criteria to limit cached items (e.g., only unread messages or items from the last 30 days).

- Click OK.
Outlook will apply the filter during the next sync cycle.
This option is useful if certain folders, like newsletters or archives, do not need to be fully cached.
Sync Slider not Working? - Common Issues and Fixes
The table below helps you to identify the possible cause for Sync Slider not working issue and the appropriate solution to fix it.
|
Issue |
Possible Cause |
Solution |
|
Sync Slider is grayed out |
Cached Exchange Mode is turned off, or the account type isn’t Exchange/Microsoft 365. |
Open File → Account Settings → Account Settings → Change and enable Use Cached Exchange Mode. The slider only works with supported Exchange and Microsoft 365 accounts. |
|
Sync Slider is missing |
You’re using the New Outlook for Windows, which doesn’t include the Cached Mode Sync Slider. |
Switch back to Classic Outlook if you need the slider and advanced cache controls. |
|
OST file size doesn’t shrink after changing the slider |
Outlook reduces cached items gradually in the background. |
Give Outlook time to finish syncing. To reduce the OST file size, compact the OST via File → Account Settings → Data Files → Settings → Compact Now. |
|
Slider keeps reverting |
An administrator may have enforced sync settings through Group Policy. |
Check with your IT admin to confirm if a policy is controlling the slider. |
|
Outlook stops syncing after slider change |
Outlook may be rebuilding or refreshing the local cache. |
Wait for the process to complete. You can also trigger a manual sync by pressing F9 key or going to Send/Receive → Update Folder. |
|
Older emails show in Outlook Web but not desktop |
Those emails fall outside the offline sync period and aren’t stored locally. |
This is expected behaviour. OWA and Outlook mobile display the complete mailbox directly from the server. The sync slider impacts only Classic Outlook desktop. You can see the older emails in desktop Outlook, either by extending the sync period or opening OWA / Outlook mobile. |
When the Sync Slider is not Enough
The Cached Mode Sync Slider helps control OST file size and improves Outlook performance. However, it cannot resolve every issue related to your Outlook data file. For example: if your OST file becomes inaccessible due to an unexpected shutdown, Outlook crash, disk issue, synchronization problem or any other internal/external factor, you cannot restore and access your mailbox data by adjusting the sync slider. In such a case, you may require a dedicated OST converter tool, such as Stellar Converter for OST. This tool can convert any inaccessible or orphaned OST file to PST without any size limit, and then you can import it into Outlook. This tool also supports exporting mailbox data directly to Microsoft 365, or a live Exchange Server mailbox.
Conclusion
The Cached Mode Sync Slider helps you to control how much mailbox data your Outlook stores in the local OST file. By limiting the amount of cached data, you can reduce OST file size and improve your application performance. However, if the OST file becomes inaccessible, Stellar Converter for OST can help by converting the OST to PST format. It allows you to recover and access your mailbox data.
You can find this feature in Classic Outlook by following these steps:
- Go to
- Click Account Settings > Account Settings,
- Select your Exchange or Microsoft 365 account.
- Click Change.
The Mail to keep offline slider appears in the Account Settings window.
Update time depends on some factors such as:
- Size of your OST file
- System performance
- Network speed
Smaller mailboxes may update within a few minutes, while larger mailboxes can take considerably longer.





9 min read




