What Universal Plug and Play does, and why you might turn it on

Universal Plug and Play (UPnP) is a network standard that lets devices on your home network talk to each other and automatically configure themselves without you manually opening ports or changing router settings. When UPnP is on, a gaming console can tell your router to forward traffic for online play, a security camera can announce itself to your phone, or a printer can make itself discoverable — all without you logging into your router's admin panel.

Most routers ship with UPnP turned off by default. You turn it on when you have devices that need it — usually gaming systems, media servers, or smart home equipment — and you want them to work without manual port forwarding. The trade-off is that UPnP can create security gaps if a device on your network gets compromised, because that device can then reconfigure your router without your permission.

If you live alone or with people you trust, and your network is password-protected, the risk is usually small. If you have guests on your Wi-Fi or run a business network, you may want to leave UPnP off and configure ports manually instead.

Key Takeaways

  • UPnP is turned on in your router's settings, usually under a Network or UPnP menu, and the exact location depends on your router brand.
  • You also need to turn on UPnP on individual devices — like a PlayStation, Xbox, or PC — that will use it to communicate with the router.
  • After enabling UPnP on both the router and device, restart the device and check its network settings to confirm it found an open port.
  • UPnP improves convenience but can pose a security risk if an infected device on your network uses it to change your router settings without permission.

Enable UPnP on your router

Log into your router's admin panel by opening a web browser and typing your router's IP address — usually 192.168.1.1 or 192.168.0.1 — into the address bar. If you do not know the address, check the sticker on the back of your router or the manual. You will need your router's admin username and password, which are also on the sticker or in the manual (the default is often "admin" and "admin" or "admin" and the router's serial number).

Once logged in, look for a menu labeled UPnP, UPnP/NAT-PMP, Network Settings, Advanced, or Port Forwarding — the exact name varies by manufacturer. Common router brands place it here: Netgear routers usually have it under Advanced > UPnP; TP-Link routers under Network > UPnP; Asus routers under Network Tools > UPnP; Linksys routers under Advanced > UPnP. Find the toggle or checkbox that says "Enable UPnP" or "Turn on UPnP" and switch it on. Save or apply the change. Your router may restart automatically.

If you cannot find the UPnP menu, check your router's manual or search "[your router model] enable UPnP" online. Some older or budget routers do not support UPnP at all.

Enable UPnP on your device

After the router is set, turn on UPnP on the device that needs it. The steps differ by device type.

On a PlayStation 4 or 5: Go to Settings > Network > Set Up Internet Connection. Select your Wi-Fi network, then choose Additional Settings. Look for UPnP or NAT Type and select Enable or Automatic. The console will test the connection and report whether UPnP was successful.

On an Xbox One or Series X/S: Go to Settings > Network > Network Settings > Advanced Settings. Find UPnP and toggle it on. The system will show your NAT type — you want it to say "Open" or "Moderate" after UPnP is enabled.

On a Windows PC: Open Settings > Network & Internet > Advanced Network Settings. Scroll down and select Advanced Sharing Options. Turn on Network Discovery and File and Printer Sharing. This enables UPnP on your PC. Some games also have their own UPnP setting in their network or connection menu — check the game's settings if you are having trouble.

On a Mac: Go to System Preferences > Network. Select your connection and click Advanced. Look for a UPnP or Bonjour option and turn it on. Not all Macs expose UPnP directly in settings; some apps handle it internally.

On a smart TV, streaming device, or printer: Look in Settings > Network or Settings > Connectivity. The exact path varies widely. If you do not see a UPnP option, the device may not support it, or it may be on by default.

Verify that UPnP is working

After enabling UPnP on both your router and device, restart the device. Then check whether the device reports an open or moderate NAT type, or whether it shows a successful UPnP status in its network settings.

On a PlayStation or Xbox, run a network test from the console's network settings menu. If UPnP worked, the NAT type should show as Open. If it still shows Strict or Failed, UPnP did not work — go back to your router settings and confirm UPnP is actually on, then restart the console again and test once more.

On a PC or Mac, open a command prompt or terminal and type netstat -an (Windows) or netstat -an | grep LISTEN (Mac) to see which ports are open. If UPnP is working, you should see ports that the device or application opened automatically. This is technical and not necessary for most users — if your game or app works, UPnP is working.

Turn off UPnP if you do not need it

If you enabled UPnP but find you do not use it, or if you are concerned about security, turn it off the same way you turned it on: log into your router, find the UPnP menu, and toggle it off. Then go to each device and disable UPnP there as well.

Turning off UPnP will not break your internet connection or remove your devices from the network. It only means that devices will no longer be able to automatically open ports on your router. If you were using UPnP for gaming or streaming, you may notice lag or connection drops until you manually configure port forwarding for those services — or you can turn UPnP back on.

Troubleshooting common UPnP problems

If UPnP is on but your device still shows a Strict or Failed NAT type, first confirm that UPnP is actually enabled on both the router and the device — sometimes it defaults back to off after a restart or firmware update. Restart both the router and device, wait two minutes, and test again.

If the problem persists, check whether your internet service provider (ISP) is blocking UPnP traffic. Some ISPs disable UPnP at the modem level for security reasons. Contact your ISP to ask whether they allow UPnP, and if they do, ask them to enable it on your modem. If your ISP blocks UPnP, you will need to use manual port forwarding instead, or switch to a different ISP.

If only one device is having trouble while others work fine, the problem is likely with that device's UPnP implementation, not your router. Try disabling and re-enabling UPnP on that device, or check whether the device's manufacturer has released a firmware update that fixes UPnP issues.

Frequently Asked Questions

Is UPnP a security risk?

UPnP can be a security risk if a malicious app or virus on your network uses it to open ports on your router without your knowledge. However, the risk is low if your network is password-protected and you only connect devices you trust. If you are concerned, disable UPnP and use manual port forwarding instead, or keep UPnP on but regularly check your router's port forwarding rules to spot unauthorized changes.

Do I need UPnP for Wi-Fi to work?

No. UPnP only helps devices automatically configure ports for specific services like gaming or streaming. Your Wi-Fi will work fine without it. Most people do not need UPnP unless they are gaming online, running a media server, or using smart home devices that require it.

What is the difference between UPnP and NAT-PMP?

NAT-PMP is an older, simpler alternative to UPnP that does the same job — it lets devices ask your router to open ports automatically. Most modern routers support both. If your router offers a choice, enable UPnP; if it only offers NAT-PMP, enable that instead. They are not mutually exclusive and can both be on at the same time.

Will enabling UPnP slow down my internet?

No. UPnP only handles port configuration and does not affect your internet speed. Once a port is open, data flows at the same speed whether the port was opened by UPnP or manual configuration.

Can I enable UPnP on just my device without enabling it on my router?

No. UPnP requires both the router and the device to support it. If your router does not have UPnP enabled, your device cannot use it to open ports, and you will see a Strict or Failed NAT type. You must enable UPnP on the router first.