What Is UPnP? Should You Turn It Off on Your Router?

A convenience feature that lets any program on your network punch holes in your firewall. Here is what to do about it.

Published October 2026 · Sources: 7 · ismyroutersafe.com

UPnP (Universal Plug and Play) lets devices on your network find each other and open ports in your router automatically. CISA, the NSA and the FTC all say to turn it off unless you need it. The protocol has no authentication, and malware has used it to get around router firewalls.

What does UPnP do?

CISA calls UPnP a handy feature that lets networked devices discover and talk to each other. On a router, it can also let a device add port mappings, so traffic from the internet can reach it.

CERT/CC notes UPnP was designed for trusted local networks and has no form of authentication. The router does not check who is asking.

Rio Router
From the team behind this checker
Want a router that takes this seriously by default?
  • SecureRooms. Smart devices live apart from your computers.
  • You approve every new device before it joins.
  • Rio VPN built in. First year included.
  • Set up in about 10 minutes from the app.
See Rio Router →
$199.99 · 1 year of VPN included, then $7.99/mo · 30-day returns · 1-year warranty. Rio builds this site and grades its own router by the same method.

Why is UPnP a security risk?

What do government agencies advise?

What changes if you turn it off?

Devices can no longer open ports in your router by themselves. Anything that relied on that for incoming connections may not work as before.

If that happens, check the device maker’s support pages for the exact ports it needs, and forward only those. That gives you one known, fixed opening instead of letting any program create its own.

How do you turn off UPnP?

  1. Log in to your router from a device on your home network.
  2. Find the UPnP setting. Look under advanced, NAT or network settings. Names vary by brand.
  3. Turn it off and save.
  4. Test the devices you care about, such as game consoles and cameras.
  5. Update the firmware. CERT/CC’s fix for the 2013 UPnP flaws was updated software, so stay current.

What else should you check?

UPnP is one of ten settings in our router security checklist. If you think a device already abused it, see signs your router was hacked. You can also check your router’s grade for known flaws in your model.

Frequently Asked Questions

Government guidance says no, unless you need it. CISA, the NSA and the FTC all recommend turning it off, because malware inside your network can use UPnP to bypass the router firewall.

No. UPnP does not control your speed. It only lets devices discover each other and ask the router to open ports.

Not necessarily. If a game or console has connection problems with UPnP off, check its maker’s support pages for the ports it needs and forward only those.

On some routers, yes. CERT/CC says exposing UPnP to the internet is a misconfiguration, yet scans in 2020 still found devices doing it. A 2013 flaw in a common UPnP library could let remote attackers run code.

Port forwarding is a rule you set by hand for one device and port. UPnP lets devices create those rules themselves, with no password, which is why agencies advise turning it off.

Sources

Dates show when each source was published or when we checked it.

Check your router

See how your router scores

Get its FCC status, CVEs, grade and an action plan.

Check a Router → Top 10 Safe Routers
Rio Router is the only router we rate A. Rio builds this site. See why →