Make sure FiveM is completely closed before starting. To begin, open a new File Explorer window.
Click inside the address bar at the top of the explorer window, and delete everything there. Replace it with
%LocalAppData% and press Enter.
This will bring you to your AppData Local folder.
Inside this folder look for the FiveM folder and double click it.
Inside the FiveM folder, double click on "FiveM Application Data".
Inside the application data folder, open the cache folder.
Inside of this folder, you need to delete everything EXCEPT the
That's it! Your cache is cleared and you can open FiveM and join the server.
One-Click Cache Clear
To aid the cache clearing process process, we have created a Windows batch script which you can use to automatically clear your cache while preserving the
game folder. NOTE: This part of the article is for more tech savvy folks, attempt at own risk. To begin creating a batch file, right click on your Desktop and choose
Text Document (NOT Rich Text Format).
You will see the new file on your Desktop.
Double click to open the file in Notepad, then go to
File and choose
Save the file as
IMPORTANT: Where it says
Save As Type, you must click and choose
You can name the file whatever you want, but make sure the file name ends in
After the file is saved, check that the icon has changed on your Desktop. The file type will no longer be a text file (
.txt), it should be a Windows batch file (
Now you can go back to Notepad, and paste the following code into the empty file.
pushd "%LocalAppData%\FiveM\FiveM.app\cache" || exit /B 1
for /D %%D in ("*") do (
if /I not "%%~nxD"=="game" rd /S /Q "%%~D"
for %%F in ("*") do (
Then Save the file.
Once the file is saved you can close Notepad and run the file from your desktop (double click on the file or right click then choose "Open"). It might not appear that anything has happened, but the script has automatically completed the process outlined at the top of this document.
You can also download the completed
.bat file below, but beware that Windows defender and other anti-malware software will detect the file as suspicious. This is a false-positive, the file is safe, however the warning given is valid because you should not run
.bat files if you do not know what they do.