To secure a home router, change the default admin password, install firmware updates, set Wi-Fi to WPA3 Personal or WPA2-AES with a long passphrase, and turn off WPS, UPnP and remote management. Those steps come straight from CISA's and the NCSC's guidance and take about 15 minutes in the router's web interface.
Menu names differ between brands, so each step below says what to look for rather than an exact path. Your router's manual or the label on its underside has the login address.
Step 1: Log in to the router's admin page
The admin page is at your router's IP address, which is your computer's default gateway. On Windows, in PowerShell:
(Get-NetIPConfiguration | Where-Object { $_.IPv4DefaultGateway }).IPv4DefaultGateway.NextHop
Example output:
192.168.1.254
On macOS run route -n get default and read the gateway: line; on Linux, ip route show default. Type the address into a browser on a device connected to your home network, by cable if possible, so you don't lock yourself out when you change Wi-Fi settings. Common addresses are 192.168.0.1, 192.168.1.1 and 192.168.1.254. Some routers can only be managed from the maker's or ISP's app.
Step 2: Change the admin username and password
This is the router's own login, separate from the Wi-Fi password. CISA's first instruction is "Change your router login username and password", because default credentials are often published online. Use a long, random password that you don't use anywhere else and store it in a password manager. If you need one, larely's password generator creates it in the browser.
Since 29 April 2024, UK law has required smart devices to be sold without default passwords that can be shared online, as the NCSC explains. If your router came with a unique password printed on its label, change it anyway: anyone who has seen the label knows it.
Step 3: Update the firmware and turn on automatic updates
Firmware updates fix security holes. Look for a section called Firmware, Software update, Administration or System. CISA says to check the manufacturer's site for the latest version and to enable automatic updates where the router offers them. If the maker no longer publishes updates for your model, treat the router as due for replacement: known flaws in it will stay unfixed.
Step 4: Use WPA3 Personal or WPA2-AES
In the wireless security settings, choose WPA3 Personal if all your devices support it, otherwise WPA2 Personal with AES. Some routers offer a "WPA2/WPA3 transitional" mode that serves both. CISA describes these as the only safe options and says WEP, WPA and WPA2-TKIP are not secure.
You can check what a Windows laptop is actually using without opening the router:
netsh wlan show interfaces
Example output (trimmed):
State : connected
Radio type : 802.11ax
Authentication : WPA2-Personal
Cipher : CCMP
CCMP is the AES-based cipher, so this network is WPA2-AES. If you see TKIP, WEP or Open, change the router setting.
Step 5: Set a strong Wi-Fi passphrase
CISA recommends a passphrase of 5 to 7 unrelated words, at least 16 characters long, not used for anything else. The NCSC's "three random words" advice follows the same idea. Long and random matters more than symbols: how long a password takes to crack shows the arithmetic. Changing the passphrase disconnects every device, so do it when you have time to reconnect them.
Step 6: Turn off WPS
Wi-Fi Protected Setup lets devices join with a button press or a PIN. CISA says to disable it because it "can make unauthorized access to your Wi-Fi easier"; its older home-network guidance explains that a design flaw in the PIN method makes brute-forcing easier, and many routers have no lockout. Look for WPS under Wireless or Advanced settings.
Step 7: Turn off UPnP
Universal Plug and Play lets devices on your network open ports in the router by themselves. The NCSC warns that criminals "can exploit these technologies to potentially access devices on your network" and advises considering turning off UPnP and port forwarding. CISA says UPnP can be abused to spread malware and suggests enabling it only while adding a device that needs it. Some games and media servers will stop working without it; for those, a single deliberate rule is better than letting every device open ports. Port forwarding explained covers how to set one up.
Step 8: Turn off remote management
Remote management (also called remote administration, web access from WAN, or cloud management) lets the admin page be reached from the internet. CISA says to disable it so nobody can change router settings over the internet. If you manage the router through the maker's app, check whether the app needs this setting; many work through the maker's cloud service instead.
Step 9: Rename the network and set up a guest network
- Network name (SSID): change the default to a name with no personal or identifying information, such as your surname or flat number.
- Guest Wi-Fi: turn it on with its own strong password. CISA suggests using it for visitors and for smart devices that only need internet access, which keeps cheap cameras and plugs away from your laptops and phones.
Step 10: Check what is connected, and keep the firewall on
The router's device list (often "Attached devices" or "Clients") shows everything on your network. CISA recommends watching it for devices you don't recognise. The router's built-in firewall should stay on; CISA notes that some firewall features may be off by default, so look through those settings too. What is a firewall explains what it filters. Finally, keep the router somewhere physically secure: CISA points out that anyone with physical access can factory-reset it and log in with the defaults.
Quick checklist
| Setting | Change it to |
|---|---|
| Admin password | Long, random, unique |
| Firmware | Latest version, automatic updates on |
| Wi-Fi security | WPA3 Personal, or WPA2 Personal with AES |
| Wi-Fi passphrase | 16+ characters, several unrelated words |
| WPS | Off |
| UPnP | Off, unless a device you rely on needs it |
| Remote management | Off |
| SSID | No personal details, not the factory default |
| Guest network | On, for visitors and smart devices |
| Firewall | On |
If a setting is missing
Entry-level and ISP routers often hide advanced options behind an "Advanced" or "Expert" toggle, or only expose them in the provider's app. If WPA2-AES or WPA3 is simply not available, or the router hasn't had a firmware update in years, CISA's advice is to ask your provider for a newer router or buy one. Changing settings can't fix a device whose maker has stopped patching it.
Frequently asked questions
- Is WPA2 still safe for home Wi-Fi?
- CISA lists WPA3 Personal and WPA2 with AES as the acceptable options for home Wi-Fi. WPA2 with AES (shown as CCMP in Windows) is fine if your devices don't support WPA3. WEP, original WPA and WPA2 with TKIP are not considered secure, and a router that offers nothing better should be upgraded or replaced.
- Should I hide my Wi-Fi network name (SSID)?
- Hiding the SSID is not one of the measures CISA or the NCSC recommend; the advice is to change the default name to one that contains no personal or identifying information. A strong password and WPA2-AES or WPA3 do the real work.
- Will disabling UPnP break my games or apps?
- It can. The NCSC notes that turning off UPnP may stop some applications, such as online games or media servers, from working. CISA suggests enabling it only when you need it to set up a device and turning it off again. If one game needs an open port, a single manual port-forwarding rule is a narrower exposure than leaving UPnP on for every device.
- What if my internet provider controls the router?
- Many ISP-supplied routers still let you change the Wi-Fi password, admin password and features such as WPS from the web interface or the provider's app. Firmware updates are usually pushed by the provider. If the router only supports WEP, WPA or WPA2-TKIP, CISA's advice is to ask your provider for an upgraded router or buy your own.