Home/Errors/NW-31297-2
Major Error
NW-31297-2

Cannot Connect to Wi-Fi Network

Your PS4 cannot connect to the Wi-Fi network. This is a common network connectivity error.

What Causes This Error?

This error typically occurs due to: incorrect Wi-Fi password, router issues, PS4 too far from router, network congestion, or incompatible router settings.

How to Fix It

  1. Verify your Wi-Fi password is correct
  2. Restart your router and modem
  3. Move your PS4 closer to the router
  4. Try connecting via Ethernet cable instead
  5. Change your DNS settings:
    • Go to Settings > Network > Set Up Internet Connection
    • Choose Wi-Fi or LAN
    • Select Custom
    • Set DNS to Manual: Primary 8.8.8.8, Secondary 8.8.4.4
  6. Check if your router's 5GHz band is causing issues - try 2.4GHz
  7. Update your router's firmware

Pro Tips

  • Wired connections are always more stable for gaming
  • If using 5GHz Wi-Fi, ensure your PS4 is within range
  • Some routers have gaming modes that can help

When Does This Error Appear?

This error usually appears when attempting to connect to Wi-Fi during initial setup, after changing router settings, or when the PS4 wakes from Rest Mode.

Additional Troubleshooting

  • Try connecting at a different time when servers are less busy
  • Contact your ISP to check for network issues
  • Try using a mobile hotspot to test if the issue is with your home network
  • Check if other devices can connect to PSN

Frequently Asked Questions

Why won't my PS4 connect to Wi-Fi (NW-31297-2)?

NW-31297-2 occurs when your PS4 cannot connect to your Wi-Fi network. Common causes include incorrect password, router too far away, network congestion, or incompatible router settings like using only 5GHz band.

Should I use wired or wireless for PS4?

A wired Ethernet connection is always more stable and faster for gaming. If you're experiencing NW-31297-2 frequently, connecting via Ethernet cable can eliminate Wi-Fi related issues entirely.

What DNS settings fix NW-31297-2?

Try changing your DNS to Google's public DNS: Primary 8.8.8.8 and Secondary 8.8.4.4. Go to Settings > Network > Set Up Internet Connection > Custom and enter these values manually.