What Universal Plug and Play does and why you might need it

Universal Plug and Play (UPnP) is a setting on your router that lets devices on your network automatically open the ports they need to work properly, without you having to do it manually. When UPnP is on, a game console, streaming device, or security camera can tell your router "I need port 6881 open" and the router handles it. When it's off, you have to go into your router settings and open those ports yourself.

You'll want to turn UPnP on if you're having trouble with online gaming, video calls that won't connect, or devices that say they need "port forwarding" to work. It's also useful if you have multiple devices that need different ports open and you don't want to manage each one individually. The tradeoff is that UPnP is less secure than manual port forwarding, because any device on your network can request port access without your permission — so most security-conscious people leave it off unless they specifically need it.

Key Takeaways

  • UPnP lets devices automatically request open ports from your router instead of you opening them manually.
  • You access the UPnP setting by logging into your router's admin panel, usually at 192.168.1.1 or 192.168.0.1 in your browser.
  • The setting is often labeled "UPnP", "Universal Plug and Play", or "UPnP/NAT-PMP" and is usually in a section called "Advanced", "Port Forwarding", or "NAT".
  • Turning UPnP on takes one click, but you may need to restart your router or the device requesting the port for the change to take effect.

Find your router's admin panel

The first step is to open your router's settings page in a web browser. On most routers, you do this by typing 192.168.1.1 or 192.168.0.1 into the address bar. If neither of those works, check the bottom or back of your router for a sticker that shows the admin address — it might say something like "192.168.100.1" or have a web address like "routerlogin.net".

When the login page appears, enter your router's username and password. If you've never changed these, they're usually printed on that same sticker on the router. Common defaults are "admin" for both username and password, or "admin" with a blank password. If you changed the password and don't remember it, you'll need to reset the router to factory settings by holding the reset button for 10 to 15 seconds — this erases all your custom settings, so only do this if you're certain you need to.

Locate the UPnP setting in your router menu

Once you're logged in, look for a menu section called Advanced, Port Forwarding, NAT, or UPnP. Different router brands put this in different places. On Netgear routers, it's usually under Advanced > Port Forwarding. On TP-Link routers, check Advanced > Network > UPnP. On Asus routers, look in Advanced Settings > NAT-PMP or UPnP.

If you can't find it by browsing, use your browser's Find function — press Ctrl+F on Windows or Cmd+F on Mac — and search for "UPnP" or "Universal Plug and Play". The setting might also be labeled as "UPnP/NAT-PMP" or just "NAT-PMP" depending on your router model. If your router doesn't have this setting at all, it either doesn't support UPnP or the feature is built into a different menu section — check your router's manual or the manufacturer's support website for your specific model.

Enable UPnP and save the change

When you find the UPnP setting, you'll see a checkbox or a toggle switch next to it. Click the checkbox to put a checkmark in it, or click the toggle to switch it from Off to On. Some routers also have a separate checkbox for "UPnP" and another for "NAT-PMP" — you can turn on one or both, though UPnP is the more common standard.

After you've checked the box or flipped the toggle, look for a Save, Apply, or OK button. Click it to save the change. Your router may take a few seconds to apply the setting, and some routers will ask if you want to reboot — if it does, click Yes. If it doesn't ask, you can manually restart the router by unplugging it for 10 seconds and plugging it back in, though this isn't always necessary.

Verify UPnP is working on your device

After you've turned UPnP on, the device that needs it — a game console, streaming device, or application — should detect the open port automatically. You don't usually need to do anything on the device itself. However, you may need to restart the device or the application for it to notice that UPnP is now available.

If the device still isn't working after you've restarted it, check the device's settings to see if it has its own UPnP toggle that also needs to be turned on. Some devices have both a router-side UPnP setting and a device-side setting, and both need to be enabled. If you're still having trouble, try restarting your router completely by unplugging it for 30 seconds, then plugging it back in and waiting two minutes for it to fully boot up.

Turn UPnP back off if you don't need it

If you turned UPnP on to fix a specific problem and that problem is now solved, you can turn it back off for better security. Go back into your router's admin panel using the same steps above, find the UPnP setting, uncheck the box or toggle it to Off, and click Save. This closes the automatic port-opening feature and requires any future devices to use manual port forwarding instead.

Leaving UPnP on indefinitely is fine if you have multiple devices that need it regularly — the security risk is real but small for most home networks. However, if you only needed it temporarily, turning it off reduces the number of ways a device on your network could potentially cause problems without your knowledge.

Frequently Asked Questions

What's the difference between UPnP and port forwarding?

Port forwarding is manual — you go into your router and tell it "send traffic on port 6881 to this device's IP address". UPnP is automatic — the device asks your router to open a port, and the router does it without you having to do anything. Port forwarding is more secure because you control exactly which ports open, but UPnP is faster to set up if you have many devices.

Is UPnP a security risk?

UPnP has some security risk because any device on your network can request port access without asking you first. However, the risk is mostly limited to devices already connected to your Wi-Fi — an outside attacker can't use UPnP to open ports unless they're already on your network. If you're concerned, keep UPnP off and use manual port forwarding instead.

Why isn't UPnP working even though I turned it on?

The most common reason is that the device also needs UPnP turned on in its own settings — check the device's network or connection settings. The second most common reason is that you need to restart the device after turning UPnP on. If neither of those works, restart your entire router by unplugging it for 30 seconds.

Can I turn UPnP on and off without restarting my router?

Most routers apply the UPnP change immediately after you click Save, so you don't need to restart. However, some older routers do require a restart. If you're unsure, restart the router anyway — it takes two minutes and guarantees the setting takes effect.

What if I can't log into my router's admin panel?

Check the sticker on your router for the correct admin address and default username and password. If you changed the password and forgot it, you'll need to reset the router by holding the reset button for 10 to 15 seconds. This erases all your settings, so you'll have to set up your Wi-Fi password again afterward.