Back to Article List

Forgot Jellyfin password? Here's every way back into your server

Forgot Jellyfin password? Here's every way back into your server

Updated and tested 27 October 2026

Getting locked out of your own Jellyfin is a rite of passage, usually six months after setup when the browser that remembered the password gets reinstalled. The good news: there are four ways back in, sorted here from painless to surgical. The bad news for anyone hoping otherwise: there is no master key, and that's a feature.

Jellyfin default login: there isn't one

Clearing this up because it's half the searches: Jellyfin has no default username or password. Nothing like admin/admin exists to fall back on. The account created in the first-run wizard is the founding admin, and whatever was typed there is what the server knows. If you're staring at a login screen on a server you just installed and never completed the wizard for, the fix is different: visit the server address directly and the wizard should greet you, no credentials involved.

Finding your username

Before resetting a password, confirm the username is right; "wrong username" and "wrong password" produce the same rejection. Places it's written down for you:

  • Any device where you're still signed in: your name sits in the top-right user menu of the web client and in the profile section of the apps.
  • Another admin's Dashboard » Users page lists every account on the server.
  • The login page itself, if "allow local sign-in without password" style visibility was left on, shows user tiles for local network visitors.

Capital letters aren't the problem: since 12.0 usernames are case-insensitive. A "right password, still rejected" login points to the spelling of the name, so check it against the user list.

Method 1: another admin resets it (two minutes)

Any admin account can reset any user. Dashboard » Users » select the locked-out user » Password tab, set a new one, done. This is why the long-standing advice holds: create a second admin account on day two and park its credentials in your password manager. Households where each person has their own account plus one spare admin never need the rest of this article.

Method 2: the PIN reset from the login screen

Jellyfin's login screen has a "Forgot password" link with an unusual mechanism built for self-hosters. On 12.4 it starts from any address: I requested a reset from my home connection to a VPS, well outside the server's network, and Jellyfin went ahead (its log even notes the request came from outside the local network). What keeps it safe is where the PIN goes, a file on the server, so finishing the reset takes shell access.

Jellyfin Forgot Password dialog: a file was created on your server, path /var/lib/jellyfin/passwordreset..., Got It

The dialog only names the file; the PIN itself stays on the server.

Click Forgot password, enter the username, and Jellyfin writes a PIN file to its program-data directory on the server rather than emailing anything (there's no mail server in the loop to trust). SSH in and read it:

sudo sh -c 'cat /var/lib/jellyfin/passwordreset*.json'

The sh -c lets root expand the wildcard: the package makes /var/lib/jellyfin readable only by the jellyfin user and the adm group.

The file names the PIN and its expiry (about 30 minutes). Back on the login screen, enter the PIN and set a fresh password. Docker installs keep the file in the mounted config volume, so look under your ./config path instead.

cat /var/lib/jellyfin/passwordreset*.json prints Pin, UserName reader, PinFile and ExpirationDate; PIN hidden

The PIN file for my test user; I hid the PIN itself.

Type only the PIN into the PIN box. When the value doesn't match, Jellyfin 12.4 writes it into its log in clear text, so a password pasted into that box by mistake ends up in the journal.

Jellyfin log: two reset requests from outside the local network, then an error that prints the wrong PIN value typed

Jellyfin logged both remote reset requests and wrote the value typed into the PIN box straight into the error.

If you've closed 8096 to the internet, reach the web UI through an SSH tunnel from your machine:

ssh -L 8096:localhost:8096 user@YOUR_SERVER_IP

Then browse to http://localhost:8096 and the rest is identical. This tunnel trick is worth knowing anyway, it's the safe way to reach any admin UI you've firewalled off the public internet.

Method 3: the database edit (last resort, works every time)

Sole admin, PIN flow failing, no way in at all: the credentials live in Jellyfin's SQLite database and you own the disk. This is the break-glass option, so two rules first. Stop the server before touching the database, and copy the file somewhere safe before editing; a mangled jellyfin.db costs you the whole server config, and our Jellyfin backup guide exists precisely so this moment is boring.

sudo apt install sqlite3
sudo systemctl stop jellyfin
sudo cp /var/lib/jellyfin/data/jellyfin.db /var/lib/jellyfin/data/jellyfin.db.bak
sudo sqlite3 /var/lib/jellyfin/data/jellyfin.db \
  "UPDATE Users SET Password = NULL WHERE Username = 'YOURNAME';"
sudo systemctl start jellyfin

Ubuntu doesn't ship the sqlite3 tool, hence the first line; without it the UPDATE stops at command not found.

The sqlite3 UPDATE on jellyfin.db fails on plain Ubuntu 24.04 with: sqlite3: command not found

What the UPDATE gave me on a fresh Ubuntu 24.04 server before sqlite3 was installed.

A null password hash means that account signs in with an empty password field. Give Jellyfin 20 to 30 seconds after the start before you try; my first attempt got a 503 while the server was still starting. Then log in immediately and set a real password in your profile before doing anything else; the account is wide open until you do.

After the database edit Jellyfin is active and a login for reader with an empty password returns HTTP 200

After the edit and a short wait for the start, the empty password got the test user in.

Version caveat in fairness: 10.11 moved Jellyfin's internals to a new database framework, and on 12.4 the Users table still has the Password and Username columns this relies on, but poke at your actual schema (.tables and .schema Users inside sqlite3) before running updates blind on a future version.

After the reset: prevent the next lockout

Three habits so there's no next time. The second admin account from method 1. A password manager entry for a service you log into twice a year (these are exactly the passwords managers exist for). And if family members keep losing theirs, note that admins resetting user passwords is normal Jellyfin housekeeping, not an emergency; the emergency version of this article only applies to the last admin standing. Locked out of the server machine itself rather than the app is a different problem entirely, and if the server's on a VPS your provider's console access is the equivalent break-glass door; on our Jellyfin VPS plans that console sits in the panel for exactly these afternoons.

Questions?

Can I sign in to Jellyfin with LDAP or SSO?

LDAP, yes, through the LDAP Authentication plugin, which I found in the official catalog on a fresh 12.4 server. SSO through Google, Microsoft or your own provider needs the third-party SSO plugin by 9p4, whose README calls it alpha software and says the project is archived. It only works in the web UI and in clients that support Quick Connect, so check every device in the house before you rely on it.

Ellie Grace Hayes
About the author

Ellie Grace Hayes

I grew up in Minnesota and started working remotely before I decided that travelling was going to become a permanent part of my life. And it kinda did, more or less... I tend to stay somewhere for a month or two, sometimes longer if I like the place (so "digital nomad" is technically accurate, even if most days are much less exciting than the term suggests). Usually I'm at a desk in a rented room trying to work out why a command behaved differently on two supposedly identical machines :)

I came into technical writing through support work & community tutorials. Linux was the first subject I wrote about, but since then I've wandered into containers, hosting, networking plus a lot of self-hosted software. I've played Minecraft since I was a kid and still go through phases where I get completely absorbed in it for a few weeks. I don't have a five-year plan. I've tried - it keeps becoming a six-month plan instead.

Never run out of space again

Keep backups, archives and media on reliable storage with unmetered bandwidth and a cost per gigabyte that stays low as the years add up. Your first VPS comes with a 30-day money-back guarantee.