Clear Cache Sims 4: Step-by-Step Guide to Fix Glitches
In this article
To clear the cache in The Sims 4, you must navigate to the game's installation folder in your Documents directory and delete the localthumbcache.package file along with the contents of the cache and cachestr folders. Clearing the cache removes temporary data that the game stores to speed up loading times; however, when this data becomes corrupted or outdated—especially after removing mods or updating the game—it can cause visual glitches, script errors, and game crashes. Performing this process regularly ensures that the game reads the most current versions of your mods and game files, resulting in a smoother, more stable simulation experience.
What You'll Need
- A computer (PC or Mac) with The Sims 4 installed.
- Administrative access to your file explorer to delete files.
- The game fully closed (do not attempt to clear cache while the game is running).
Step-by-Step
- Exit the Game: Ensure that The Sims 4 is completely shut down. If the game is running in the background, the system will lock the cache files, and you will receive an "Action Cannot Be Completed" error stating the file is in use by another program.
- Locate the User Folder: Open your file explorer. On Windows, navigate to
Documents > Electronic Arts > The Sims 4. On macOS, navigate toDocuments > Electronic Arts > The Sims 4. This is the directory where all your save files, tray files, and mod folders are stored. - Delete the Local Thumb Cache: Look for a file named
localthumbcache.package. This file is located in the root of the "The Sims 4" folder, not inside a subfolder. Right-click the file and select Delete. This specific file stores thumbnails of Sims and objects; if it is corrupted, you may see "blank" icons or outdated images of your modified characters. - Clear the Cache Folder: Open the folder named
cache. Select all files inside this folder (Ctrl+A on Windows or Cmd+A on Mac) and delete them. Do not delete thecachefolder itself—only the files contained within it. These files are temporary data fragments that the game regenerates every time you launch the application. - Clear the Cachestr Folder: Go back one level and open the
cachestrfolder. Similarly, select all files inside this folder and delete them. Thecachestrfolder handles string-based caching, which can sometimes interfere with how text or mod descriptions appear in the game. - Empty the Recycle Bin: To ensure the files are fully removed from the system's active memory, empty your Recycle Bin (Windows) or Trash (Mac). While not strictly necessary for the game to function, it prevents accidental restoration of the corrupted files.
- Relaunch the Game: Start The Sims 4. The game will take slightly longer to load on the first launch because it must rebuild these cache files from scratch. This is normal and indicates that the game is generating fresh, uncorrupted data.
Common Mistakes
One of the most frequent errors players make is deleting the entire The Sims 4 folder instead of just the cache files. This will erase all your save games, your Mods folder, and your Tray folder (which contains your saved households and lots). Always ensure you are only deleting the specific .package file and the contents of the cache and cachestr directories.
Another common mistake is attempting to clear the cache while the game is still open. Because the game is actively writing to the localthumbcache.package file during gameplay, Windows or macOS will prevent you from deleting it. If you see an error message saying the file is open in another program, check your Task Manager (Ctrl+Shift+Esc) or Activity Monitor to ensure that TS4_x64.exe or the Sims 4 process is completely terminated.
Some users also confuse the cache folder with the saves folder. Deleting files in the saves folder will permanently remove your progress in the game. Always double-check the folder name before hitting the delete key. If you are unsure, you can move the files to a temporary folder on your desktop instead of deleting them; if the game breaks, you can simply move them back.
Tips
For those who use a significant amount of Custom Content (CC) or Script Mods, it is highly recommended to clear the localthumbcache.package file every single time you add or remove a mod. Script mods often leave "ghost" data in the cache; if you remove a mod but leave the cache intact, the game may still try to call a script that no longer exists, leading to the dreaded "Last Exception" error or sudden game crashes.
If you find yourself clearing the cache frequently, you can create a simple batch file on Windows to automate the process. By writing a small script that targets the localthumbcache.package file, you can clear your cache with a single double-click before launching the game. This is particularly useful for "modders" who are testing new content and need to ensure a clean slate for every test run.
Keep an eye on your Documents folder permissions. Sometimes, antivirus software or OneDrive syncing can interfere with the game's ability to write to the cache folders. If you find that your cache files are not regenerating or are being blocked, try adding the Electronic Arts folder to your antivirus exclusion list to ensure the game has full read/write access.
Troubleshooting
If you have cleared the cache but are still experiencing glitches, the issue may lie deeper than temporary files. First, try the "50/50 Method" for your mods. Move your entire Mods folder to the desktop, clear the cache again, and start the game. If the game runs perfectly, the problem is a corrupted mod, not the cache. You can then add your mods back in small batches to identify the specific file causing the conflict.
In cases where the game refuses to launch after a cache clear, it is possible that a critical game file was accidentally deleted. To fix this, use the Repair function in your game launcher. For EA App users, find The Sims 4 in your Library, click the three dots (Manage), and select Repair. This will scan your installation and replace any missing or corrupted files without affecting your save data.
If you are on a Mac and cannot find the Electronic Arts folder, ensure that you are looking in the correct user directory. Sometimes iCloud Drive moves the Documents folder to the cloud. If your files are synced to iCloud, you may need to wait for them to download to your local drive before you can modify or delete the cache files, or navigate to the iCloud Drive folder directly through Finder.
Frequently Asked Questions
Will clearing the cache delete my save games?
No. The cache files are temporary data used for performance. Your save games are stored in the saves folder, and your created Sims are in the Tray folder. Deleting the cache does not affect your progress or your characters.
How often should I clear my Sims 4 cache?
You should clear it whenever you update the game, install or remove mods, or notice strange behavior like disappearing textures, UI glitches, or slow loading times. For heavy mod users, doing this weekly is a good practice.
What exactly is the localthumbcache.package file?
This file stores the images (thumbnails) of your Sims, their outfits, and the objects in your build mode. It prevents the game from having to render every single image from scratch every time you open a menu, which speeds up navigation.
Can I just delete the entire cache folder?
It is safer to delete the files inside the folder rather than the folder itself. While the game will usually recreate the folder if it is missing, deleting only the contents ensures that folder permissions remain intact and avoids potential directory errors.
Why does the game load slower after I clear the cache?
The first load is slower because the game is rebuilding the necessary temporary files. Once these are regenerated and saved back to your disk, the loading speed will return to normal, and the game will likely run more smoothly than before.