User Agents

Web browsers and everyday web tech, explained

How to Clear Kodi Cache, Library Data & More

· 5 min read · Cookies and Cache

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing Kodi’s cache and library data can fix slow loading, missing artwork, playback stutters, and database errors. This guide walks you through clearing the thumbnail cache, package cache, and library database, plus resetting add-on data if needed. No special tools are required—just Kodi’s built-in menus and a file manager.

What You'll Need

  • Access to Kodi’s settings (usually via the gear icon on the home screen)
  • Kodi’s file manager (built-in, no external app required)
  • Optional: a USB drive or cloud storage if you want to back up your library first

Step-by-Step

  1. Close Kodi completely. Exit the app from the home screen (not just background it). On most devices, press the power icon or use the “Exit” option in the Kodi menu.
  2. Clear the thumbnail cache. Open Kodi, go to Settings (gear icon) → File Manager. Navigate to Profile directory → Database → Thumbnails. Select the folder and choose Delete. Confirm when prompted. This removes all cached artwork.
  3. Clear the package cache. In the same File Manager, go back to the root (usually Home or Root). Navigate to Addons → packages. Select the folder and choose Delete. This clears downloaded add-on installation files.
  4. Clear the library database. Go to Settings → Media → Library → Clean library. This removes entries for files that are no longer available. For a full reset, you can also delete the MyVideos and MyMusic database files in the Database folder (same path as step 2).
  5. Reset add-on data (optional). If a specific add-on is misbehaving, go to Settings → Add-ons → My add-ons. Select the add-on, then choose Disable and re-enable it. To fully reset, use Add-on settings and look for a “Reset” or “Clear data” button. If none exists, uninstall and reinstall the add-on.
  6. Restart Kodi. Exit Kodi completely and reopen it. The first launch may take longer as it rebuilds the thumbnail cache and library indexes.

Common Mistakes

  • Deleting the wrong folder. Be careful in File Manager—deleting the entire Database folder will wipe your library and watch history. Only delete Thumbnails and packages unless you intend a full reset.
  • Not closing Kodi first. If Kodi is running in the background, files may be in use and deletion will fail or cause errors.
  • Clearing cache too often. Doing this daily can slow Kodi down because it has to rebuild everything. Only do it when you notice issues.
  • Ignoring add-on dependencies. Deleting a package that is still needed by an installed add-on can break that add-on. Only clear packages if you’re having download issues.
  • Assuming “Clean library” removes all data. It only removes entries for files that are no longer accessible. It does not clear cached artwork or add-on data.

Tips

  • Use the “Clean library” option regularly (e.g., monthly) to keep your library tidy without wiping everything.
  • Back up your library before a full reset. Use the Backup add-on from the official Kodi repository to save your database and settings to a USB drive.
  • If you have a large library, clear the thumbnail cache in bulk by deleting the entire Thumbnails folder rather than individual files—it’s faster.
  • For persistent issues, try a “fresh start” by renaming the Kodi folder in your userdata directory (e.g., to Kodi.bak). This resets everything without deleting your files permanently.
  • Keep add-ons updated to reduce the need for cache clearing—outdated add-ons often cause database errors.

Troubleshooting

  • Kodi won’t start after clearing cache. This is rare but can happen if you deleted a critical file. Try renaming the Kodi folder in userdata to Kodi.bak and restarting Kodi—it will create a fresh default setup. You can then restore your backup from the .bak folder.
  • Artwork still missing after clearing thumbnails. Go to Settings → Media → Library and enable “Allow automatic updates” or manually refresh each item by pressing the context menu (right-click or long-press) and selecting “Refresh.”
  • Library is empty after clearing the database. You need to re-add your media sources: Settings → Media → Library → Add videos or Add music. Point Kodi to the same folders as before.
  • Add-ons still malfunctioning after clearing packages. Uninstall the add-on completely, then reinstall from the repository. If the problem persists, the add-on itself may be outdated or incompatible—check its forum or GitHub page.
  • Kodi is slow after clearing cache. This is normal for the first few minutes as it rebuilds thumbnails. If it stays slow, check your device’s storage—if it’s nearly full, Kodi will struggle. Free up space and try again.

Frequently Asked Questions

Will clearing the cache delete my movies and shows?

No. Clearing the cache only removes temporary files like thumbnails and downloaded add-on packages. Your actual media files remain untouched.

How often should I clear Kodi’s cache?

Only when you notice problems—slow loading, missing artwork, or playback errors. Doing it weekly is unnecessary and can actually slow Kodi down because it has to rebuild everything.

What’s the difference between “Clean library” and deleting the database?

“Clean library” removes entries for files that are no longer accessible. Deleting the database (e.g., MyVideos) wipes your entire library history, including watched status and custom collections.

Can I clear the cache without using File Manager?

Yes, some add-ons like “Maintenance” or “OpenWizard” offer a one-click cache clear. However, using the built-in File Manager is the most reliable method and doesn’t require third-party tools.

Will clearing the cache affect my add-on settings?

No, clearing the thumbnail and package cache does not touch add-on settings. Only resetting or uninstalling an add-on will clear its individual settings.

Why does Kodi still show old artwork after clearing the thumbnail cache?

Kodi may have cached the artwork in memory. Restart Kodi completely (not just background it) and wait a few minutes for it to rebuild. If it persists, manually refresh the item’s metadata.