How to Clear Cache in FiveM
Learn how to clear FiveM cache to fix common issues like loading problems, outdated resources, and connection errors.
Overview
FiveM cache stores downloaded resources and game data to improve performance. However, cached files can sometimes become corrupted or outdated, causing various issues. Clearing the cache is often the first troubleshooting step for FiveM problems.
When to Clear Cache
Clear your FiveM cache when experiencing:
- ✅ Connection issues - Can’t connect to servers
- ✅ Loading problems - Infinite loading screens
- ✅ Resource errors - Scripts not working properly
- ✅ Outdated content - Old textures or models showing
- ✅ Performance issues - FPS drops or stuttering
- ✅ Server update problems - New content not downloading
Method 1: Complete Cache Clear (Recommended)
Step 1: Close FiveM Completely
- Exit FiveM completely
- Open Task Manager (Ctrl + Shift + Esc)
- Look for any FiveM processes and end them
- Also end any Steam or Rockstar Launcher processes if they’re running
Step 2: Navigate to FiveM Data Folder
Windows 10/11:
%localappdata%/FiveM/FiveM.app/data
How to access:
- Press Windows Key + R
- Type:
%localappdata%
- Navigate to:
FiveM
→FiveM.app
→data
Step 3: Delete Cache Folders
Delete these folders completely:
cache/
server-cache/
server-cache-priv/
Step 4: Clear Additional Locations
FiveM Application Data:
%localappdata%/FiveM/FiveM.app/logs
CitizenFX Folder:
%appdata%/CitizenFX
Step 5: Restart and Test
- Restart your computer (recommended)
- Launch FiveM
- Connect to your server
- Allow resources to download fresh
Method 2: Selective Cache Clear
If you don’t want to clear everything, you can selectively clear specific components:
Clear Only Server Cache
Navigate to:
%localappdata%/FiveM/FiveM.app/data/server-cache
Delete folders for specific servers that are causing issues.
Clear Only Resource Cache
Navigate to:
%localappdata%/FiveM/FiveM.app/data/cache/files
Delete resource-specific folders.
Method 3: Using FiveM Built-in Options
Clear Cache via FiveM Settings
- Open FiveM
- Click Settings (gear icon)
- Go to Game tab
- Click Reset Setting → Clear cache
- Restart FiveM
F8 Console Commands
Press F8 in FiveM and use these commands:
quit
Then manually clear cache folders and restart.
Advanced Troubleshooting
Clear Steam Download Cache
If using Steam version of GTA V:
- Open Steam
- Go to Steam → Settings
- Click Downloads
- Click Clear Download Cache
- Restart Steam
Reset FiveM Completely
For persistent issues, reset FiveM entirely:
- Uninstall FiveM completely
- Delete these folders:
%localappdata%/FiveM
%appdata%/CitizenFX
- Restart computer
- Download and install fresh FiveM
Cache Folders Explained
Folder | Purpose | Safe to Delete |
---|---|---|
cache/ | General game cache | ✅ Yes |
server-cache/ | Server-specific resources | ✅ Yes |
server-cache-priv/ | Private server data | ✅ Yes |
logs/ | FiveM log files | ✅ Yes |
game-storage/ | Game save data | ⚠️ Caution |
Prevent Cache Issues
Regular Maintenance
- Clear cache monthly - Prevents buildup
- Update FiveM regularly - Latest version fixes issues
- Close FiveM properly - Don’t force quit
- Monitor disk space - Low space causes cache problems
Server Owner Tips
For server owners experiencing player cache issues:
-- Add to server.cfg
set sv_disableClientReplacement true
set sv_forceVersionMatch true
Troubleshooting Common Issues
Issue: Cache Won’t Delete
Solution:
- End all FiveM processes in Task Manager
- Restart computer
- Try deleting cache again
- If still locked, use Unlocker utility
Issue: Resources Still Not Loading
Solution:
- Clear cache completely
- Verify GTA V integrity (Steam: Right-click → Properties → Local Files → Verify)
- Update graphics drivers
- Check server status
Issue: Infinite Loading Screen
Solution:
- Clear cache using Method 1
- Delete
%userprofile%/Documents/Rockstar Games/GTA V/
- Restart router/internet connection
- Try different server
Issue: FiveM Won’t Start After Cache Clear
Solution:
- Run FiveM as administrator
- Disable antivirus temporarily
- Reinstall Visual C++ Redistributables
- Check Windows updates
Batch Script for Quick Cache Clear
Create a .bat
file for quick cache clearing:
@echo off
echo Clearing FiveM Cache...
taskkill /f /im FiveM.exe >nul 2>&1
taskkill /f /im FiveM_ChromiumProcess.exe >nul 2>&1
taskkill /f /im FiveM_GTAProcess.exe >nul 2>&1
timeout /t 2 >nul
rd /s /q "%localappdata%\FiveM\FiveM.app\data\cache" >nul 2>&1
rd /s /q "%localappdata%\FiveM\FiveM.app\data\server-cache" >nul 2>&1
rd /s /q "%localappdata%\FiveM\FiveM.app\data\server-cache-priv" >nul 2>&1
echo Cache cleared successfully!
echo You can now restart FiveM.
pause
Alternative Cache Locations
Some installations may have cache in different locations:
Portable FiveM:
[FiveM Installation Folder]/data/cache
Custom Installation:
[Custom Path]/FiveM/data/cache
Best Practices
- Close FiveM properly - Always exit through the menu
- Don’t delete while running - Always close FiveM first
- Backup saves - Keep important game data backed up
- Regular updates - Keep FiveM and GTA V updated
- Monitor performance - Clear cache when issues arise
Linux/Mac Instructions
Linux (Wine/Lutris)
rm -rf ~/.local/share/FiveM/FiveM.app/data/cache
rm -rf ~/.local/share/FiveM/FiveM.app/data/server-cache
macOS (if supported)
rm -rf ~/Library/Application\ Support/FiveM/cache
Conclusion
Clearing FiveM cache is a simple but effective solution for most FiveM-related issues. Regular cache maintenance prevents problems and ensures optimal performance. Always start with a complete cache clear for best results.
Remember to be patient after clearing cache - resources need time to download fresh from servers.
Still having issues? Join our GitHub discussions or check out more troubleshooting guides.