Jellyfin Storage Growth: Find What's Using Disk Space
In this article
Jellyfin's storage keeps growing because it stores not only your media files but also metadata, images, transcoded temporary files, and database logs that accumulate over time. To find what is using disk space, you need to check the media library folders, the Jellyfin data directory (especially transcodes and metadata subfolders), and any scheduled tasks that generate cache. This article explains the common causes and shows you how to identify and reclaim that space.
Why Jellyfin Storage Grows Uncontrollably
Jellyfin is a media server that indexes your movies, shows, and music. For every item, it downloads or generates metadata: posters, backdrops, logos, and text descriptions. It also creates thumbnails for chapter images and trickplay (fast-scrub previews) if enabled. These files are stored in the metadata directory, which can easily reach tens of gigabytes for a large library.
Another major consumer is the transcoding temporary folder. When you watch a video that needs format conversion (e.g., subtitles burned in, or a format your TV doesn't support), Jellyfin writes temporary chunks of the transcoded stream to disk. If a stream is interrupted or the player crashes, these temp files may not be cleaned up automatically. Over time, this folder can balloon to many gigabytes.
Finally, Jellyfin keeps a database (SQLite) that grows with every scan and playback event. Logs also accumulate, especially if you have debug logging enabled. None of these are deleted automatically unless you configure a cleanup task.
Where Jellyfin Stores Data
The data directory location depends on your operating system and how you installed Jellyfin. Common paths are:
- Windows (installer):
C:\ProgramData\Jellyfin\Server - Linux (generic):
/var/lib/jellyfin - Docker: usually a mounted volume like
/config(check yourdocker-compose.yml) - macOS:
~/.local/share/jellyfin
Inside that directory, the main space hogs are:
metadata/– posters, backdrops, and images for each library itemtranscodes/– temporary transcoded video chunkscache/– image cache and other temporary datadata/– the SQLite database (jellyfin.db) and logs
How to Find What's Using Disk Space
You can use standard operating system tools to see which folders are large. On Windows, open the data directory in File Explorer and check folder sizes. On Linux, use du -h --max-depth=1 /var/lib/jellyfin to list sizes. For a more visual approach, a disk usage analyzer (like WinDirStat on Windows, or baobab on Linux) can show you the biggest files and folders at a glance.
Inside Jellyfin itself, go to Dashboard → Advanced → Logs to see log file sizes. The Scheduled Tasks page shows when the last cleanup ran. If you have enabled trickplay (fast-scrub previews), those images are stored in metadata/ and can be huge for a long movie – each frame is a JPEG.
How to Reclaim Space Safely
First, stop the Jellyfin service to avoid file locks. Then delete the contents of the transcodes folder – it is safe because it only contains temporary files. Next, you can clear the image cache in cache/ – Jellyfin will regenerate it as needed. For metadata, you can delete the entire metadata folder and force a library scan; Jellyfin will re-download everything. Be aware that this will lose any custom images you added manually, so back those up first.
To prevent future growth, enable the built-in cleanup task: Dashboard → Scheduled Tasks → “Clean up temporary files”. Set it to run daily. Also, disable trickplay if you don't need it, and limit the number of transcoding threads or set a maximum bitrate to reduce the size of temporary chunks.
Common Mistakes That Bloat Storage
One common mistake is enabling “Store media in the media folder” in library settings. This writes metadata files (like poster.jpg) directly into your media folders, making them larger and harder to clean. Another is leaving debug logging on for extended periods – logs can grow to gigabytes. Also, if you use hardware transcoding, the temporary files are written to disk even if the GPU does the encoding, so they still accumulate.
Another misconception is that deleting a movie from Jellyfin removes its metadata. In fact, the metadata files remain in the metadata directory until you run a library scan with “Remove items that are no longer present” enabled. If you delete media outside of Jellyfin, the metadata stays behind.
Comparing with Plex and Emby
Plex and Emby also store metadata and transcodes, but they handle cleanup differently. Plex has a built-in “Optimize database” and “Clean bundles” task that runs automatically. Emby has similar scheduled tasks. Jellyfin's cleanup task is less aggressive by default, so it requires more manual attention. If you are migrating from Plex, you may be used to automatic cleanup – with Jellyfin you need to configure it yourself.
When to Use Disk Usage Analyzers
If the Jellyfin data directory is not the only thing growing, you should check your whole system. Use a tool like du (Linux) or WinDirStat (Windows) to find other large folders, such as Docker overlay directories or system logs. Sometimes the growth is not Jellyfin's fault but a side effect of container logs or a database that isn't vacuumed.
Frequently Asked Questions
Is it safe to delete the transcodes folder?
Yes, it is safe. The transcodes folder contains only temporary files that Jellyfin creates during playback. Deleting them while the server is stopped will not harm your library; Jellyfin will simply create new ones as needed.
Why is my metadata folder so huge?
Metadata includes posters, backdrops, and trickplay images. If you have a large library (thousands of items), the images can easily reach 10-20 GB. Trickplay generates dozens of JPEGs per video, which adds up quickly. You can reduce this by disabling trickplay or lowering the image quality in library settings.
How do I stop Jellyfin from writing metadata into my media folders?
In , uncheck the option “Store media in the media folder”. This keeps all metadata in the Jellyfin data directory instead of scattering files next to your videos.
Does Jellyfin automatically clean up temporary files?
It has a scheduled task called “Clean up temporary files” that can be enabled, but it is not on by default. You need to set a schedule (e.g., daily) and make sure it runs. Even then, it may not remove files that are currently in use.
Can I move the data directory to another drive?
Yes, you can move the entire Jellyfin data directory to a larger disk. Stop the server, copy the folder, and then update the startup arguments or environment variables to point to the new location. For Docker, change the volume mount. This is a common solution when your system drive is full.
Why did my storage grow after a library scan?
A library scan refreshes metadata for every item. If you have enabled “Replace all metadata” or added many new items, Jellyfin downloads new images, and old images are not always deleted immediately. The growth is expected and can be reduced by limiting metadata downloads to only missing items.