To reclaim space safely, use Jellyfin’s built-in maintenance tasks rather than deleting random files. First verify the cache and transcode locations for your installation, then run Clear Cache Folder and Clear Transcodes Folder from the administrator task screen. Finally, check free space on the host filesystem that actually stores those directories.
There is no universal path such as /var/cache/jellyfin. Package installs, portable installs, containers, NAS applications, and administrator overrides can all put the folders somewhere different. Deleting media, the database, configuration files, or unrelated content under Jellyfin’s data directory can damage the server or remove your library.
As an Amazon Associate I earn from qualifying purchases.
What you can safely clear
Jellyfin separates temporary playback output from cached application assets. The server exposes a maintenance task for each:
- Clear Cache Folder removes content in Jellyfin’s configured cache location, which can include generated or downloaded artwork and other temporary assets.
- Clear Transcodes Folder removes temporary files created while a client is being served transcoded playback.
Both tasks are designed to be run manually or on a schedule. The Jellyfin Project’s task documentation describes tasks as operations that run periodically and says they can also be triggered manually with the run button. Running the tasks is safer than guessing at a directory and issuing a recursive delete.
#1 Best Overall
- Entry-level NAS Personal Storage:UGREEN NAS DH2300 is your first and best NAS made easy. It is designed for beginners who want a simple, private way to store videos, photos and personal files, which is intuitive for users moving from cloud storage or external drives and move away from scattered date across devices. This entry-level NAS 2-bay perfect for personal entertainment, photo storage, and easy data backup (doesn't support Docker or virtual machines).
- Set Your Devices Free, Expand Your Digital World: This unified storage hub supports massive capacity up to 64TB.*Storage drives not included. Stop Deleting, Start Storing. You can store 22 million 3MB images, or 2 million 30MB songs, or 43K 1.5GB movies or 67 million 1MB documents! UGREEN NAS is a better way to free up storage across all your devices such as phones, computers, tablets and also does automatic backups across devices regardless of the operating system—Window, iOS, Android or macOS.
- The Smarter Long-term Way to Store: Unlike cloud storage with recurring monthly fees, a UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $459.98 for a NAS, while for cloud storage, you need to pay $719.88 per year, $2,159.64 for 3 years, $3,599.40 for 5 years. You will save $6,738.82 over 10 years with UGREEN NAS! *NAS cost based on DH2300 + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
- Blazing Speed, Minimal Power: Equipped with a high-performance processor, 1GbE port, and 4GB RAM on Board, this NAS handles multiple tasks with ease. File transfers reach up to 125MB/s—a 1GB file takes only 8 seconds. Don't let slow clouds hold you back; they often need over 100 seconds for the same task. The difference is clear.
- Let AI Better Organize Your Memories: UGREEN NAS uses AI to tag faces, locations, texts, and objects—so you can effortlessly find any photo by searching for who or what's in it in seconds. It also automatically finds and deletes similar or duplicate photo, backs up live photos and allows you to share them with your friends or family with just one tap. Everything stays effortlessly organized, powered by intelligent tagging and recognition.
These folders are not the permanent media library. Your films, episodes, music, subtitles, users, playback history, database, and server configuration are separate concerns. Do not treat the whole Jellyfin data directory as disposable.
Why Jellyfin storage can grow quickly
Artwork and image cache
Jellyfin can keep locally generated or retrieved images so that posters, backdrops, thumbnails, and similar artwork do not have to be produced or fetched on every request. The exact contents depend on your server version, enabled plugins, libraries, clients, and activity. A busy installation with many titles or users can therefore accumulate a substantial cache even though the original media files have not changed.
Clearing the cache is a capacity-management action, not a promise of a permanent reduction. Clients may request images again, and Jellyfin or a plugin may recreate assets when they are needed. Official documentation does not guarantee exactly which image is regenerated, when regeneration occurs, or how much first-load performance changes after a cleanup. Treat the first access after clearing as potentially different from later accesses, and judge the result on your own installation.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Transcode output
A transcode is temporary playback output. A client may ask the server to convert a video or audio stream when the device, browser, network, subtitle mode, codec, container, or bitrate cannot use the original directly. Jellyfin distinguishes Direct Play, remuxing, direct stream, and transcoding; the client’s capabilities and constraints influence the request, and the server selects suitable output settings.
Consequently, transcode usage depends on what is being watched and on which clients. A large transcode directory does not necessarily mean that Jellyfin has permanently duplicated your library. It may represent abandoned sessions, concurrent viewers, or a single conversion that needs considerable working space.
Jellyfin’s storage documentation gives an intentionally wide example: a 50 GB Blu-ray remux might become approximately 60 GB or approximately 15 GB after transcoding, depending on the output. That is an illustrative example from the project’s documentation, not a typical size or a guarantee for your files. It shows why a few active jobs can consume tens of gigabytes.
Step 1: identify the real cache and transcode paths
Do this before opening a shell or file manager. The path visible on a host may not be the path Jellyfin is using, and a path shown inside a container may not be the path that consumes space on the host.
Recommended Free Tools
Rank #2
- Value NAS with RAID for centralized storage and backup for all your devices. Check out the LS 700 for enhanced features, cloud capabilities, macOS 26, and up to 7x faster performance than the LS 200.
- Connect the LinkStation to your router and enjoy shared network storage for your devices. The NAS is compatible with Windows and macOS*, and Buffalo's US-based support is on-hand 24/7 for installation walkthroughs. *Only for macOS 15 (Sequoia) and earlier. For macOS 26, check out our LS 700 series.
- Subscription-Free Personal Cloud – Store, back up, and manage all your videos, music, and photos and access them anytime without paying any monthly fees.
- Storage Purpose-Built for Data Security – A NAS designed to keep your data safe, the LS200 features a closed system to reduce vulnerabilities from 3rd party apps and SSL encryption for secure file transfers.
- Back Up Multiple Computers & Devices – NAS Navigator management utility and PC backup software included. NAS Navigator 2 for macOS 15 and earlier. You can set up automated backups of data on your computers.
Use Jellyfin’s path information
- Sign in with an administrator account.
- Open the administrator dashboard and go to the server’s Paths area. Jellyfin’s migration and backup guidance directs administrators to Dashboard > Paths; the exact surrounding menu labels can vary by release.
- Record the displayed data, cache, and transcoding locations, if shown. Note the filesystem, mount, or volume associated with each location rather than copying only the final directory name.
- Check whether the installation is a native package, a portable build, Docker or another container, or a managed NAS application. The deployment type determines how the displayed path maps to storage you can inspect.
If your dashboard does not expose a separate transcode path, use the installation’s documented configuration and task screen to determine where temporary output is being written. Do not infer it from a path used by another Jellyfin guide.
Understand cache-directory precedence
Jellyfin’s configuration documentation lists this precedence for the cache directory:
- The command-line
--cachediroption. - The
JELLYFIN_CACHE_DIRenvironment variable. - A platform-dependent default.
That default can differ by operating system and packaging. Documented possibilities include a cache directory under the Windows data directory, an XDG cache location on Linux systems, and $HOME/.cache/jellyfin. Package maintainers, portable distributions, container images, and local administrators can add another layer of configuration.
Check the service definition, container environment, launch script, or NAS application settings if the dashboard and the host’s directory listing appear inconsistent. An override can silently take precedence over a familiar package path.
Account for containers and NAS applications
In a container, Jellyfin sees an internal path such as a directory under its application filesystem. A bind mount or volume maps that internal path to a host directory. Removing files from the host directory that backs the mount affects Jellyfin; removing an unrelated host directory with a similar name does not.
For a container deployment, inspect the volume mapping in the compose file, container run command, or NAS interface. Confirm both sides:
- the path Jellyfin reports inside the container;
- the host path or dataset mounted there;
- whether the mount is persistent or recreated when the container is rebuilt; and
- which host filesystem supplies the available capacity.
TrueNAS and similar managed deployments may expose separate settings for cache and transcode storage. A path that looks spacious inside the application can still be constrained by the host dataset, quota, or mount.
Rank #3
- [ Massive 4TB Storage Capacity ] Store thousands of photos, videos, games, music files, and important documents in one convenient external hard drive.
- [ Fast USB 3.0 Performance ] High-speed USB 3.0 interface provides reliable and efficient data transfer for backups and everyday storage use.
- [ Plug & Play Convenience ] Easy setup with no additional software required; compatible with Windows PCs, Mac computers, gaming consoles, and more.
- [ Reliable Backup & Storage Solution ] Ideal for expanding storage, system backups, gaming libraries, videos, photos, and everyday file organization.
Step 2: run Jellyfin’s cleanup tasks
Clear the cache
- Open the administrator dashboard.
- Open the scheduled-tasks or maintenance view. In many Jellyfin releases this is labeled Scheduled Tasks; menu placement can change with the interface version.
- Find the task named Clear Cache Folder.
- Click its run button and wait for the task to finish or return to an idle state.
Do not stop at a similarly named library scan or metadata task. The task name matters: Clear Cache Folder is the operation intended to clear the configured cache folder.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsClear transcoded output
- Remain in the same scheduled-task or maintenance view.
- Find Clear Transcodes Folder.
- Click its run button.
- Allow active playback sessions to finish or stop them first if you need the largest possible immediate reclamation. A session that is still transcoding can create new files while you are checking the directory.
Run the two tasks separately if you want to see which one accounts for the space. If the server is actively serving a transcode, the task may remove completed or stale output while current playback continues to need working files. The exact handling can vary by Jellyfin version, so rely on the task result and the subsequent disk check rather than assuming every byte disappears instantly.
Schedule recurring cleanup when appropriate
Tasks can be scheduled as well as triggered manually. A recurring schedule can prevent abandoned temporary output from quietly filling a volume, but choose a time that does not interrupt heavy viewing or library maintenance. Keep enough working space for an active transcode; a schedule is not a substitute for adequate capacity.
Before enabling an aggressive schedule, consider how often your household watches remotely, whether clients commonly require transcoding, and whether a cache purge would cause repeated artwork generation. A less frequent cache cleanup combined with more regular transcode cleanup may be appropriate, but Jellyfin’s documentation does not prescribe one universal interval.
Step 3: verify that space was returned
Measure the filesystem that backs the configured directories, not merely the free space reported by a container or by a different disk.
Free tools Windows power users keep installed
One-click scans. No signup required.
Linux or Unix-like hosts
After confirming the paths, an administrator can compare filesystem and directory usage with commands such as:
df -h /path/to/cache-or-transcode-mount
sudo du -sh /path/to/cache
sudo du -sh /path/to/transcodes
Replace the example paths with the paths you verified. On a container host, run the filesystem check against the host mount. If the directory is on a dataset with quotas or snapshots, check those controls too; deleting files may not immediately reduce allocated space shown by a snapshot-aware system.
Rank #4
- Value NAS with RAID for centralized storage and backup for all your devices. Check out the LS 700 for enhanced features, cloud capabilities, macOS 26, and up to 7x faster performance than the LS 200.
- Connect the LinkStation to your router and enjoy shared network storage for your devices. The NAS is compatible with Windows and macOS*, and Buffalo's US-based support is on-hand 24/7 for installation walkthroughs. *Only for macOS 15 (Sequoia) and earlier. For macOS 26, check out our LS 700 series.
- Subscription-Free Personal Cloud – Store, back up, and manage all your videos, music, and photos and access them anytime without paying any monthly fees.
- Storage Purpose-Built for Data Security – A NAS designed to keep your data safe, the LS200 features a closed system to reduce vulnerabilities from 3rd party apps and SSL encryption for secure file transfers.
- Back Up Multiple Computers & Devices – NAS Navigator management utility and PC backup software included. NAS Navigator 2 for macOS 15 and earlier. You can set up automated backups of data on your computers.
Windows hosts
Use File Explorer or the storage tools for the drive containing the verified cache or transcode directory. Check the drive’s free-space figure before and after the tasks, then inspect the directory size if the change is smaller than expected. A service account may use a profile or data location different from the account you normally browse.
When the number does not change
- Confirm that the task completed and that you ran both cache and transcode tasks.
- Recheck the configured paths and environment overrides.
- Make sure you measured the host volume behind the mount, not an unrelated directory.
- Look for active playback sessions creating new transcode files.
- Check quotas, snapshots, recycle-bin behavior, and open-file handling on the underlying storage.
- Inspect other large consumers separately instead of deleting arbitrary Jellyfin files.
The cache and transcode tasks cannot reclaim media files, database pages, logs, operating-system packages, container layers, or snapshots stored elsewhere.
Choosing storage for cache and transcodes
Supported deployments can place cache and transcode data separately. Evaluate each location against capacity, persistence, mapping, and performance rather than choosing a path solely because it is fast.
| Storage choice | Advantages | Risks and checks |
|---|---|---|
| Disk-backed cache | Persistent across restarts and generally easier to size and monitor. | Consumes space on the selected volume; verify quotas and free capacity. |
| Disk-backed transcode directory | Can provide substantial working space without consuming system RAM. | Needs enough capacity for concurrent jobs and the chosen output bitrates; slow disks can affect conversion performance. |
| RAM-backed transcode storage | Very low latency and no long-lived files on the disk volume. | A transcode can fail when it needs more memory than is available. The space limit is the RAM allocation, not the size of the disk. |
| Container-mounted paths | Lets an administrator place data on a selected host disk or dataset. | Internal and host paths differ; an incorrect mount can send output to the container’s limited writable layer. |
Jellyfin’s TrueNAS guidance gives disk-backed and RAM-backed transcode storage as examples and specifically warns that RAM-backed storage can run out of room when a transcode exceeds available memory. If you use a memory filesystem, reserve headroom for the operating system, Jellyfin, and other services; do not allocate all physical memory to temporary output.
Capacity planning for simultaneous viewers
Estimate from actual use rather than a single headline number. Consider the number of concurrent transcodes, the source bitrate, the requested output bitrate, subtitle burn-in, audio conversion, and how long clients leave sessions open. The project’s 50 GB remux example producing approximately 60 GB or approximately 15 GB demonstrates the range, but it is not a sizing formula.
Leave free space for the operating system and for Jellyfin operations such as metadata updates, database maintenance, downloads, and temporary conversion overhead. A volume that is technically large enough for one job can still fail when two or more viewers start incompatible streams.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWhat not to delete
Do not use a broad command such as deleting everything below the Jellyfin data directory. In particular, leave these areas alone unless you are following a separate, documented migration or recovery procedure:
Best Value
- Entry-level NAS Home Storage: The UGREEN NAS DH4300 Plus is an entry-level 4-bay NAS that's ideal for home media and vast private storage you can access from anywhere and also supports Docker but not virtual machines. You can record, store, share happy moment with your families and friends, which is intuitive for users moving from cloud storage, or external drives to create your own private cloud, access files from any device.
- Smart Photo Backup & AI Album: Automatically back up photos and videos from your phone in real time and keep growing family memories organized with AI-powered photo albums. Semantic search, custom learning, and recognition of people, objects, pets, and similar photos help you quickly find the moments you want. Duplicate photo removal also helps keep your library organized—ideal for families and users with large photo collections.
- User-Friendly App & Easy Setup: Connect quickly via NFC, set up simply and share files fast on Windows, macOS, Android, iOS, web browsers, and smart TVs. You can access data remotely from any of your mixed devices. What's more, UGREEN NAS enclosure comes with beginner-friendly user manual and video instructions to ensure you can easily take full advantage of its features.
- More Cost-effective Storage Solution: Unlike cloud storage with recurring monthly fees, A UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $629.99 for a NAS, while for cloud storage, you need to pay $719.88 per year, $1,439.76 for 2 years, $2,159.64 for 3 years, $7,198.80 for 10 years. You will save $6,568.81 over 10 years with UGREEN NAS! *NAS cost based on DH4300 Plus + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
- Your Data, You Control:No third-party clouds, no hidden access, UGREEN NAS provides a more secure and private data storage solution. It stores data locally on your private hard drives and does automatic backups. Thus, you can keep full control over it. The advanced encryption is TRUSTe certified in the United States and is awarded the first (and only) ETSI EN 303 645 certification mark for NAS products by TÜV SÜD Group.
- your media-library directories;
- the Jellyfin database and its journal or transaction files;
- server configuration, users, permissions, and plugin settings;
- backups and migration files you still need;
- logs, unless you are following a specific log-retention procedure; and
- unknown directories whose purpose you have not established.
Deleting a database or configuration file can remove library state or make the server fail to start. Deleting media can be irreversible, especially when the Jellyfin library points to the only copy. The two named maintenance tasks are the appropriate first action for the storage problem covered here.
Troubleshooting by symptom
The task is missing
Check that you are signed in as an administrator and that you are viewing server tasks rather than user or library controls. Task names and menu locations can change between Jellyfin releases. If the task is genuinely absent, verify the server version and deployment documentation before touching the filesystem.
The task runs but the directory remains large
Verify that you identified the active cache or transcode path, including --cachedir, JELLYFIN_CACHE_DIR, container mounts, and NAS dataset mappings. Then check for active sessions and newly created files. A large directory on another volume may be a different service or a second Jellyfin instance.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Free space is still low after both tasks
Measure the underlying filesystem and list large consumers outside the two configured directories. Common separate consumers include the media library, database, logs, container layers, snapshots, and other applications. Investigate each with its own retention or migration procedure; do not broaden the Jellyfin cleanup into an unverified delete.
Playback fails after moving transcodes
Confirm that the new location exists, is mounted when Jellyfin starts, and is writable by the Jellyfin service account. Check that the location has enough free space for the expected concurrent jobs. If it is RAM-backed, compare the largest observed job with available memory and reduce the allocation or move transcodes to a disk-backed volume when necessary.
Artwork appears slower after cache cleanup
Some clients may request artwork again after cached files are removed. The official task and path documentation does not promise a fixed regeneration schedule or a universal performance effect. Allow the server to operate normally, watch the cache location, and decide whether the reclaimed capacity justifies the cache’s ongoing size on your installation.
A safe repeatable procedure
- Record the current free space on the filesystem that hosts Jellyfin’s cache and transcode locations.
- Open Dashboard > Paths and record the displayed paths and installation type.
- For containers or NAS applications, verify the host-to-container volume or dataset mapping.
- Check for
--cachedirandJELLYFIN_CACHE_DIRoverrides before assuming a platform default. - Run Clear Cache Folder from the administrator scheduled-task view.
- Run Clear Transcodes Folder from the same view.
- Wait for active playback or account for files being recreated during playback.
- Measure free space on the actual backing filesystem.
- If capacity is still low, investigate other storage consumers independently.
- For long-term planning, place cache and transcodes on locations with known capacity, correct permissions, reliable mounts, and enough headroom for concurrent work.
This sequence keeps cleanup inside Jellyfin’s supported controls, accommodates installation-specific paths, and separates temporary playback output from permanent library and server data.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




