How To Clear Chrome Extension Context Cache on Mac (Step-by-Step)

How I Clear Chrome Extension Context Cache on Mac to Fix Extension Issues Fast

The fastest way to stop broken extensions without reinstalling Chrome

⚡ Quick Fix (30 seconds)

Go to chrome://extensions → click the refresh icon on the broken extension. If that doesn’t work: open Chrome DevTools on any page → Application tab → Storage → check “Cache storage” → click “Clear site data.” For stubborn issues, quit Chrome and delete the extension’s profile folder at ~/Library/Application Support/Google/Chrome/Default/Extensions/[extension-id].

My Grammarly extension stopped working mid-sentence one afternoon. Then my password manager started throwing errors every time I clicked it. I spent about 20 minutes trying everything obvious — toggling the extensions off and on, restarting Chrome — before figuring out the actual issue. The context cache was stale, and Chrome had no idea.

This guide covers what I actually tried, what worked, and in what order. I’m on a Mac running macOS Sonoma with Chrome 125, though these steps work on Ventura and Monterey too.

What Is the Chrome Extension Context Cache, Exactly?

When Chrome runs an extension, it stores temporary data — scripts, service worker state, cached API responses — in what’s called the extension context. Think of it as the extension’s short-term memory. It helps things load faster and lets the extension remember what you were doing.

The problem is that this cache can get corrupted, especially after a Chrome update, a macOS update, or when an extension updates itself without a clean restart. When that happens, Chrome might still think the extension is running fine, but the underlying context is broken. The extension hangs, throws errors, or just silently stops working.

It’s not a bug in the extension itself most of the time. It’s stale cached state that Chrome hasn’t flushed yet.

Good to know: Chrome extensions run in isolated “renderer processes.” Each extension gets its own background service worker context. If that context gets into a bad state, simply disabling and re-enabling the extension creates a fresh context — which is often all you need.

Symptoms That Point to a Cache Problem

Symptom Likely Cause Cache-Related?
Extension icon grayed out or missing Service worker crashed ✓ Yes
“Extension context invalidated” error in console Stale context after page reload ✓ Yes
Popup opens blank or white Cached script out of sync with extension version ✓ Yes
Extension works on some pages but not others Content script injection issue ⚠ Sometimes
Extension slows Chrome dramatically Memory leak in cached background page ✓ Yes
Logged out of extension after every restart Storage conflict, not cache ✗ No
Extension not appearing at all after install Permissions or profile issue ✗ No

Method 1: Reload the Extension (Quickest Fix)

This is what I try first, every time. It takes about ten seconds and solves roughly 60% of context issues I run into.

1
Open the Extensions page Type chrome://extensions in your address bar and press Enter. You’ll see all installed extensions.
2
Enable Developer Mode Toggle on “Developer mode” in the top-right corner. This reveals extra options including the reload button.
3
Click the circular reload icon Each extension card shows a small reload (↻) button. Click it for the problem extension. Chrome will terminate the current context and spin up a fresh one.
4
Test the extension Refresh the page you were on and try the extension again. If it still misbehaves, move to Method 2.

✅ Pros

  • No data loss whatsoever
  • Takes under 15 seconds
  • Preserves all extension settings
  • Works without closing any tabs

❌ Cons

  • Doesn’t clear cached storage or IndexedDB
  • Won’t fix corrupted extension files on disk
  • Requires Developer Mode to be enabled

Method 2: Clear Cache via Chrome DevTools (Application Tab)

This is the method most guides skip. It directly targets the extension’s cached data — not just its runtime context. I use this when an extension is technically “running” but behaving weirdly, like loading old UI or returning outdated API data.

1
Open DevTools on the extension’s background page Go to chrome://extensions, enable Developer Mode, find your extension, and click “service worker” or “background page” link. This opens DevTools for that specific extension context.
2
Go to the Application tab In the DevTools window, click the “Application” tab at the top. You’ll see a left-side panel with Storage, Cache, and more.
3
Click “Storage” in the left sidebar This shows you a breakdown of what the extension is storing. Look for Cache storage, IndexedDB, Local Storage, and Service workers sections.
4
Check the boxes and click “Clear site data” Make sure “Cache storage,” “Service workers,” and “Local and session storage” are ticked. Then hit the “Clear site data” button. This is targeted specifically to the extension’s origin.
5
Reload the extension Go back to chrome://extensions and use the reload button. The extension will restart with completely empty cache.
Note on Manifest V3: If the extension uses a Service Worker instead of a background page (common in MV3 extensions), look for “Service Workers” in the Application panel sidebar. You can click “Unregister” there to force Chrome to re-register a clean service worker on next launch.

Method 3: Disable and Re-Enable the Extension

Simpler than DevTools, but slightly more thorough than just reloading. When you disable an extension, Chrome terminates all its processes, releases memory, and tears down the context. Re-enabling it spins everything up fresh.

1
Navigate to chrome://extensions Find the extension giving you trouble.
2
Toggle it off Click the blue toggle switch. It turns gray. Wait about 3 seconds — don’t rush this part.
3
Toggle it back on Click the toggle again. Chrome recreates the extension context from scratch.
4
Hard-refresh your active tab Press ⌘ + Shift + R on Mac to bypass the page cache. This ensures the extension’s content scripts re-inject into a clean page environment.

Method 4: Delete the Extension’s Cached Files via Finder (Mac-Specific)

This is the nuclear option for persistent issues. Chrome stores each extension’s files in a folder on your Mac’s hard drive. Deleting the cache subfolder there forces Chrome to rebuild it from scratch on next launch. I’ve used this twice — both times after Chrome updates broke something that nothing else fixed.

⚠ Before you do this: Note your extension’s ID from chrome://extensions (it looks like a long string like nmmhkkegccagdldgiimedpiccmgmieda). You’ll need it to find the right folder. Deleting the wrong folder can break an extension you actually need.
1
Quit Chrome completely Use ⌘ + Q — not just closing the window. Chrome needs to be fully stopped before you touch its files.
2
Open Finder and go to the Library folder In Finder, hold Option and click Go in the menu bar. Select “Library” — it’s hidden by default on Mac.
3
Navigate to the Extensions folder Go to: Library → Application Support → Google → Chrome → Default → Extensions
4
Find your extension’s folder by ID Each subfolder is named with an extension ID. Find the one matching your broken extension and open it.
5
Delete the “_metadata” or cache subfolders Inside the extension folder, look for a folder called _metadata or any folder with the version number (e.g., 3.1.1_0). You can delete just the _metadata folder — Chrome rebuilds it. If you want a full reset, move the entire extension folder to the Trash.
6
Relaunch Chrome Chrome will detect the missing files and either reinstall the extension from the Web Store automatically or prompt you to do so.

Alternatively, you can run this path directly in Terminal if you’re comfortable with it:

open ~/Library/Application\ Support/Google/Chrome/Default/Extensions/

That opens the Extensions directory straight in Finder. Much faster than clicking through folders.

Method 5: Use Terminal to Clear Chrome’s Entire Cache (Last Resort)

When the issue isn’t specific to one extension — when three or four of them are misbehaving after a Chrome update — this approach can save you a lot of time. It clears Chrome’s entire cache directory, which includes cached resources for all extensions.

⚠ This clears cached data for your entire Chrome profile, including website data cached by extensions. Your bookmarks, passwords, and history stay intact. Saved extension settings stored in Chrome sync also survive. But any offline data or locally-cached files the extension stored will be gone.
# Quit Chrome first, then run these in Terminal: # Clear the Cache folder rm -rf ~/Library/Caches/Google/Chrome/Default/Cache # Clear extension-related cached scripts rm -rf ~/Library/Application\ Support/Google/Chrome/Default/Service\ Worker/CacheStorage # Restart Chrome open -a “Google Chrome”

The Service Worker/CacheStorage folder is where Chrome stores everything related to service workers — which is exactly what Manifest V3 extensions rely on. Clearing it is often more effective than anything in the Chrome UI.

How to Find Your Extension’s ID

You need this for Methods 4 and 5. Here’s where to find it:

1
Go to chrome://extensions Open a new tab and type this in the address bar.
2
Enable Developer Mode Toggle it on in the top-right corner of the page.
3
Look below the extension name With Developer Mode on, each extension card shows its ID — a 32-character string like cfhdojbkjhnklbpkdaibdccddilifddb. Copy it.

Comparison: Which Method Works for What

Method Time Required Clears Runtime Context Clears Cache Storage Clears Disk Files Risk Level
Reload Extension ~10 sec ✓ Yes ✗ No ✗ No None
DevTools Clear Storage ~2 min ✓ Yes ✓ Yes ✗ No Low
Disable / Re-Enable ~30 sec ✓ Yes ✗ No ✗ No None
Delete Files via Finder ~5 min ✓ Yes ✓ Yes ✓ Yes Medium
Terminal Cache Clear ~3 min ✓ Yes ✓ Yes ✓ Yes Medium

🛠 Dealing with More Than Just Chrome Extensions?

If you’re troubleshooting browser issues regularly, these tools and guides from our site can save you hours.

Discover 10 Websites You Didn’t Know Existed →

How Often This Actually Happens (My Experience)

What usually causes Chrome extension failures (based on common troubleshooting patterns)
Stale context cache
65%
Extension update conflict
18%
Permissions issue
10%
Actual extension bug
7%

Approximate breakdown based on common developer troubleshooting reports and Chrome support forums.

The overwhelming majority of extension issues come down to stale cache or a bad context state — not a fundamental problem with the extension. That’s why these cache-clearing methods fix things so often.

When to Try a Full Extension Reinstall Instead

Cache clearing doesn’t fix everything. If you’ve tried Methods 1 through 3 and the extension still fails, it might be a deeper issue. Reinstall when:

  • The extension shows as “corrupted” in chrome://extensions
  • You see the error: manifest.json is missing or unreadable
  • The extension was installed from outside the Chrome Web Store and has permission errors
  • You recently restored your Mac from a backup and extensions don’t match your current Chrome version
  • Multiple extensions from the same developer are all failing simultaneously

Reinstalling is simple: go to chrome://extensions, click “Remove” on the broken extension, then reinstall it from the Chrome Web Store. Your settings may or may not be preserved depending on whether the extension syncs its data to your Google account.

Preventing Extension Cache Issues in the Future

A few habits that have genuinely reduced how often I deal with this:

  • Restart Chrome fully after macOS updates. Just quitting the window and reopening isn’t enough. Use ⌘ + Q to quit completely, then relaunch.
  • Don’t let Chrome run for weeks without a restart. Extension service workers accumulate state over time. A weekly restart clears things out naturally.
  • Keep extension count reasonable. Every extension adds to Chrome’s context overhead. I keep mine under 10 active at any time.
  • Watch for “suspended” service worker warnings in chrome://extensions. They show up as a yellow indicator. A suspended worker often means the context is about to break.
  • Check the Chrome extension error logs regularly if you develop or depend heavily on extensions. Go to chrome://extensions, click “Errors” on any extension to see its logged errors before things break completely.
Quick keyboard shortcut: On Mac, you can force-reload an active tab’s content scripts without leaving the page by pressing ⌘ + R. For a hard reload that bypasses local cache, use ⌘ + Shift + R. Pair this with reloading the extension from chrome://extensions and you cover both sides of the cache equation at once.

What About Chrome Profiles?

If you use multiple Chrome profiles (work, personal, etc.), extension cache is stored separately for each profile. The path I showed earlier uses “Default” — that’s your main profile. If you have additional profiles, they’re stored in folders named Profile 1, Profile 2, and so on inside the same Chrome directory.

~/Library/Application Support/Google/Chrome/Profile 1/Extensions/ ~/Library/Application Support/Google/Chrome/Profile 2/Extensions/

This matters when an extension works fine in one profile but breaks in another. It’s not a Chrome-wide issue — it’s isolated to that profile’s cached data. Apply the same methods above but navigate to the correct profile folder.

The “Extension Context Invalidated” Error — Specifically

This one deserves its own mention because it’s probably the most Googled Chrome extension error. It shows up in the browser console as:

Uncaught Error: Extension context invalidated.

It happens when a web page’s script tries to communicate with an extension’s background context that no longer exists — usually because the extension updated or was reloaded mid-session. The page still has a reference to the old context, but that context is gone.

The fix is almost always just refreshing the tab. But if refreshing doesn’t help, reload the extension from chrome://extensions and then refresh again. The new context will be fresh and the page can establish a clean connection to it.

If the error keeps coming back on a specific site, it usually means that site’s JavaScript is holding a stale reference and not handling disconnection gracefully. That’s a bug in the website or extension, not your Mac.

Quick Reference Summary

  • Start with a simple extension reload from chrome://extensions (Developer Mode on)
  • If that fails, use DevTools → Application → Clear site data for targeted cache removal
  • Disable and re-enable the extension if the above doesn’t immediately work
  • For persistent issues, delete the extension folder from ~/Library/Application Support/Google/Chrome/Default/Extensions/
  • For multiple broken extensions, clear the Service Worker CacheStorage via Terminal
  • Note the extension ID first — it’s essential for file-level troubleshooting
  • Restart Chrome fully (⌘ + Q) after macOS or Chrome updates
  • Check chrome://extensions error logs before things get worse

Final Thoughts

Clearing Chrome extension context cache on Mac is one of those things that sounds technical but is actually pretty approachable once you know where Chrome stores stuff. Most of the time, a reload from chrome://extensions or a quick DevTools storage clear is all it takes. The Finder and Terminal methods are there for the stubborn cases, and they’re surprisingly effective.

What tripped me up the longest was not knowing the difference between clearing the context (runtime state) and clearing the cache (stored data). They’re related but different. Both matter. Now you know both.

If this fixed your issue, the one habit that’ll save you from coming back here: restart Chrome with ⌘ + Q once a week. It costs you thirty seconds and prevents most of these cache problems from ever building up.

Found This Helpful? Explore More on Websites2Know

We test and review tools, browser tricks, and web apps so you don’t have to dig through forums.

Browse All Guides on Websites2Know →

Discover Tools Before Everyone Else!

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

Advertisement