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 four layers behind “extension context cache”
Service worker
Runtime
Runs the extension background logic. Chrome stops it after 30 seconds without activity, and its global variables are lost.
Content scripts
Open tabs
Run inside web pages. A tab keeps its copy after the extension reloads, which causes “Extension context invalidated”.
Saved data
Storage
chrome.storage, IndexedDB and Cache Storage keep their contents between worker runs.
Extension files
Disk
Installed code in the Extensions folder of the Chrome profile.

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 seeLikely layerFirst fix
“Extension context invalidated” in a page consoleContent script left over from an earlier runFix 1: reload the tab
Popup opens empty or shows an errorPopup page or service worker scriptFix 3: read the Errors button and the worker console
Extension shows outdated data after a restartSaved dataFix 4: clear the extension’s storage
Errors view lists “Service worker registration failed”Service worker did not startFix 2, then Fix 5 if the message returns
Extension is disabled and cannot be switched on againManifest V2 extensionNo cache fix applies; see the Manifest V2 section
Chrome reports that the extension may be corruptedExtension files on diskUse 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.

1
Reload the tabPress ⌘R. For a reload that bypasses cached page resources, press ⌘⇧R.
2
Repeat for related tabsEvery open tab that uses the extension holds its own old content script. Reload each one, or close the tabs and open them again.
3
Test the extensionOpen the extension on the reloaded page. If the error is gone, no further fix is needed.

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.

1
Open the Extensions pageType chrome://extensions in the address bar. The puzzle icon in the toolbar also leads there through Manage Extensions.
2
Disable the extensionClick the toggle on the extension card so that it turns grey. Wait a few seconds.
3
Enable it againClick the toggle once more. Chrome starts the extension as a new run.
4
Reload the active tabPress ⌘R so the page receives a fresh content script.
Local extensions: an extension loaded from a local folder shows a reload button on its card when Developer mode is on, and Chrome’s documentation describes that button for local extensions. The toggle works for every extension.

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 pricing

Fix 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.

1
Enable Developer modeOn 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.
2
Check the Errors buttonThe Errors button on the card turns red when the extension has logged a runtime error. Click it to read the message. The Clear all button in the error view empties the list, which makes new errors easy to see after a fix.
3
Open the service worker consoleClick the service worker link next to Inspect views. DevTools opens for the worker. Read the Console tab for messages.
4
Stop and start the workerIn the same DevTools window, open Application and then Service workers. The links next to the status stop and start the worker, which allows a restart test without disabling the extension.
5
Inspect the page for content script errorsErrors thrown by a content script do not appear on the Extensions page. Open DevTools on the web page itself and read its console.
Popups: right-click inside a toolbar popup and choose Inspect to open DevTools for the popup. Chrome’s debugging guide lists this as the way to see popup errors.

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.

1
Open the worker DevToolsEnable Developer mode and click the service worker link next to Inspect views.
2
Open Application, then StorageSelect Application at the top of DevTools and Storage in the left sidebar.
3
Select the storage typesTick the types that you want to remove, such as IndexedDB and Cache storage.
4
Click Clear site dataDevTools removes the selected types for the extension’s origin.
5
Restart the extensionReturn to chrome://extensions, disable and enable the extension, and reload the tab.
Note your settings first. Chrome’s documentation does not state whether Clear site data removes chrome.storage values in every version. Assume that the extension may lose its saved preferences and sign you out. Export a settings file from the extension if it offers one.
✓ Advantages
  • Targets one extension and leaves the others untouched
  • Needs no Terminal commands
  • Reaches IndexedDB and Cache Storage that a tab reload leaves in place
✗ Drawbacks
  • 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.

1
Write down what you needNote the settings, licence keys and account details that the extension holds.
2
Remove the extensionOn chrome://extensions, click Remove on the card and confirm.
3
Quit and relaunch ChromePress ⌘Q and open Chrome again. This closes every process that held the old copy.
4
Install it againOpen the extension page in the Chrome Web Store and click Add to Chrome.
5
Restore the settingsExtensions that use chrome.storage.sync can restore settings from a signed-in Google account. Data kept with chrome.storage.local stays on the Mac and is removed together with the extension.

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.

FolderContents
~/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.

When Chrome stops an extension service worker
Idle shutdown with no events or API calls30 seconds
Single event or API call takes too long5 minutes
A fetch() response takes too long to arrive30 seconds
Bar lengths are scaled to the five-minute limit. Source: Chrome extension service worker lifecycle documentation.

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

FixWhat it resetsCan remove saved settingsNeeds Developer mode
1. Reload the tabContent script in that tabNoNo
2. Disable and enableA new run of the extensionNoNo
3. Errors and worker consoleNothing, unless the worker is stopped and startedNoYes
4. Clear site dataStored data for the extension originPossiblyYes
5. Remove and reinstallAll local extension files and dataYes, for local dataNo

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

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

Get Notified When New Reviews & Updates are Published

We don’t spam! Read our privacy policy for more info.