If your spreadsheets have started to feel sluggish, freeze on open, or balloon to strange file sizes, the answer is often to clear Excel cache. Excel quietly stores cached data in several hidden places: pivot table caches, recent-document lists, AutoComplete history, the Office Document Cache, and temporary calculation files. Over weeks of heavy use this buildup slows performance, leaks stale values into dropdowns, and bloats workbooks. Knowing how to clear each cache type is one of the most practical maintenance skills any regular Excel user can learn in 2026.
If your spreadsheets have started to feel sluggish, freeze on open, or balloon to strange file sizes, the answer is often to clear Excel cache. Excel quietly stores cached data in several hidden places: pivot table caches, recent-document lists, AutoComplete history, the Office Document Cache, and temporary calculation files. Over weeks of heavy use this buildup slows performance, leaks stale values into dropdowns, and bloats workbooks. Knowing how to clear each cache type is one of the most practical maintenance skills any regular Excel user can learn in 2026.
Plenty of people search for spreadsheet help between booking a vacation at the excellence playa mujeres resort and finishing a quarterly report, and the confusion is understandable. Excel does not offer a single button labeled clear cache. Instead, the caches live in different menus, file folders, and even the Windows registry. Each one serves a real purpose while you work, but each one also accumulates clutter that you eventually want to flush. This guide walks through every method clearly so you can choose the right approach for your situation.
The most common culprit is the pivot table cache. When you build a PivotTable, Excel stores a snapshot of the source data in memory and inside the file itself. If you delete rows from your source but old items keep appearing in filter dropdowns, that ghost data is coming from the cache. Refreshing alone will not always remove it. You need to either reset the cache retention setting or rebuild the cache, both of which we cover in detail with exact click paths and keyboard shortcuts later in this article.
Beyond pivot tables, Excel maintains a recent-files list, a list of recently used folders, and an AutoComplete memory that suggests previously typed entries as you type into cells. These conveniences are wonderful until they surface confidential client names, outdated codes, or a typo you keep accidentally re-selecting. Clearing them takes only a few clicks once you know where Microsoft buried the options, and doing so periodically keeps your environment tidy, private, and fast for everyone who shares the machine.
There is also the Office Document Cache, used by OneDrive and SharePoint to sync your files. When that cache corrupts, you may see upload errors, file-in-use warnings, or documents that refuse to save to the cloud. The Microsoft Office Upload Center, or its newer equivalents, lets you wipe this cache safely. Combined with clearing Windows temporary files, this resolves the majority of mysterious save-and-sync problems without reinstalling Office or contacting IT support at all.
This guide is built for a United States audience using Microsoft 365, Excel 2024, Excel 2021, and earlier desktop versions on Windows, with notes for Mac where the steps differ. We will explain not just the how but the why, so you understand what each cache does before you delete it. If you also work with financial models, you may want to pair this cleanup with our guide on how to clear excel cache alongside formula-heavy workbooks for the best speed gains overall.
By the end, you will be able to clear every Excel cache on demand, troubleshoot the lag and bloat that caching causes, and set sensible retention defaults so the problem stops recurring. We have organized everything from quick fixes to deep cleans, and included a checklist plus answers to the questions readers ask most. Bookmark this page; cache maintenance is a recurring chore, and having one reliable reference saves real time every single month you spend in Excel.
A snapshot of source data Excel stores in memory and in the file. It speeds up PivotTable refreshes but keeps deleted items in filter dropdowns and dramatically inflates file size over time.
The list of recently opened workbooks and locations shown on the Home screen. It is convenient but can expose private file names and clutter the interface with documents you no longer use at all.
Excel remembers text you type in a column and suggests it again. This cache lives per workbook and can surface old typos, outdated codes, or confidential entries you would rather not reuse by accident.
Used by OneDrive and SharePoint to sync files. When corrupted it causes upload errors and save failures. Clearing it via the Upload Center fixes most cloud sync problems quickly and safely.
Excel writes temp files during editing and recovery. Orphaned temp files accumulate in the Windows temp folder, waste disk space, and occasionally cause file-already-exists or locked-file errors.
The pivot table cache is the single most important cache to understand because it causes the most visible problems. When you create a PivotTable, Excel does not read the source range live for every interaction. Instead it builds an internal copy, the PivotCache, and serves all sorting, filtering, and grouping from that copy. This is why pivots feel instant. The trade-off is that the cache becomes stale the moment your source data changes, and it persists until you force a refresh or fully rebuild it.
The classic symptom is ghost items. You delete a discontinued product or a former employee from your source table, refresh the pivot, and the old value still appears in the filter dropdown with a count of zero. To fix this, right-click the PivotTable, choose PivotTable Options, open the Data tab, and set 'Number of items to retain per field' to None. Click OK, then refresh. Excel rebuilds the cache without the orphaned entries, and your dropdowns finally show only current data.
File bloat is the second pivot problem. Because the cache stores a full copy of the source data, a workbook with several pivots built on a large table can be many times larger than the data warrants. If multiple PivotTables share one cache, the file stays lean. If each pivot has its own cache, the file balloons. You can check and consolidate caches with a short VBA macro that loops through ThisWorkbook.PivotCaches, or simply rebuild every pivot from a single source range.
Refreshing versus clearing matters here. A normal Refresh re-reads the source into the existing cache but keeps the retention list. Clearing the cache, by contrast, discards the stored snapshot entirely so the next refresh starts clean. For a true reset, change the retention setting to None, refresh, then optionally switch it back. Power users automate this with the PivotCache.Refresh method and the MissingItemsLimit property exposed through the Excel object model in VBA for hands-off cleanup.
If you connect a PivotTable to an external source, a database, a Power Query, or the Data Model, the cache behavior changes slightly. The PivotCache may store query results that you can flush by editing the connection properties and unchecking the cached query definition, or by clearing the Power Query cache from File, Options, Data. For Data Model pivots, the VertiPaq engine holds its own compressed cache that resets when you close and reopen the workbook entirely.
It is worth noting that clearing a pivot cache never deletes your underlying data. The source table, whether on another sheet or in an external file, is untouched. You are only discarding the temporary copy Excel keeps for speed. That is what makes this maintenance safe to perform regularly. Many financial analysts rebuild caches before sharing a model, both to shrink the file and to guarantee that filters reflect only the data they intend to expose to reviewers and clients.
For analysts who live in formula-heavy sheets and rely on lookups, pivot maintenance pairs naturally with broader spreadsheet hygiene. Understanding functions like vlookup excel, INDEX, MATCH, and the newer XLOOKUP helps you decide when a PivotTable is even necessary versus when a formula approach keeps files smaller. When you do need pivots, treat the cache as a living object you periodically reset, and the lag, bloat, and ghost-item complaints simply disappear from your daily workflow over time.
In the current Microsoft 365 build and Excel 2024, clear recent files via File, Open, Recent, then right-click any item and choose 'Clear unpinned items' to wipe the list while keeping pinned favorites. For the Office Document Cache, open the Microsoft Office Upload Center if present, or go to File, Options, Save, and use the cache settings to delete cached files on close after sync.
Pivot caches reset the same way as older versions: PivotTable Options, Data tab, retain None, then refresh. Microsoft 365 also exposes a Power Query cache under File, Options, Data, with a Clear Cache button that helps when even a vlookup excel formula or a query feels slow because of stale cached query results lingering in memory across sessions.
Excel 2021 and 2019 handle the document cache through the Office Upload Center, found by searching the Start menu for Upload Center. Open Settings inside it, then choose 'Delete cached files.' This clears synced copies without touching your originals on OneDrive or SharePoint, and usually fixes stubborn upload and save errors immediately after you reopen the affected workbook.
Recent files clear from File, Open, Recent with a right-click. AutoComplete data is cleared per column by deleting blank cells or disabling the feature under File, Options, Advanced, 'Enable AutoComplete for cell values.' Pivot caches follow the standard PivotTable Options route, so the muscle memory you build transfers cleanly across these closely related desktop releases without relearning anything new.
On Mac, Excel stores its cache differently. Clear recent files from the File menu, Open Recent, then 'Clear Recent.' The document cache for OneDrive lives in the Library Containers folders, and the cleanest fix is signing out and back into your account, which forces a resync of the cached files without manual folder deletion in most everyday situations.
Pivot table caching works identically: control-click the PivotTable, open PivotTable Options, set items to retain to None, and refresh. Mac users troubleshooting lag should also quit Excel fully with Command-Q, since closing only the window leaves the app and its in-memory caches running quietly in the background dock area consuming memory.
The 'Number of items to retain per field' setting in PivotTable Options defaults to Automatic, which is why deleted entries linger in filters. Change it to None for each pivot, refresh once, and Excel stops hoarding obsolete values. Save the file, and the fix sticks permanently for that workbook.
When Excel lags, freezes, or refuses to save, cache buildup is one of the first things to investigate, but it is not always the only cause. Start by isolating the symptom. If a single workbook is slow while others are fine, the problem is inside that file, usually an oversized pivot cache, volatile formulas, or excessive conditional formatting. If every workbook crawls, the issue is environmental: a corrupt Office Document Cache, an overloaded temp folder, low system memory, or a misbehaving add-in loading at startup that needs disabling.
For file-specific bloat, save a copy and check its size. Then rebuild every PivotTable from a single shared cache and set retention to None. Remove unused named ranges and excess formatting that Excel stores even in blank cells. A common hidden offender is a sheet where formatting extends to row one million; pressing Ctrl+End reveals the true used range. If it jumps far beyond your data, delete the empty rows and columns, then save again to reclaim the wasted space.
Environmental slowness points to the document and temp caches. Close Excel completely, then clear the Windows temporary files folder by typing %temp% into the Run dialog and deleting what you can. Open the Office Upload Center and delete cached files so corrupt sync data cannot reload. Disabling hardware graphics acceleration under File, Options, Advanced also resolves rendering lag on some machines, especially older laptops or remote desktop sessions where the GPU path is unreliable or unsupported.
Save and sync errors deserve special attention because users often blame the network when the cache is at fault. If you see Upload Failed or a yellow warning in the Upload Center, the cached copy and the cloud copy have diverged. Deleting cached files forces Excel to pull a clean version from OneDrive or SharePoint. Always confirm your latest edits are saved locally first, because clearing the cache mid-edit can discard changes that never finished uploading to the server.
Crashes on open frequently trace back to a corrupt cache or a damaged add-in rather than the file itself. Launch Excel in Safe Mode by holding Ctrl while starting the program, or run excel.exe /safe from the Run box. If the workbook opens cleanly in Safe Mode, the cache or an add-in is the culprit. Disable add-ins one at a time under File, Options, Add-ins, and clear the caches described above before returning to normal startup mode again.
Memory pressure compounds every cache problem. Excel ships as a 32-bit or 64-bit application, and the 64-bit build addresses far more RAM, which matters for huge models with large caches. Check your version under File, Account, About Excel. If you routinely work with millions of rows, the Data Model and its VertiPaq cache benefit enormously from 64-bit Office and ample physical memory, reducing the constant cache thrashing that makes large workbooks feel permanently unresponsive and frustrating to use.
Finally, document your fixes. When a recurring workbook turns slow every month, note which cleanup steps restored speed: usually retention set to None, a Ctrl+End range trim, and a temp-folder purge. Building a short personal runbook turns a frustrating hour of trial and error into a five-minute routine. Cache problems are predictable once you understand them, and a calm, methodical checklist beats randomly clicking buttons and hoping the lag mysteriously resolves on its own next time around.
Privacy is a quietly important reason to clear Excel cache, especially on shared or company computers. The recent-files list broadcasts the names of every workbook you opened, which can reveal client identities, salary files, or confidential projects to anyone who glances at your screen. AutoComplete is worse: it surfaces previously typed values as you type, so a colleague borrowing your machine could accidentally see customer names, account numbers, or sensitive notes simply by starting to type in a similar column on a fresh sheet.
Clearing these caches before handing off a laptop, presenting on a projector, or returning a loaner device is a simple, professional habit. Right-click the recent list and clear unpinned items, then disable AutoComplete for the session if you will be screen-sharing. On Mac, use Open Recent, Clear Recent. None of this deletes your actual files; it only removes the convenience trail that points to them, which is exactly what you want when privacy matters more than the speed of reopening.
Best practice also means setting sensible defaults so you clean less often. For every important PivotTable, set retention to None from the start so ghost items never accumulate. Build pivots on a single shared cache rather than letting each one spawn its own copy. Keep source data in a structured Excel Table so refreshes stay clean and predictable. These upfront choices dramatically reduce how frequently you need to perform a deep cache purge later on in the workbook's life.
For cloud collaboration, keep the Office Document Cache healthy by letting files finish syncing before you close Excel, and by occasionally deleting cached files during quiet periods rather than mid-deadline. If you frequently lock or protect cells, pair cache hygiene with the techniques in our guide to clear excel cache for finance models, since protected, formula-driven workbooks behave most predictably when their caches are reset before sharing with reviewers or clients.
Establish a maintenance cadence that matches your workload. Heavy daily users benefit from a quick weekly pass: clear unpinned recent files, refresh pivots with retention None, and empty the temp folder. Lighter users can clean monthly. Either way, schedule it like any other recurring chore. A consistent rhythm prevents the slow creep of bloat and lag that otherwise sneaks up over a quarter and suddenly makes a once-snappy workbook feel broken and frustrating to open every morning.
Be careful what you delete manually. Deleting files directly from deep Office cache folders in AppData can corrupt the sync state and cause more errors than it solves. Use the built-in Upload Center and Options menus, which clear caches in a controlled, supported way. The same caution applies to registry edits; unless you are confident, prefer the documented UI paths. The supported tools are slower to find but far safer than blunt manual file deletion that risks breaking sync.
Finally, teach the habit to your team. In many offices, one person quietly knows the cache tricks while everyone else suffers slow files and reopens stale dropdowns daily. A short shared note, or a pinned message linking to a checklist like the one above, multiplies the benefit across everyone who touches the same workbooks. Cache maintenance is humble, unglamorous work, but it is the kind of quiet discipline that keeps a whole team's spreadsheets fast, private, and trustworthy month after month.
With the theory covered, here are the practical tips that turn cache maintenance into a fast, repeatable routine. First, learn the keyboard shortcuts that speed up the work. Ctrl+End jumps to the last used cell so you can spot a bloated range instantly. Alt+F5 refreshes the active PivotTable, and Ctrl+Alt+F5 refreshes all data connections at once. Memorizing these three turns a multi-minute menu hunt into a few seconds of confident keystrokes you can perform without breaking your concentration mid-task.
Second, build a tiny VBA macro for repetitive cleanups. A short procedure that loops through ThisWorkbook.PivotCaches, sets MissingItemsLimit to xlMissingItemsNone, and refreshes each one can clear ghost items across an entire workbook in a single click. Store it in your Personal Macro Workbook so it is available in every file. If you are not comfortable writing code, even recording a macro while you perform the menu steps once captures a reusable version you can replay later on demand.
Third, treat structured Tables as your foundation. When a PivotTable's source is a named Excel Table rather than a fixed range, refreshes automatically include new rows and exclude deleted ones, which keeps the cache clean with far less manual intervention. Skills like how to create a drop down list in excel pair nicely here, because data-validated dropdowns built from a Table keep entries consistent, which in turn keeps AutoComplete and pivot filters tidy and predictable across your whole model.
Fourth, layout choices reduce cache problems before they start. Knowing how to freeze a row in excel keeps headers visible without duplicating them, and understanding how to merge cells in excel sparingly prevents the formatting bloat that merged ranges quietly create. Clean, deliberate layouts produce smaller files with leaner caches, so good spreadsheet design and good cache hygiene reinforce each other rather than competing for your limited attention during busy reporting weeks at the end of every month.
Fifth, schedule the deep clean around your real deadlines. Never clear the document cache or temp folder minutes before a presentation; do it the afternoon before, when a forced resync has time to complete. For monthly reports, make cache cleanup the final step of last month's close rather than the first scramble of the new month. Tying maintenance to an existing rhythm means it actually happens instead of being perpetually postponed until something finally breaks under pressure.
Sixth, verify your results rather than assuming. After clearing a pivot cache, open a filter dropdown and confirm the ghost items are truly gone. After trimming a range, press Ctrl+End again to confirm the used area shrank, then save and check the file size dropped. This quick verification loop catches the occasional case where a second pivot or a hidden sheet still holds the stale data you thought you had already fully cleared earlier.
Finally, keep learning the broader feature set, because much of cache trouble comes from over-reliance on heavy tools when a lighter one would do. Practicing core functions, lookups, references, and validation builds the judgment to know when a PivotTable is worth its cache cost and when a simple formula keeps the file lean. The free practice quizzes throughout this guide are an easy way to test that judgment and reinforce the habits that keep your spreadsheets fast, clean, and reliable.