- Check qBittorrent startup logs for the temporary WebUI password first.
- Reset safely by removing only the WebUI password hash line.
- Separate systemd and Docker workflows prevent editing the wrong config.
- Before Resetting, Confirm The Login Prompt Is qBittorrent
- Method 1: Find The Temporary Password In The Logs
- Method 2: Reset The Password Through qBittorrent.conf
- Resetting The Password On A systemd Installation
- Resetting The Password In Docker Or Docker Compose
- Common qBittorrent.conf Locations
- Why The Password Reset Did Not Work
- What To Do After Logging In
- Frequently Asked Questions
If you forgot the qBittorrent-nox WebUI password on a headless Linux server, NAS, VPS, home server, or Docker installation, the safest reset path is usually simple: first check the qBittorrent startup logs for a generated temporary password. If that does not work, stop qBittorrent-nox, edit the correct qBittorrent.conf file, remove only the stored WebUI password hash, restart the service, read the new temporary password from the logs, then log in and set a permanent password immediately.
This guide focuses only on the qBittorrent-nox WebUI login password. It is not your Linux user password, SSH password, Docker registry password, NAS admin password, or reverse-proxy authentication password. You should use these steps only for qBittorrent instances you own or administer.

Start with free Canva bundles
Browse the freebies page to claim ready-to-use Canva bundles, then get 25% off your first premium bundle after you sign up.
Free to claim. Canva-ready. Instant access.
1. Before Resetting, Confirm The Login Prompt Is qBittorrent
Before editing configuration files, make sure the password prompt you are seeing is actually the qBittorrent WebUI login. This matters because many headless installations sit behind a reverse proxy, VPN gateway, NAS portal, authentication middleware, or browser-saved credential prompt.
The qBittorrent WebUI commonly uses the username admin unless you changed it in the WebUI settings. However, that does not mean every installation accepts the old password adminadmin. Modern qBittorrent releases may generate a temporary WebUI password and print it in startup logs when no permanent password is configured. Older installations and older package builds may behave differently.
If the prompt comes from qBittorrent, you are resetting the qBittorrent WebUI admin password. If the prompt comes from your proxy, NAS, router, or another service, changing qBittorrent.conf will not fix it.
1.1 Quick Checks Before You Edit Anything
- Look at the page title, logo, or URL path to confirm you are on the qBittorrent WebUI.
- Try the username
adminonly if you have not changed the WebUI username. - Do not assume
adminadminstill works on your version. - If a browser pop-up asks for credentials before the qBittorrent page loads, that may be reverse-proxy or HTTP basic authentication.
- If you run multiple qBittorrent containers or services, verify which instance your browser is reaching.
2. Method 1: Find The Temporary Password In The Logs
The easiest recovery method is to read qBittorrent-nox startup logs. Recent qBittorrent versions can print a temporary WebUI password during startup when there is no configured permanent WebUI password. If your installation is already in that state, you may not need to edit any files.
The exact place to check depends on how qBittorrent-nox is started. Your service may be named qbittorrent-nox, qbittorrent-nox@USERNAME, or something custom. Docker users need container logs rather than systemd logs.
2.1 Check A systemd Service
First, identify possible qBittorrent service units:
systemctl list-units --type=service | grep -i qbitYou can also search installed unit files:
systemctl list-unit-files | grep -i qbitAfter you identify the service name, check its status. Replace SERVICE_NAME with the actual unit, such as qbittorrent-nox.service or qbittorrent-nox@myuser.service.
systemctl status SERVICE_NAMEThen read recent logs:
journalctl -u SERVICE_NAME -n 100 --no-pagerIf the temporary password was generated, it should appear in the qBittorrent startup output. Copy it carefully, log in, and immediately change it to a permanent password in the WebUI.
2.2 Check Docker Or Docker Compose Logs
For Docker, first list containers:
docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"Then check the logs. Replace CONTAINER_NAME with your container name:
docker logs CONTAINER_NAMEIf you use Docker Compose, run the command from the directory containing your compose file:
docker compose logs qbittorrentThe service name qbittorrent is only an example. Use the service name from your compose.yml file.
2.3 Manually Start qBittorrent-nox To See Output
If qBittorrent-nox is not managed by systemd or Docker, and you normally start it manually, launch it in a terminal where you can see its output:
qbittorrent-noxOnly do this when another instance is not already running for the same profile. Running two qBittorrent processes against the same configuration can cause confusing results or file conflicts.
3. Method 2: Reset The Password Through qBittorrent.conf
If there is no usable temporary password in the logs, reset the WebUI password by removing the stored password hash from the correct qBittorrent.conf file. Do not delete the whole configuration file as a normal fix. That can reset many settings and may cause unnecessary problems.
The key is to edit the configuration used by the Linux user or container that actually runs qBittorrent-nox. Editing root’s config will do nothing if qBittorrent runs as a service account such as qbittorrent, media, docker, or your personal username.
3.1 Safe Reset Procedure
- Stop qBittorrent-nox completely.
- Determine which Linux user or container runs qBittorrent.
- Locate the active
qBittorrent.conffile. - Create a backup copy of that file.
- Open the file in a text editor.
- Find the WebUI password hash line.
- Remove only the relevant password hash line.
- Save the file.
- Restart qBittorrent-nox.
- Read the startup logs for the new temporary password.
- Log in and set a new permanent password.
3.2 Which Lines Should You Remove?
Look for password-related entries in the [Preferences] area or nearby WebUI settings. Depending on qBittorrent version and age of the configuration, the stored WebUI password field may be one of these:
WebUI\Password_PBKDF2=...WebUI\Password_ha1=...
Remove the password hash line, not your entire WebUI configuration. Do not fabricate a hash, paste a random hash from the internet, or try to manually guess the correct value. After qBittorrent starts without a permanent WebUI password hash, modern versions may generate and log a temporary password.
As a last resort only, an administrator might move the entire qBittorrent.conf file aside after making a backup, but that can reset preferences such as ports, paths, WebUI settings, queueing preferences, and other behavior. It should not be your first password reset method.

4. Resetting The Password On A systemd Installation
This walkthrough shows a cautious systemd workflow. Replace placeholders with values from your server. The placeholders are SERVICE_NAME for your systemd unit and LINUX_USER for the account that runs qBittorrent-nox.
4.1 Identify The Service
Find the likely service name:
systemctl list-units --type=service | grep -i qbitCommon examples include qbittorrent-nox.service, qbittorrent-nox@USERNAME.service, or a custom unit created by you or a package maintainer.
4.2 Check Which User Runs qBittorrent
If the service is running, inspect the process:
ps -eo user,pid,cmd | grep -i '[q]bittorrent-nox'You can also inspect the unit file:
systemctl cat SERVICE_NAMELook for a User= line. If there is no User= line, the process may run as root, but many proper service setups use a dedicated account. Do not edit /root/.config/qBittorrent/qBittorrent.conf unless qBittorrent truly runs as root.
4.3 Stop The Service Before Editing
Stop qBittorrent-nox so it cannot rewrite the configuration while you edit:
sudo systemctl stop SERVICE_NAMEConfirm it stopped:
systemctl status SERVICE_NAME4.4 Locate The Correct Configuration File
For a normal Linux user, the common path is:
/home/LINUX_USER/.config/qBittorrent/qBittorrent.confYou can check the account’s home directory like this:
getent passwd LINUX_USERThe home directory is usually the sixth colon-separated field in the output. If the home directory is not /home/LINUX_USER, adjust the path accordingly.
You can search carefully within likely home/config locations:
sudo find /home -path '*/.config/qBittorrent/qBittorrent.conf' -printAvoid editing the first file you find blindly. Match the file to the user and service that actually run qBittorrent.
4.5 Back Up And Edit qBittorrent.conf
Set the config path as a shell variable to reduce typing mistakes. Replace the path with the real one:
CONF="/home/LINUX_USER/.config/qBittorrent/qBittorrent.conf"
sudo cp "$CONF" "$CONF.bak.$(date +%Y%m%d-%H%M%S)"
sudo nano "$CONF"In the editor, remove only the line that starts with WebUI\Password_PBKDF2= or, on older configurations, WebUI\Password_ha1=. Save the file and exit.
After editing, verify ownership if you used sudo or if permissions look suspicious:
ls -l "$CONF"If the file should belong to LINUX_USER but does not, fix just that file:
sudo chown LINUX_USER:LINUX_USER "$CONF"Do not run broad recursive ownership commands over your entire home, media, or Docker directories unless you fully understand the consequences.
4.6 Restart And Read The Temporary Password
Start qBittorrent-nox again:
sudo systemctl start SERVICE_NAMERead the logs:
journalctl -u SERVICE_NAME -n 100 --no-pagerLook for the temporary WebUI password in the startup messages. Then open the WebUI, log in, and set a permanent password immediately.
5. Resetting The Password In Docker Or Docker Compose
Docker resets are similar, but the most common mistake is editing a file inside the disposable container filesystem instead of the persistent host-mounted configuration. Many qBittorrent Docker images use /config inside the container, and the qBittorrent configuration is often under /config/qBittorrent/qBittorrent.conf. However, not every image is identical, so inspect your volume mappings.
5.1 Find The Container And Check Logs First
List running containers:
docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Ports}}"Check logs for a temporary password:
docker logs CONTAINER_NAMEIf you use Compose:
docker compose ps
docker compose logs SERVICE_NAMEIf you find the temporary password, use it to log in and set a permanent password. If not, continue with the config reset.
5.2 Identify The Host Config Location
Inspect the container mounts:
docker inspect CONTAINER_NAME --format '{{json .Mounts}}'The output may be compact. If you have jq installed, this is easier to read:
docker inspect CONTAINER_NAME | jq '.[0].Mounts'Look for the mount whose destination is /config or the equivalent config path used by your image. The source may be a host directory, such as /srv/docker/qbittorrent/config, or a named Docker volume.
If your Compose file contains a mapping like this:
volumes:
- /srv/docker/qbittorrent/config:/configthen the host file is commonly:
/srv/docker/qbittorrent/config/qBittorrent/qBittorrent.confIf it uses a named volume, inspect the volume:
docker volume ls
docker volume inspect VOLUME_NAMEDo not assume files you edit inside a stopped or recreated container will persist unless they are in the mounted configuration volume.
5.3 Stop, Back Up, Edit, And Restart
Stop the container before editing:
docker stop CONTAINER_NAMEBack up the host-side configuration file. Replace the path with your real host path:
CONF="/srv/docker/qbittorrent/config/qBittorrent/qBittorrent.conf"
cp "$CONF" "$CONF.bak.$(date +%Y%m%d-%H%M%S)"
nano "$CONF"Remove only WebUI\Password_PBKDF2=... or WebUI\Password_ha1=..., then save.
Restart the container:
docker start CONTAINER_NAMERead the logs again:
docker logs CONTAINER_NAMEFor Compose:
docker compose up -d SERVICE_NAME
docker compose logs SERVICE_NAMEUse the generated temporary password, log in, and immediately set your new permanent WebUI password.
6. Common qBittorrent.conf Locations
The correct configuration file depends on the process user and installation method. These are common examples, not universal guarantees:
~/.config/qBittorrent/qBittorrent.conffor the current interactive user./home/USERNAME/.config/qBittorrent/qBittorrent.conffor a normal Linux user.- A service account’s home directory, if systemd runs qBittorrent under a dedicated user.
- A Docker-mounted host directory mapped to
/config. /config/qBittorrent/qBittorrent.confinside many qBittorrent container images.
Paths under /var/lib, /srv, or a NAS application directory may be valid on your system, but they depend entirely on how the service was created. Treat them as installation-specific, not universal.
To find the real path, inspect the running process, the systemd unit, the process user’s home directory, environment variables used by the service, or the Docker volume mapping. The right file is the one used by the qBittorrent process you restart.

7. Why The Password Reset Did Not Work
If you removed the password hash but still cannot log in, one of these issues is usually responsible.
7.1 You Edited The Wrong qBittorrent.conf
This is the most common cause. qBittorrent may run as a service account while you edited your own user’s config or root’s config. Re-check the process user and service file.
7.2 qBittorrent Was Still Running
If qBittorrent-nox remained running while you edited the file, it may have rewritten the old settings when it exited. Stop the service or container completely before editing.
7.3 You Restarted The Wrong Unit Or Container
Some servers have multiple qBittorrent services, old containers, test instances, or per-user systemd units. Confirm the WebUI port and process match the instance you changed.
7.4 Docker Storage Was Misidentified
Editing /config/qBittorrent/qBittorrent.conf inside a container shell can be misleading if you are not editing the persistent mapped volume. Always inspect the host mount or named volume.
7.5 Permissions Or Ownership Are Wrong
If the config file is owned by the wrong user after editing, qBittorrent may fail to read or update it. Check the file with ls -l and correct only the specific file when needed.
7.6 Your Browser Reaches Another Login Layer
A reverse proxy or external authentication tool may show its own login prompt. Keep this check brief: if the prompt appears before qBittorrent loads, reset that layer separately. The qBittorrent password reset only affects qBittorrent’s own WebUI.
7.7 The Temporary Password Was Overlooked
After removing the hash, read fresh startup logs. The temporary password may appear only during startup and may be easy to miss in long logs.
7.8 The Username Was Changed
The default username is commonly admin, but users can change it. If the username was changed and you do not remember it, inspect the WebUI username setting in the same configuration file.
7.9 The Service Failed To Start
If qBittorrent does not start after the edit, check logs for syntax, permission, profile, or storage errors. Restore your backup if necessary and repeat the edit carefully.
8. What To Do After Logging In
Do not keep using the temporary password. Open the qBittorrent WebUI and go to Tools, then Options, then Web UI. Set a strong, unique permanent password for the WebUI account. If your interface labels differ slightly by version, look for the WebUI authentication settings.
Follow these security practices after the reset:
- Do not expose the qBittorrent WebUI directly to the public internet during or after the reset.
- Do not permanently disable authentication as a shortcut.
- Use a strong, unique password that is not reused elsewhere.
- Restrict access with a firewall, VPN, local network rule, or properly secured reverse proxy.
- Do not publish temporary passwords in screenshots, logs, forum posts, or support tickets.
- Verify file ownership and permissions after editing configuration files.
- Change the temporary password immediately after logging in.
9. Frequently Asked Questions
9.1 What Is The Default qBittorrent-nox WebUI Username?
The username is commonly admin unless it was changed in the WebUI settings. If admin does not work, inspect the active configuration file or confirm you are reaching the correct qBittorrent instance.
9.2 Is The Default Password Still adminadmin?
Do not assume that adminadmin works. Older installations may have used it, but modern qBittorrent behavior can involve a generated temporary password printed in startup logs when no permanent password is configured.
9.3 Where Is The qBittorrent-nox Temporary Password Displayed?
It is displayed in qBittorrent startup output. For systemd, use journalctl -u SERVICE_NAME. For Docker, use docker logs CONTAINER_NAME or docker compose logs SERVICE_NAME.
9.4 Where Is qBittorrent.conf Stored?
Common locations include ~/.config/qBittorrent/qBittorrent.conf, /home/USERNAME/.config/qBittorrent/qBittorrent.conf, a service account’s home directory, or a Docker-mounted config directory. The correct file is the one used by the account or container running qBittorrent.
9.5 Can I Reset The Password Without Deleting My Torrents?
Yes. Removing only the WebUI password hash from qBittorrent.conf should not delete torrents or resume data. Avoid deleting the whole profile or torrent data directories.
9.6 Will Removing The Password Hash Delete My Settings?
Removing only WebUI\Password_PBKDF2 or WebUI\Password_ha1 should only remove the stored WebUI password hash. Other settings remain in the file.
9.7 Why Does qBittorrent Keep Restoring The Old Password Entry?
Usually because qBittorrent was still running when you edited the file, or because you edited the wrong file. Stop the correct service or container first, then edit the active configuration.
9.8 How Do I Reset The Password Inside Docker?
Check container logs first. If needed, stop the container, inspect the volume mapping for /config, edit the host-side qBittorrent.conf, remove the password hash line, restart the container, then read the new logs for the temporary password.
9.9 What Should I Do If The WebUI Still Says Unauthorized?
Confirm the username, check that you used the newly generated temporary password, clear saved browser credentials if necessary, verify you restarted the correct instance, and make sure the login prompt is qBittorrent’s own WebUI rather than a proxy or external authentication layer.