Network Security

Should You Turn Off UPnP on Your Router?

UPnP lets devices open ports on your router without asking you. Learn what it does, which devices need it, and how to turn it off safely on most routers.

On this page
  1. The short answer
  2. What UPnP does
  3. Why it’s a concern
  4. Devices that may need it
  5. How to turn it off
  6. If something breaks
  7. Related settings
  8. Bottom line

The short answer

If you searched for “should i turn off upnp on router”, the short answer is usually yes. Turn it off unless a device you use needs it. Some games, consoles, and apps depend on UPnP, so test them after you change the setting.

What UPnP does

UPnP, short for Universal Plug and Play, lets devices on your network ask the router to open a port for them. That opening lets outside services reach the device. Some games and video apps use it so you don’t have to set up port forwarding by hand.

Why it’s a concern

UPnP trusts the devices on your network. Any device on your network can ask for a port to open, including one that has malware or one that someone else controls. That reduces the protection your router provides, because a device can open a path into your network without your knowledge.

UPnP has also had security flaws in various routers over the years, and manufacturers have released fixes. Turning the feature off reduces that exposure, and on most routers it’s a quick change.

Devices that may need it

  • Some game consoles, which can show a strict NAT type when UPnP is off.
  • Some online games and voice or video apps.
  • Media servers and network storage devices that accept connections from outside.
  • Some file-sharing or peer-to-peer programs.

If you’re not sure whether a device needs UPnP, turn it off and test the device or app. If it works, you’re done.

How to turn it off

  1. Log in to your router’s admin page or app.
  2. Look for UPnP. It’s often under advanced, NAT, forwarding, or WAN settings, depending on the brand.
  3. Turn it off and save.
  4. Test the devices and apps you use. If something breaks, see the next section.

If something breaks

  • Check the device’s network test or NAT type. Consoles usually show the result in their network settings.
  • Set up port forwarding for only the specific port the app needs, and send it only to the device that uses it. This is usually better than turning UPnP back on, because you control exactly what is open.
  • Turn UPnP back on only if you understand what it opens and you have no other option.

UPnP is one of several defaults worth checking. Keeping firmware up to date matters, because UPnP flaws are fixed through updates. The steps for how to update router firmware are a good companion to this change. Also keep the router’s firewall on, and avoid exposing the admin page to the internet.

Many people review UPnP and WPS at the same time. For WPS, the question “should i turn off wps on router” deserves its own look, and for most homes the answer is yes.

Bottom line

Turn UPnP off unless a device you use needs it, and test your devices afterward. When you need an opening, use manual port forwarding for the exact port, and keep your firmware current.

The complete guide to network security

How to Secure Your Home Wi-Fi Network
Read the guide

Keep exploring

Guides from other topics

All topics →