Model Username Password
UniFi Dream Machine / UDM Pro (set on first use) (set on first use) Account created during UniFi setup; default SSH login is root / ubnt.
UniFi Security Gateway (USG) ubnt ubnt
EdgeRouter X (ER-X) / Lite / 4 / 6P ubnt ubnt
EdgeRouter PRO / Infinity ubnt ubnt
AmpliFi HD (mesh) (app only) (set on first use) Configured in the AmpliFi app.

Change the default password after logging in

Default credentials for Ubiquiti routers are publicly documented, so if your router still uses one, change the admin password immediately to a strong, unique password. Leaving the default in place lets anyone on your network reconfigure the router. Many newer Ubiquiti models instead ship with a unique password printed on the device label - if yours does, use that.

How to log in to your Ubiquiti router

Open a browser and go to http://192.168.1.1, then sign in with the credentials above. For a step-by-step walkthrough, see how to log in to 192.168.1.1. If you don't know a changed password, you can reset the router to restore the default.