Getting Started

How to Organize Your Media Library for Plex — Complete Guide

Published September 1, 2026 · 10 min read

Plex is only as good as the files you feed it. When your media is named correctly and organized into the right folder structure, Plex automatically downloads the correct posters, descriptions, ratings, and episode data. When it is not, you get wrong matches, missing items, and hours of manual fixing. This guide covers the naming conventions and folder structures for every media type Plex supports.

The Golden Rule

Plex matches files to online databases by parsing the filename. The closer your filename matches the official title and release year on TheMovieDB, TheTVDB, or MusicBrainz, the more likely Plex is to match it correctly on the first scan. Always include the year for movies and the season/episode numbers for TV shows.

Movies

Naming Convention

Each movie should be in its own folder, named with the movie title and year in parentheses:

Movies/
  The Matrix (1999)/
    The Matrix (1999).mkv
  Inception (2010)/
    Inception (2010).mp4
  Spider-Man Across the Spider-Verse (2023)/
    Spider-Man Across the Spider-Verse (2023).mkv

The folder-per-movie structure is not strictly required, but it is strongly recommended. It keeps related files (subtitles, extras, featurettes) organized and prevents naming conflicts.

What to Include in the Filename

What to Avoid

Subtitles

Place subtitle files in the same folder as the movie, using the same base name plus a language code:

The Matrix (1999)/
  The Matrix (1999).mkv
  The Matrix (1999).en.srt
  The Matrix (1999).es.srt

TV Shows

Naming Convention

TV shows require a three-level folder structure: show name, season folder, and episode files with SxxExx numbering:

TV Shows/
  Breaking Bad/
    Season 01/
      Breaking Bad - S01E01 - Pilot.mkv
      Breaking Bad - S01E02 - Cat's in the Bag.mkv
    Season 02/
      Breaking Bad - S02E01 - Seven Thirty-Seven.mkv
  The Office (US)/
    Season 01/
      The Office (US) - S01E01 - Pilot.mkv

Key Rules

Common TV Naming Mistakes

Wrong: breaking.bad.s01e01.720p.bluray.mkv — Plex might parse this correctly, but the dots and extra tags increase the chance of a mismatch.

Right: Breaking Bad - S01E01 - Pilot.mkv — Clean, unambiguous, matches every time.

Music

Naming Convention

Music in Plex relies heavily on embedded tags (ID3 for MP3, Vorbis for FLAC/OGG). The folder structure matters less than the tags, but a clean structure helps:

Music/
  Pink Floyd/
    The Dark Side of the Moon (1973)/
      01 - Speak to Me.flac
      02 - Breathe.flac
      03 - On the Run.flac
  Radiohead/
    OK Computer (1997)/
      01 - Airbag.flac

Tagging Tips

Photos

Folder Structure

Plex photo libraries use folder names as album names. The most common organizational approach is by date:

Photos/
  2024/
    2024-01 January/
      IMG_0001.jpg
      IMG_0002.jpg
    2024-02 February/
      IMG_0100.jpg
  2025/
    2025-06 June Vacation/
      DSC_0001.jpg

Alternatively, organize by event:

Photos/
  Family Reunion 2024/
    IMG_0001.jpg
  Wedding/
    DSC_0001.jpg
  Everyday/
    2024-01-15_001.jpg

EXIF Data

Plex reads EXIF metadata from JPEG and TIFF files, including date taken, camera model, GPS coordinates, and orientation. Make sure your photos have intact EXIF data. Some image editors strip EXIF when saving, and some cloud services strip GPS data for privacy. Photos without EXIF date data will be sorted by file modification date, which is often inaccurate after copying files between drives.

Supported Formats

Plex supports JPEG, PNG, TIFF, and GIF for photos. RAW files (CR2, NEF, ARW, DNG) are not directly supported in most Plex clients. If you shoot RAW, keep both the RAW and a JPEG export in your library, or convert to JPEG for Plex.

General Organizational Tips

Keep Media Types Separate

Never mix movies, TV shows, music, and photos in the same folder or library. Each media type has its own scanner and metadata agent. A movie file inside a TV show library will be ignored or incorrectly matched.

Use a Consistent Structure

Pick one organizational scheme and stick with it. If you start putting movies in folders with years, do it for every movie. If you organize photos by date, do it for every photo folder. Consistency makes it easier to add new content and troubleshoot problems.

Avoid Special Characters

Some characters can cause issues across operating systems or network shares. Avoid colons, backslashes, and angle brackets in folder and file names. If a movie title contains a colon (like "Spider-Man: Homecoming"), you can either omit it or replace it with a dash.

Fix Mismatches Manually

If Plex matches a file incorrectly, you do not necessarily need to rename the file. In the Plex web interface, click the three-dot menu on any item, select "Fix Match," and search for the correct title. This creates a manual override that persists through future scans. However, fixing the filename is always the better long-term solution.

Metadata Agents

Plex uses metadata agents to look up information about your media. The default agents are:

In most cases, the default Plex agents work best. You can change the agent for a specific library in its settings, but the defaults are the most reliable and well-maintained.

Tools That Help

FileBot: A desktop application that automatically renames and organizes movie and TV files according to Plex naming conventions. It queries TheMovieDB and TheTVDB to determine the correct title and formatting.

MusicBrainz Picard: An open-source music tagger that identifies tracks by audio fingerprint and applies correct metadata from the MusicBrainz database.

Tiny Media Manager: A media management tool that can rename files, download metadata, and organize your library to match Plex's expected structure.

Spending an hour organizing your library before adding it to Plex saves many hours of fixing mismatches later. Get the naming right from the start, and Plex does the rest.

Phlix — The Photo Browser for Plex

If you use Plex for photos, Phlix gives you a chronological timeline, year scrubber, 4K AirPlay slideshows, and offline downloads. Free to browse, Pro from $6.99/yr.

Download Phlix Free

iOS 17+ · Works with any Plex Media Server