How to Clear Chrome Extension Context Cache on Mac
A step-by-step guide to fix a broken Chrome extension without reinstalling Chrome
By Oyekale Olawale | Updated November 11, 2026
Quick answer
Reload every open tab that uses the extension, then disable and enable the extension at chrome://extensions. The tab reload replaces the old content script, and the disable and enable cycle starts a new run of the extension. If the extension still fails, enable Developer mode, open its service worker from Inspect views, and use Application, Storage, Clear site data. Remove and reinstall the extension only after both steps fail.
Chrome does not keep one “extension context cache” that a person can delete. The phrase usually refers to one of four separate things: the running service worker, the content scripts inside open tabs, the data an extension saves, and the extension files on disk. Each has its own fix. The first two fixes cost nothing and remove no data, so they come first.
This guide covers all four on a Mac. The steps come from Chrome’s developer documentation and the Chromium source. The version context is Chrome 157, which Google promoted to the stable channel on 3 November 2026.
What Chrome Stores for an Extension
Four storage layers matter here. The diagram lists each one with the behaviour that usually points to it.
The service worker deserves a closer look because it is the part most people mean by “context”. Chrome stops an extension service worker after 30 seconds without activity, and any global variable it held is lost at that point. A worker that has just restarted therefore begins with empty memory. When a fault survives a restart, the cause is more likely a content script in an open tab or data kept in storage.
Saved data behaves differently. The chrome.storage API, IndexedDB and Cache Storage keep their contents between worker runs. Chrome’s documentation states that chrome.storage data is not removed when a person clears the web cache, so the Clear browsing data dialog is unlikely to reset an extension. The extension’s own DevTools is the better tool, and Fix 4 below uses it.
Symptoms and the Layer Behind Them
The table maps common symptoms to a layer and a first fix. Use it to skip fixes that cannot apply.
| What you see | Likely layer | First fix |
|---|---|---|
| “Extension context invalidated” in a page console | Content script left over from an earlier run | Fix 1: reload the tab |
| Popup opens empty or shows an error | Popup page or service worker script | Fix 3: read the Errors button and the worker console |
| Extension shows outdated data after a restart | Saved data | Fix 4: clear the extension’s storage |
| Errors view lists “Service worker registration failed” | Service worker did not start | Fix 2, then Fix 5 if the message returns |
| Extension is disabled and cannot be switched on again | Manifest V2 extension | No cache fix applies; see the Manifest V2 section |
| Chrome reports that the extension may be corrupted | Extension files on disk | Use Repair if Chrome offers it; otherwise Fix 5 |
The “Extension context invalidated” message needs a short explanation. It appears in the console of a web page and not in the extension itself. The extension reloaded, updated or was disabled while the tab stayed open, and the tab still runs the content script from the earlier run. That script can no longer call extension APIs. Developer guides describe the same cause and the same remedy, which is a tab reload.
How I Checked These Steps
I did not run every step on a test Mac for this update. Each claim was compared with three sources: Chrome’s extension documentation on service worker lifecycle, debugging and the Manifest V2 timeline; the Chromium source constants that name the profile folders; and the Chrome Releases blog for the current stable version.
Where the documentation is silent, the text says so and uses cautious wording. One example is whether Clear site data also removes chrome.storage values. Chrome’s documentation does not state this, so the guide advises noting your settings first.
One rule applies to every DevTools step. DevTools opened on an ordinary web page acts on that website’s data. Only DevTools opened through the Inspect views link acts on the extension.
Fix 1: Reload the Tab
Start here whenever the console shows “Extension context invalidated” or an extension button does nothing on a page that was open before the extension updated. Chrome does not replace old content scripts automatically when an extension reloads, so a tab keeps the copy from the earlier run.
⌘R. For a reload that bypasses cached page resources, press ⌘⇧R.A tab reload does not touch the service worker or the saved data. When the problem remains, continue with Fix 2.
Fix 2: Disable and Enable the Extension
Disabling an extension removes it from the running browser, and enabling it starts a new run. Chrome starts the service worker again when the extension next receives an event, so the worker needs no manual step.
chrome://extensions in the address bar. The puzzle icon in the toolbar also leads there through Manage Extensions.⌘R so the page receives a fresh content script.Supporting a Mac user from another location?
A remote session lets you follow each step on the other person’s screen. The AnyDesk pricing guide lists the plans for remote support.
See AnyDesk pricingFix 3: Read the Errors Button and the Worker Console
When the first two fixes fail, the extension is usually reporting a specific error. Chrome shows it in more than one place, so each place is listed below.
chrome://extensions, use the Developer mode switch in the top-right corner. The extension ID then appears on each card above the Inspect views link.A message such as “Service worker registration failed” in the Errors view means that the worker did not start. The cause may lie in the extension’s own code after an update. Copy the full message, because the extension developer needs it for a bug report.
Fix 4: Clear the Extension’s Own Storage
This step targets the saved data layer. Use it when the extension shows outdated information after a restart or when a stored value appears to cause the same failure on every start.
chrome://extensions, disable and enable the extension, and reload the tab.- Targets one extension and leaves the others untouched
- Needs no Terminal commands
- Reaches IndexedDB and Cache Storage that a tab reload leaves in place
- Saved preferences may be lost
- Requires Developer mode
- Chrome documentation does not state which storage types the button clears in every version
Fix 5: Remove and Reinstall the Extension
Reinstallation resets all extension files and local data on the Mac. Use it after Fix 4, or when Chrome reports that the extension may be corrupted. If Chrome offers a Repair button for a corrupted extension, try that first.
chrome://extensions, click Remove on the card and confirm.⌘Q and open Chrome again. This closes every process that held the old copy.Deleting files inside the Extensions folder by hand is not part of this fix. Chrome records each installed extension in the profile, and a manual deletion can leave a record without files. Removal through chrome://extensions avoids that state. For a related example of removing Mac software cleanly, the write-up on Shotscribus software includes a Mac uninstall section.
Where Chrome Keeps Extension Data on a Mac
Knowing the folders helps with backups and with checking which profile holds an extension. All paths in the table sit inside one profile folder.
| Folder | Contents |
|---|---|
~/Library/Application Support/Google/Chrome/Default/ | The first profile. Other profiles use folders such as Profile 1 and Profile 2. |
Extensions/<extension ID>/<version>/ | Installed extension files, including manifest.json and scripts |
Local Extension Settings/<extension ID>/ | Local settings for each extension |
Sync Extension Settings/<extension ID>/ | Synced settings for each extension |
To open the folder, choose Go in the Finder menu bar, press ⇧⌘G and paste the path. The Library folder is hidden by default, and holding the Option key while the Go menu is open reveals it. The address chrome://version lists the Profile Path of the profile in use, which settles any doubt about which folder applies.
Treat these folders as reference material. Copying them gives a backup. Editing them by hand carries the risk described under Fix 5.
Multiple Chrome Profiles
Each Chrome profile has its own installed extensions and its own extension data. An extension that works in one profile and fails in another is therefore a profile-level problem, and every fix above applies to the affected profile only. Switch to that profile before opening chrome://extensions.
Separate profiles also keep logins and extension data apart, a topic covered in the guide to managing multiple social media accounts safely.
Manifest V2 Extensions Cannot Be Fixed With a Cache Clear
Chrome 138 was the last version to support Manifest V2 extensions, and Chrome 139 removed the enterprise policy that kept them available. Google also scheduled the removal of all remaining Manifest V2 extensions from the Chrome Web Store for 31 August 2026. A Manifest V2 extension that stopped working has been disabled by the browser, and clearing storage cannot enable it.
Search the Chrome Web Store for a Manifest V3 version from the same developer. When none exists, a browser-based tool can replace a small utility extension. The reviews of ToolFK and FreeToolSuite.net describe two sites that offer browser-based mini tools.
Service Worker Time Limits
Chrome applies three limits to an extension service worker. The chart scales them against the longest one.
A worker that stops at one of these limits has not failed. It restarts when the next event arrives. A fault is a worker that fails again on every start, and the Errors button together with the worker console shows which message repeats.
Fix Order at a Glance
| Fix | What it resets | Can remove saved settings | Needs Developer mode |
|---|---|---|---|
| 1. Reload the tab | Content script in that tab | No | No |
| 2. Disable and enable | A new run of the extension | No | No |
| 3. Errors and worker console | Nothing, unless the worker is stopped and started | No | Yes |
| 4. Clear site data | Stored data for the extension origin | Possibly | Yes |
| 5. Remove and reinstall | All local extension files and data | Yes, for local data | No |
Habits That Reduce Repeat Problems
- Relaunch Chrome after an update. The About Google Chrome page shows a Relaunch button, and the update applies to a running session only after that restart.
- Reload tabs after an extension updates. Old content scripts remain in tabs that stayed open.
- Check the Task Manager. Open Window and then Task Manager in Chrome to see which extension uses the most memory.
- Keep a note of important settings. Extension storage can be lost during any of the later fixes.
FAQ
How do I clear the cache of a single Chrome extension on a Mac?
Enable Developer mode at chrome://extensions, click the service worker link next to Inspect views, open Application and then Storage, and click Clear site data. Disable and enable the extension afterwards. Note your settings first, because saved data may be removed.
What does “Extension context invalidated” mean?
A web page is running a content script from an earlier run of the extension. The extension reloaded, updated or was disabled while the tab stayed open. Reloading the tab replaces the old script.
Does Clear browsing data reset Chrome extensions?
Chrome’s documentation states that chrome.storage data is not removed when a person clears the web cache. The extension’s own DevTools is the targeted method.
Where does Chrome store extensions on a Mac?
The first profile keeps installed extensions in ~/Library/Application Support/Google/Chrome/Default/Extensions. Other profiles use their own folders, and chrome://version shows the Profile Path in use.
Will I lose my extension settings?
Fixes 1 to 3 remove no data. Fix 4 may remove saved data, and Fix 5 removes local data. Extensions that use chrome.storage.sync can restore settings from a signed-in Google account.
Why did an old extension stop working without an error?
A Manifest V2 extension is disabled by Chrome. Chrome 138 was the last version to support them, and the Chrome Web Store removal of the remaining ones was scheduled for 31 August 2026.
Related reads from Websites2Know
- Ripplica vs Surgeflow, a comparison of two AI browser automation tools
- Managing multiple social media accounts safely, covers account and profile separation
- ToolFK review, a library of browser-based mini tools
- FreeToolSuite.net review, no-signup tools that run in the browser
- AnyDesk pricing, plans for remote support sessions
- Shotscribus software review, includes Mac uninstall notes
- 123Apps review, an online video, audio and PDF toolkit
Conclusion
Start with a tab reload, because the “context invalidated” error comes from a tab that holds an old content script. Continue with the disable and enable cycle, then read the worker console. Clear the extension’s storage only when saved data is the suspect, and reinstall after that. Manifest V2 extensions are the one case where no cache step helps, since Chrome has disabled them.
Found this useful? Read more fix guides
Websites2Know publishes software fixes, pricing guides and reviews for people who want a clear answer.
Browse all guides