How to Install Plex Server on Raspberry Pi 5
A Raspberry Pi 5 can run your own private streaming service for movies, shows and music. This guide covers the full setup, the Direct Play rule that keeps it smooth, and the real cost of Plex Pass.

A Raspberry Pi 5 can run your own private streaming service. Install Plex Media Server on it, point it at your movies and shows, and you get a Netflix-style library that lives on hardware you own. No monthly fee for the server itself, and no one else’s catalogue deciding what you can watch.
Table Of Content
- What You Need Before You Start
- Raspberry Pi 5 vs Pi 4 for Plex
- Step 1: Flash Raspberry Pi OS to Your MicroSD Card
- Step 2: Boot and Update Your Pi 5
- Step 3: Install Plex Media Server
- Step 4: Claim Your Server
- Step 5: Set Up Plex Through the Web Interface
- Step 6: Add Your Media Library
- Mount an External Drive for Media Storage
- The Direct Play Rule: Why Transcoding Is the Thing to Avoid
- Plex Free vs Plex Pass: What Do You Actually Need?
- Remote Access: What Changed in 2025
- Keeping Your Plex Server Secure
- Troubleshooting Common Problems
- Questions About Plex on Raspberry Pi 5
- Start With One Library
The short answer is that the setup is straightforward, but it works best when you respect one limit. The Pi 5 has no hardware video encoder, so it cannot convert video on the fly the way a desktop PC can. Keep your files in formats your devices already play, let Plex use Direct Play, and the little board streams smoothly all day. Fight that rule with 4K transcoding, and it will stutter.
This guide walks through every step: the parts, the operating system, the official Plex install, claiming the server, adding your library, and the prices that actually apply in 2026.
What You Need Before You Start

Gather everything first, and the setup goes without a mid-step shopping trip.
Hardware: a Raspberry Pi 5 (4GB of RAM is the minimum worth buying, 8GB is better for a large library), a microSD card of 32GB or larger, an external USB drive or NVMe SSD for your media, the official 27W USB-C power supply, an Ethernet cable, and a case with active cooling. The Pi 5 runs warm under sustained load, and a fan keeps it from slowing down.
Software: Raspberry Pi OS 64-bit, current release Trixie (Debian 13). The Lite edition is the lean choice for a server because it has no desktop to feed. Bookworm is now the Legacy release, so pick Trixie for a new install. You also need Raspberry Pi Imager to write the card, and a free Plex account, which you can create at plex.tv.
Raspberry Pi 5 vs Pi 4 for Plex
| Feature | Raspberry Pi 4 | Raspberry Pi 5 |
|---|---|---|
| Processor | 1.5GHz Cortex-A72 | 2.4GHz Cortex-A76 |
| RAM options | 1, 2, 4 or 8GB | 1, 2, 4, 8 or 16GB |
| PCIe support | No | Yes, PCIe 2.0 x1 (needs an M.2 HAT for NVMe) |
| USB 3.0 ports | 2 | 2 |
| Power supply | 15W USB-C | 27W USB-C (5V/5A) |
| 1080p transcoding | Software only, limited | Software only, limited |
| Best for Plex | Works for one Direct Play stream | Better for a busy household |
The Pi 5 is noticeably faster than the Pi 4 in everyday tasks, and its PCIe lane opens the door to NVMe storage through an M.2 HAT. That matters because a media server reads from disk constantly, and an NVMe drive is both faster and more reliable than a microSD card. Note that the PCIe port is not a built-in M.2 slot: you need a separate HAT or adapter to use it.
One thing the upgrade does not fix is transcoding. Both boards transcode in software only. The Pi 5 is simply better at everything around it. The Raspberry Pi 5 product page lists the full specifications, including every RAM option.
Step 1: Flash Raspberry Pi OS to Your MicroSD Card
Download Raspberry Pi Imager from the official Raspberry Pi website and install it on your computer. Insert your microSD card, open Imager, and choose Raspberry Pi 5 as the device, Raspberry Pi OS (64-bit) as the operating system, and your microSD card as the storage.
Before you write the image, open the settings and enable SSH, set a username and password, and add your Wi-Fi details if you will not use Ethernet. Writing the image takes a few minutes. When it finishes, put the card in the Pi.
Step 2: Boot and Update Your Pi 5
Insert the microSD card, connect power, a monitor and a keyboard, and let the Pi boot. Open a terminal and update the system:
sudo apt update && sudo apt full-upgrade -yThis pulls in the latest packages and security fixes. It takes a few minutes depending on your connection. Reboot if the update asks you to.
Step 3: Install Plex Media Server
Plex provides an official install script that adds its repository, installs the server and starts it. Run this in the terminal:
curl -LsSf https://repo.plex.tv/scripts/setupRepo.sh | sudo bashThe script asks a few yes-or-no questions as it goes. Answer yes to each one: it installs the Plex signing key, adds the official Plex repository, and installs the latest Plex Media Server package. Because the repository stays on your system, later Plex updates arrive with your normal system updates.
If you would rather install it by hand, download the ARM64 .deb package from the Plex Media Server downloads page and install it with sudo dpkg -i plexmediaserver_*.deb. Either route ends at the same place.
Check that Plex is running:
sudo systemctl status plexmediaserverYou should see active (running). If it is not running, start it with sudo systemctl start plexmediaserver and enable it to start at boot with sudo systemctl enable plexmediaserver.
Step 4: Claim Your Server
A fresh Plex server needs to be linked to your Plex account, a step Plex calls claiming. If your Pi has a desktop and a browser, you can do it through the web interface in the next step. For a headless Pi, use a claim token instead.
Get a token at plex.tv/claim while signed in to your Plex account. The token is only valid for four minutes, so move quickly. Then run this on the Pi, replacing YOUR_TOKEN with the token you copied:
curl -X POST 'http://127.0.0.1:32400/myplex/claim?token=YOUR_TOKEN'That links the server to your account without needing a browser on the Pi itself.
Step 5: Set Up Plex Through the Web Interface
Open a browser on any device on the same network and go to:
http://[your-pi-ip-address]:32400/webFind your Pi’s address with hostname -I in the terminal. Sign in with your Plex account and follow the setup wizard. Give the server a name, something simple like “Home Plex”, and let the wizard finish.
Step 6: Add Your Media Library
Click Add Library during setup and choose the type of media: Movies, TV Shows, Music or Photos. Point Plex at the folder where your files live. Plex scans the folder and organises everything itself, pulling in cover art, ratings and descriptions.
Keep your folders tidy and Plex does a better job. One folder for movies, one for TV shows, one for music. A 1080p movie is often 8 to 15 GB, so a 1TB drive is a sensible starting point for a real collection.
Mount an External Drive for Media Storage
A microSD card is fine for the operating system, but your media belongs on a proper drive. Plug in your USB drive or NVMe SSD and find its name:
lsblkCreate a mount point and mount the drive:
sudo mkdir /media/plexdrive
sudo mount /dev/sda1 /media/plexdriveTo make the drive mount automatically at boot, add a line to /etc/fstab using the drive’s UUID, which you can find with sudo blkid:
UUID=<your-drive-uuid> /media/plexdrive ext4 defaults,nofail 0 2The nofail option matters: without it, a missing drive can stop the Pi from booting. Then give Plex permission to read the drive:
sudo chown -R plex:plex /media/plexdrivePoint your Plex libraries at /media/plexdrive when you add folders.
The Direct Play Rule: Why Transcoding Is the Thing to Avoid

This is the section that decides whether your Pi Plex server feels fast or frustrating, so read it before you blame the hardware.
Transcoding means converting a video file on the fly because the device playing it cannot handle the original format. The server decodes the file, re-encodes it, and sends the result. That work is heavy, and on the Pi 5 it runs entirely on the CPU. The board has no hardware video encoder, so there is no chip to offload the job to. It can hardware-decode HEVC video up to 4K, but decoding is only half the job. Encoding is the bottleneck, and full 4K transcoding on a Pi 5 simply is not realistic. Plex also does not fully use the Pi’s hardware decoder in every case, often falling back to pure software transcoding.
Direct Play is the opposite. The client already supports the file’s format, so the Pi just reads it and sends it over the network. Almost no CPU work is involved, and several streams can run at once.
Build your library around Direct Play. Keep video as H.264 MP4 at 1080p where you can, because nearly every TV, phone and streaming box plays that natively. Set your Plex clients to Original quality or Direct Play so they do not ask the server to convert anything. When a file still buffers, check the Plex dashboard first: if it says the stream is transcoding, the fix is usually a different file format, not a faster board.
One honest note: if you need heavy transcoding for many users or 4K files, a Pi is the wrong tool. A used office PC with an Intel processor and Quick Sync handles that job far better. The Pi is the right tool for a household that direct-plays.
Plex Free vs Plex Pass: What Do You Actually Need?

| Feature | Plex Free | Plex Pass |
|---|---|---|
| Basic media streaming at home | Yes | Yes |
| Mobile app full playback | Limited to one minute unless unlocked | Yes |
| Downloads for offline viewing | No | Yes |
| Hardware transcoding | No | Yes, but not on a Raspberry Pi |
| Live TV and DVR | No | Yes, with a tuner |
| Skip Intro and Skip Credits | No | Yes |
| Price | Free | $6.99/month, $69.99/year, $249.99 for five years, $749.99 lifetime |
For most home users, the free version covers everything that matters: streaming your own media at home, on the TV, on a laptop, on a tablet. Plex Pass is worth it if you want downloads for a trip, Skip Intro, or live TV with a tuner.
Two things to know about the price. The old $4.99 a month figure is gone: Plex raised the monthly price to $6.99 and the annual price to $69.99 in April 2025. The lifetime price rose again on 1 July 2026, from $249.99 to $749.99, and Plex added a five-year pass at $249.99 instead. Check the Plex Pass page for the current figures before you buy, because Plex has changed them twice in two years.
Note the hardware transcoding row carefully. It is a Plex Pass feature, but it does not work on a Raspberry Pi, because the Pi has no hardware encoder. Buying a Pass will not make your Pi transcode faster. Buy it for downloads, Skip Intro and remote streaming, not for transcoding.
Remote Access: What Changed in 2025
This is the biggest change since the old version of this guide, and it catches people out.
Streaming your own movies and TV shows away from home used to be free with a Plex account. Since April 2025 it is not. Remote streaming of personal video now needs either a Plex Pass on the server admin’s account, a Plex Pass on your own account, or a Remote Watch Pass. The Remote Watch Pass costs $2.99 a month or $29.99 a year, after its introductory price of $1.99 a month ended on 1 June 2026. It covers remote streaming only, nothing else.
Local streaming at home is still free, and so is remote streaming of music and photos through the Plexamp and Plex Photos apps. The paywall applies to movies and TV over the internet.
If you would rather not pay for remote access, there is a private alternative. A VPN such as Tailscale or WireGuard creates a secure tunnel to your home network, so your phone connects to the Pi as if it were on your own Wi-Fi. That route needs more setup, but it costs nothing beyond the Pi itself, and it avoids opening ports on your router.
Keeping Your Plex Server Secure
A home server is a small computer that is always on, so treat it like one.
Change the default SSH port away from 22, which automated scanners probe constantly. Use strong, unique passwords for the Pi login and your Plex account. Run sudo apt update weekly so Plex and the system stay patched. And never open Plex’s port directly on your router if you can avoid it: a VPN tunnel is the safer way to reach the server from outside.
If you are running more than one home server, the same habits apply everywhere. Our guide to managing dedicated servers covers the routine in more detail, and our IT system monitoring guide shows how to spot a server going wrong before your family does.
Troubleshooting Common Problems
Plex is not showing up in the browser
Check whether the service is running with sudo systemctl status plexmediaserver. If it stopped, restart it with sudo systemctl restart plexmediaserver. If the page still does not load, confirm the Pi’s IP address with hostname -I and that your browser is on the same network.
Media is not being found
This is almost always a permissions problem. Plex runs as its own user and needs read access to your media folders. Run sudo chown -R plex:plex /media/plexdrive on the media folder, then rescan the library in the Plex web interface.
Buffering during playback
Open the Plex dashboard while the file plays. If it shows transcoding, switch the client to Original quality or Direct Play. If it already shows Direct Play and still buffers, the problem is usually the network: try a wired Ethernet connection instead of Wi-Fi.
Plex keeps crashing
A failing microSD card is the usual suspect. Move the Plex data directory to an SSD or USB drive, and keep backups of your library database. Cards wear out faster than drives when a server writes to them all day.
Questions About Plex on Raspberry Pi 5
Can a Raspberry Pi 5 run Plex Media Server smoothly?
Yes, for home use. It handles 1080p Direct Play easily and can serve several streams at once. The limit is transcoding: with no hardware encoder, converting video on the fly is slow, so keep your files in formats your devices already play.
Do I need Plex Pass to run Plex on a Raspberry Pi 5?
No. The free version streams your media at home without paying anything. Plex Pass adds downloads, Skip Intro, live TV and remote streaming, but it is not required to run the server.
What operating system should I use for Plex on Pi 5?
Use Raspberry Pi OS 64-bit, current release Trixie (Debian 13). The 64-bit version matters because Plex’s ARM64 package needs it. The Lite edition is the best fit for a server since it has no desktop.
How much storage do I need for a Plex server?
It depends on your library. A 1TB external USB drive or NVMe SSD is a good starting point. A 1080p movie is often 8 to 15 GB, so a few dozen movies fill a small drive fast.
Can I access my Plex server outside my home?
Yes, but remote streaming of movies and TV now needs a Plex Pass or a Remote Watch Pass. Local streaming at home is free. A VPN such as Tailscale is a free alternative that reaches the server through a private tunnel.
Is a Raspberry Pi 5 better than a NAS for Plex?
For a small to medium library, yes. The Pi 5 is cheaper, uses less power, and does the job. A NAS is better if you need RAID storage, several drive bays, or a library over 10TB.
Can a Raspberry Pi 5 transcode 4K video?
Not well. The Pi 5 has no hardware video encoder, so 4K transcoding runs on the CPU and stutters. If your files are 4K, play them with Direct Play on a client that supports them, or use a PC with hardware transcoding instead.
Start With One Library
Set up one library first, a folder of movies you already own, and watch it play on your TV. Once that works, add the rest: shows, music, photos. Your personal streaming service starts with one small board and one folder.
If you plan to grow beyond a single board, read our Terraform vs OpenTofu guide before you start managing more infrastructure by hand. The habit of writing your setup down pays off the moment you rebuild a server.







No Comment! Be the first one.