Below is the “short-list” most teams delete once a source-build of UE5 is finished and the engine launches correctly.
Everything on the list can be regenerated, re-cloned, or is only needed for development conveniences—not for actually running the editor or packaging games.
🚨 Golden rule: If you plan to recompile the engine or step through engine code with the debugger, KEEP the files.
Make a backup first if you’re unsure.
SAFE-TO-DELETE FOLDERS / FILE TYPES
| Folder / File | Typical size | What it is / Why it’s safe to delete |
|---|
| Engine/Intermediate/ | 15–25 GB | C++ obj files & build temp files. Re-created on next build. |
| Engine/Saved/ | <1 GB | Log files, crash reports, config diffs, autosaves. |
| Engine/DerivedDataCache/ (DDC)* | 5–80 GB | Cached shaders & cooked assets. Will rebuild on demand. |
| Engine/Programs/*/Intermediate/ | 1–2 GB | Same as above, but for each program (UnrealBuildTool, UShaderCacheTool…) |
| *.pdb (symbol files) inside Engine/Binaries/ | 10–30 GB | Used only for low-level debugging. Delete or 7-zip them. |
| .git , .github , .gitignore , etc. | 0.2 GB | Version control metadata if you aren’t going to pull/merge again. |
| Documentation/ | 0.5 GB | Offline HTML docs; online docs are on docs.unrealengine.com. |
| Extras/ | 1 GB | Automation scripts, console utilities, launcher art. |
| FeaturePacks/ | 2 GB | Content packs that appear in the “New Project” dialog. |
| Templates/ | 2–4 GB | Sample templates you don’t intend to use. |
| Samples/ or Samples-Content/ ** | 5–40 GB | Optional sample projects (Lyra, CitySample, etc.). |
| **CitySample alone can be 90 GB—delete after you’ve admired it 😉. | | |
* The global shared DDC (C:\Users<you>\AppData\Local\UnrealEngine\Common\DerivedDataCache) is NOT touched; we’re only talking about the copy that sits under Engine/.
HOW TO REMOVE WITHOUT BREAKING THINGS
- Close the editor & Visual Studio / Rider first.
- Delete folders in chunks rather than all at once; launch the editor after each chunk if you want extra safety.
- If you removed DDC, the first project you open will spend time recompiling shaders. After that it’ll be fast again.
- Keep at least one set of PDBs for the engine build you ship to QA; you’ll need symbols if a crash dump comes back.
EXTRA SPACE SAVERS (OPTIONAL / ADVANCED)
• Strip Binaries: Engine\Build\BatchFiles\StripSymbols.bat Win64 will copy binaries and remove debug symbols.
• Build With -SkipDebugInfo switch when you call Build.bat to avoid writing PDBs in the first place.
• Use a perforce client-side “+m” modifier or Git LFS --skip-smudge to avoid downloading Samples/FeaturePacks at all.
• Zip up the entire engine you actually ship to artists and discard the source tree; works great in per-project setups.
TL;DR
For most developers who only need to OPEN the editor and PACKAGE games, you can nuke:
Engine/Intermediate, Engine/Saved, Engine/DerivedDataCache, all \Intermediate, Documentation, Extras, FeaturePacks, Templates, Samples, and the .git folder plus any *.pdb files.
That typically reclaims 25-100 GB depending on which samples were cloned.
If you ever need to recompile or debug the engine, just restore or rebuild those pieces. Happy disk-saving! 🎉