PS4 error code
PS4 NP-31730-4 Error: Can’t Connect to PlayStation, Fix
Try this first: Go to Settings > Account Management and sign out. Then sign in to your account for PlayStation again.

What NP-31730-4 means
PlayStation Support says: “An error occurred while connecting to PlayStation.” (official page)
NP-31730-4 is a PS4 error that reads “An error occurred while connecting to PlayStation.” Sony’s fix starts with signing out under Settings > Account Management and signing in again. Next, unplug the console for five minutes. If it keeps happening, Sony says to back up your saved data and initialize the PS4, which erases it. Sony’s NP-31730-4 page doesn’t give a cause beyond the message itself. It gives three fixes in order, from least to most drastic: sign out and back in, power-cycle the console, then back up and initialize. The five-minute unplug is a full power cycle. Turn the PS4 off completely before you unplug it. The last step erases the console. Sony’s Safe Mode page describes Initialize PS4 as deleting all user data and restoring the console to its original state. Back up saved data first, either through Application Saved Data Management as the error page says or with a full backup to USB. Sony’s backup guide says a full backup doesn’t include trophies. It also says you should sign in to PSN before backing up if you want to restore saved data to another PS4. The NP-31730-4 page doesn’t mention the PlayStation status page, but it’s worth a look before you initialize. Sony’s other connection guides start there. If PSN is fine and WS-37397-9 appears instead, that’s Sony’s IP-block code, not this one.
Match what you see
Where NP-31730-4 appears tells you where to start. Find the row closest to your situation, then jump to that step.
| What you see | Most likely cause | Start at |
|---|---|---|
| NP-31730-4 appears when the PS4 connects to PlayStation | An error occurred while connecting to PlayStation | Sign out in Settings > Account Management, then sign in again |
| It appears again after signing back in | Signing in again didn’t clear it | Turn off and unplug the PS4 for five minutes |
| It keeps coming back after the power cycle | Sony moves to resetting the console | Back up your saved data |
| Your data is backed up | Sony’s last step for this code | Settings > Initialization > Initialize PS4 |
Likely causes
- An error occurred while connecting to PlayStation (Sony’s stated meaning of NP-31730-4).
- Sony’s page gives no more specific cause. Its fixes point to the sign-in session first, then the console’s state, and finally the system data.
- If signing out and back in and a five-minute power cycle don’t help, Sony treats it as needing a backup and an initialize.
How to fix NP-31730-4, easiest first
- Sign out and sign back in
Go to Settings > Account Management and sign out. Then sign in to your account for PlayStation again. - Unplug the PS4 for five minutes
Turn off the console and unplug it. Wait five minutes, plug it back in and restart it. - Back up your saved data
If the error continues, Sony says to back up your data. Go to Settings > Application Saved Data Management. For a full backup, Sony’s guide uses a FAT32 or exFAT USB drive at Settings > System > Back Up and Restore. That backup doesn’t include trophies, so sync trophies with PSN first from the Trophies screen. - Initialize the PS4
Once the backup is done, go to Settings > Initialization > Initialize PS4. Sony’s Safe Mode page says Initialize PS4 deletes all user data and restores the console to its original state. A CE-36329-3 system software error uses the same initialize step after a system update. - Restore your data and sign in
After initializing, sign in and restore your saved data. To restore a full USB backup, go to Settings > System > Back Up and Restore > Restore PS4. Sony warns that restoring erases everything on the console first. For other PS4 network checks, see our PS4 troubleshooting guide.
| Step | What to do | Source |
|---|---|---|
| 1 | Sign out and sign back in | Official |
| 2 | Unplug the PS4 for five minutes | Official |
| 3 | Back up your saved data | Official |
| 4 | Initialize the PS4 | Official |
| 5 | Restore your data and sign in | Official |
When to contact support
Contact PlayStation Support from Sony’s error page if NP-31730-4 continues after initializing the PS4, or before initializing if you can’t make a backup. Give them the exact code and the steps you’ve tried. If the PS4 can’t reach your network at all, NW-31201-7 is a different code with its own checks.
NP-31730-4 FAQ
What is error code NP-31730-4?
Sony says NP-31730-4 means “An error occurred while connecting to PlayStation.” It doesn’t give a more specific cause. Its fixes are to sign out and back in, unplug the console for five minutes, then back up and initialize the PS4.
How do I fix NP-31730-4 on PS4?
Sign out in Settings > Account Management and sign in again. Next, turn off and unplug the PS4 for five minutes. If it keeps happening, back up your saved data and go to Settings > Initialization > Initialize PS4.
Why is my PS4 not connecting to PlayStation Network?
It depends on the code. NP-31730-4 is Sony’s general PlayStation connection error. NW-31246-6 points to DNS settings and WS-37397-9 to an IP block. NW-31201-7 means the console couldn’t reach the network. Check the PlayStation status page first, then follow the fixes for your code.
Sources
Related codes and how they differ
- WS-37397-9: PS4 “could not connect to the server” when Sony has blocked your IP address; virus scan and ISP, not a reset.
- NW-31201-7: PS4 could not connect to the network at all, with server and connection tests.
- CE-36329-3: PS4 system software error that also ends in back up and initialize.
- PS4 troubleshooting guide: Network setup, Safe Mode and backups on PS4.
PS4 troubleshooting guide · All PS4 codes · Error code directory