fivemHow to Clear FiveM Cache (Client & Server) – Step-by-Step Guide [2026]
What Is the FiveM Cache (And Why Do You Need to Clear It?)
Whenever you connect to a FiveM roleplay server, your game client automatically streams and downloads megabytes—sometimes gigabytes—of custom content: custom vehicles, clothing items (EUP), weapon skins, MLO interiors, map modifications, and UI scripts.
To prevent you from having to re-download all those files every single time you reconnect, FiveM saves them locally on your computer inside your FiveM Application Data cache.
While this caching system makes loading times faster, it creates major issues over time:
- Stale assets & texture glitches: If a server updates a custom car model or clothing item, your local cache might still try to load the old version, causing invisible bodies, floating heads, or broken textures.
- Corrupted temporary files: Abrupt game crashes or internet disconnects during asset downloading can leave half-downloaded files in your cache, causing the game to crash on startup with memory errors.
- Wasted disk space: If you play across 5 to 10 different servers, your FiveM cache folder can quietly swell to 30GB to 50GB+ of junk data you will never use again.
- Server-side sync conflicts: For server owners, outdated server cache can prevent code edits in
fxmanifest.luaor new map streaming files from appearing in-game.
Clearing your cache is the #1 universal fix for 90% of FiveM crashes, texture bugs, and connection timeouts.
When Should You Clear Your FiveM Cache?
| Symptom / Error | Why Clearing Cache Fixes It |
|---|---|
| Stuck on "Entering Game" loop | Removes corrupted login handshake data and stalled NUI scripts |
| Invisible clothing or floating heads | Purges mismatched local clothing hashes so fresh .ymt files download |
| "Could not load resource cache" crash | Replaces broken, half-streamed vehicle or map files |
| Low FPS / micro-stuttering | Frees up physical RAM and cleans fragmented temporary storage |
| "Game crashed in pool" error | Flushes overcrowded texture dictionaries loaded from previous sessions |
| Script/MLO updates not showing (Admins) | Forces the server/client to rebuild the fresh asset stream table |
Did you know? Clean, optimized scripts that follow modern asset streaming standards reduce cache bloat and eliminate memory crashes for players. Browse clean, verified resources on FiveVault →
Method 1: How to Clear FiveM Client Cache (For Players & Developers)
Follow these steps to safely clear your client cache on Windows 10 or Windows 11.
Step 1: Completely Close FiveM & GTA V
Before touching any game folders, ensure FiveM and GTA V are not running in the background.
- Press
Ctrl + Shift + Escto open Task Manager. - Look for
FiveM,GTA V, orCitizenFXprocesses. - If any are running, right-click and select End Task.
Step 2: Open the FiveM Application Data Folder
There are two easy ways to locate your FiveM data folder:
#### Option A: Using the Windows Run Dialog (Fastest)
- Press
Windows Key + Ron your keyboard to open the Run prompt. - Copy and paste the following path into the box and press Enter:
%localappdata%\FiveM\FiveM.app
#### Option B: Using Desktop Shortcut
- Find your FiveM desktop icon.
- Right-click the icon and select Open file location.
Step 3: Navigate to the data Folder
Inside the FiveM.app directory, double-click on the folder named data.
FiveM.app/
├── citizen/
├── crashes/
├── logs/
├── plugins/
└── data/ <-- Open this folder!Step 4: Delete the Cache Folders (DO NOT Delete game-storage!)
Inside the data/ folder, you will see several subfolders and files.
data/
├── cache/ ❌ DELETE
├── server-cache/ ❌ DELETE
├── server-cache-priv/ ❌ DELETE
├── nui-storage/ ❌ DELETE
└── game-storage/ ✅ DO NOT DELETE! (KEEP THIS!)#### What to Delete:
- Delete the folder named
cache - Delete the folder named
server-cache - Delete the folder named
server-cache-priv - Delete the folder named
nui-storage(Optional: clears cached web UI menus, bank HUDs, and inventory assets)
[!WARNING]
CRITICAL: NEVER DELETEgame-storage!
Thegame-storagefolder contains the core Grand Theft Auto V base DLC files that FiveM uses to run. If you deletegame-storage, FiveM will be forced to redownload 15GB to 25GB+ of data the next time you launch the game!
Step 5: Empty Recycle Bin & Restart FiveM
- Right-click your desktop Recycle Bin and select Empty Recycle Bin to reclaim your disk space.
- Launch FiveM.
- Connect to your favorite server. FiveM will cleanly download fresh, uncorrupted server assets.
Method 2: The 1-Click Automated Batch Script (Power Users)
If you play FiveM frequently or develop scripts, manually browsing folders every few days gets tedious. You can create a simple Windows Batch (.bat) script that safely clears your cache in 1 second.
How to Create the Cleaner Script:
- Right-click on your desktop, go to New, and select Text Document.
- Open the file and paste the following code:
@echo off
title FiveM Safe Cache Cleaner [2026]
echo ========================================================
echo Closing FiveM & Cleaning Cache Safely
echo ========================================================
echo.
:: Kill active FiveM tasks
taskkill /F /IM FiveM.exe >nul 2>&1
taskkill /F /IM FiveM_GTAProcess.exe >nul 2>&1
taskkill /F /IM FiveM_ChromeBrowser.exe >nul 2>&1
:: Set FiveM Data Path
set "FIVEM_DATA=%localappdata%\FiveM\FiveM.app\data"
if not exist "%FIVEM_DATA%" (
echo [ERROR] FiveM data directory not found!
echo Checked: %FIVEM_DATA%
pause
exit /b
)
:: Safely remove only cache directories (Leaving game-storage intact)
echo Removing temporary cache folders...
rmdir /s /q "%FIVEM_DATA%\cache" >nul 2>&1
rmdir /s /q "%FIVEM_DATA%\server-cache" >nul 2>&1
rmdir /s /q "%FIVEM_DATA%\server-cache-priv" >nul 2>&1
rmdir /s /q "%FIVEM_DATA%\nui-storage" >nul 2>&1
echo.
echo ========================================================
echo [SUCCESS] FiveM Cache Cleared Successfully!
echo (game-storage DLC files were protected)
echo ========================================================
echo.
pause- Click File > Save As...
- Set Save as type to All Files (.).
- Name the file
Clear_FiveM_Cache.batand click Save. - Whenever you experience glitches or crashes, simply double-click this file to clean your game instantly!
Method 3: How to Clear FiveM Server Cache (For Server Owners & Admins)
If you are a server owner, administrator, or developer, you also have to manage the server-side cache.
Whenever you edit .meta files (handling, carvariations), modify fxmanifest.lua, or update MLO map files, the server might still serve cached asset headers to connecting players.
┌────────────────────────────────────────────────────────┐
│ SERVER CACHE PURGE │
└───────────────────────────┬────────────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ 1. Stop the FiveM Server in txAdmin │
└─────────────────────┬────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ 2. Navigate to your server-data root │
│ Locate the folder: /cache/ │
└─────────────────────┬────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ 3. Delete the entire /cache/ folder │
└─────────────────────┬────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ 4. Start the Server │
│ (Server rebuilds cache on boot) │
└──────────────────────────────────────────┘Step-by-Step Server Cache Clearing:
- Open your txAdmin web panel or server terminal.
- Click Stop Server (Never clear server cache while the server is running, or database writes may corrupt).
- Connect via SFTP / SSH or open your hosting File Manager.
- Navigate to your server root directory (where your
server.cfgandresourcesfolder live). - Locate the folder named
cache(ortxData/default/cachedepending on your txAdmin profile path). - Delete the entire
cachefolder. - Click Start Server in txAdmin.
On startup, your FiveM artifact will rebuild a fresh, updated index of all resources with zero old streaming data.
Cache Folders Breakdown: What Each Folder Actually Does
| Folder Name | Location | Safe to Delete? | What It Stores |
|---|---|---|---|
cache | FiveM.app/data/ | YES | General streaming asset cache, script files, and temporary buffers |
server-cache | FiveM.app/data/ | YES | Cached assets streamed from public servers you have joined |
server-cache-priv | FiveM.app/data/ | YES | Cached assets streamed from passworded / whitelist servers |
nui-storage | FiveM.app/data/ | YES | Web browser storage (HTML/JS/CSS HUD elements, custom phone cookies) |
logs | FiveM.app/ | YES | Text log files tracking game sessions and crash dump reports |
crashes | FiveM.app/ | YES | .dmp crash memory dumps generated after game crashes |
game-storage | FiveM.app/data/ | ⛔ NO! | Core GTA V DLC game archives (Deleting forces 20GB+ re-download) |
Troubleshooting Common Cache & Loading Errors
❌ FiveM stuck on "Downloading Content" loop after clearing cache
Solution:- This is normal on your first connection after clearing cache because your game is downloading clean server files.
- If it freezes on a specific asset for more than 5 minutes, restart FiveM and check your internet connection.
- If it persists, the server owner may have an oversized unoptimized file (>16MB) failing to stream.
❌ Accidentally deleted the game-storage folder
Solution:
Launch FiveM. The client will detect the missing base game files and display a verification prompt: "FiveM needs to update local game data (~15GB)". Click Yes and let the download finish. Do not interrupt the download.
❌ Cleared cache but custom vehicle / clothing is still invisible
Solution:If clearing client cache does not resolve the issue, the bug is on the server side:
- The server owner must verify that the vehicle or clothing resource has correct
fxmanifest.luastreaming definitions. - The server owner needs to clear the server-side cache following Method 3 above.
❌ "Could not load resource cache_file" error on join
Solution:This error indicates an antivirus or Windows Defender blocked FiveM from writing to %localappdata%. Add the FiveM.app folder to your Windows Defender Exclusions list, clear cache again, and relaunch.
❌ NUI menus (Phone, Bank, Inventory) remain blank after script update
Solution:Ensure you deleted the nui-storage folder inside FiveM.app/data/. CEF (Chromium Embedded Framework) aggressively caches web files; deleting nui-storage forces the browser engine to load updated frontend code.
Recommended Performance & Optimization Resources
| Resource | Purpose | Benefit |
|---|---|---|
| txAdmin | Server Manager | Fast 1-click server restarts and clean cache management |
| ox_lib | Core Framework Utilities | High-performance UI elements that prevent NUI storage bloat |
| FiveVault Verified Scripts | Script Marketplace | Lightweight, audited scripts designed for fast asset streaming |
| OpenIV | Asset Inspector | Check and reduce texture sizes before streaming to players |
| PMA-Voice | Native Audio | Zero-cache native audio streaming with no voice lag |
Final Tips for Managing Cache & Game Stability
- ✅ Clear client cache once every 2–4 weeks to keep your game running at peak FPS and clear disk clutter.
- ✅ Always keep
game-storageuntouched to avoid wasting time redownloading 20GB of base GTA files. - ✅ Server owners should clear server cache after updating maps or vehicles to ensure players download new versions immediately.
- ✅ Use the 1-Click
.batscript for effortless cache cleaning without digging through Windows AppData folders. - ✅ Close FiveM completely before deleting files to prevent Windows "File in use" permission errors.
Frequently Asked Questions
Q: Will clearing my cache delete my in-game money, cars, or inventory items?A: No! Your characters, money, vehicles, and items are stored safely in the server's remote database (MySQL/MariaDB). Clearing your local cache only deletes temporary visual models and scripts.
Q: Will clearing cache reset my keybinds or game settings?A: No. Your key bindings and graphics settings are stored in CitizenFX.ini and GTA V's settings file (settings.xml), which are not touched during a cache clear.
A: Because you cleared the temporary storage, your client must re-stream the server's custom cars, maps, and clothes for the first time. Subsequent connections will load instantly.
Q: How much disk space can clearing cache save?A: Depending on how many servers you have visited, clearing cache typically reclaims anywhere from 5GB to 40GB+ of free SSD/HDD storage.
Q: Do I need to reinstall FiveM if clearing cache doesn't fix my crash?A: Rarely. If clearing cache does not fix your crash, verify your base GTA V game files via Steam, Epic Games, or Rockstar Games Launcher first before reinstalling FiveM.
Need help securing your FiveM server or auditing your resources? Join our Discord — 12,000+ members and counting.