Setting a static IP for a gaming PC or console is one of those networking tasks that sounds intimidating but takes about five minutes once you know the steps. Whether you are trying to open your NAT type, set up port forwarding, or host a game server, a fixed IP address keeps your device reachable on the same network spot every time it boots up. In this guide I will walk through how to set a static IP for a gaming PC or console across Windows, Xbox Series X|S, PlayStation 5, and Nintendo Switch. I will also cover the difference between router-level DHCP reservations and device-level manual configuration, plus what to do if your ISP uses CGNAT.
Our team has spent hours in router menus and console network settings so you do not have to guess. By the end you will have a stable IP that makes port forwarding and NAT improvements straightforward.
Table of Contents
What Is a Static IP Address?
A static IP address is a fixed network address you manually assign to a device so it never changes. Your router normally hands out dynamic IPs automatically using DHCP, which means a device might get a different address each time it reconnects. A static IP skips that automatic assignment and locks your device to one specific address.
Think of it like a desk assignment in an office. A dynamic IP is like hot-desking where you grab whatever seat is open that day. A static IP is your own desk with a nameplate, always in the same spot.
For gaming, the key values involved in setting a static IP are:
IP address — the fixed number for your device, such as 192.168.1.50
Subnet mask — almost always 255.255.255.0 on home networks
Default gateway — your router’s IP address, commonly 192.168.1.1
DNS server — translates domain names into IPs, usually your router or a public DNS like 8.8.8.8
These four values work together. Get any of them wrong and you will lose internet access, so write them down before you start.
Why Use a Static IP for Gaming?
A static IP helps with specific gaming scenarios, not general matchmaking. Here is where it actually makes a difference.
If you need port forwarding for an open NAT type, your router forwards ports to a specific internal IP. When that IP changes because DHCP reassigns it, the port forwarding rule points at the wrong device. A static IP solves this by keeping the target address constant.
Hosting a game server on your PC or console also requires a static IP. Other players connect to your internal address through forwarded ports, and that address has to stay the same for the connection to keep working.
Remote play features, like streaming your PS5 to a phone or accessing your PC from another room, benefit from a fixed IP as well.
What a static IP does not do is improve latency, ping, or download speeds. Forum users on r/HomeNetworking consistently report that matchmaking and online play feel identical before and after assigning a static IP. If your only goal is faster gaming, a static IP will not help. The win is consistency for port forwarding and hosting.
Router-Level vs Device-Level Configuration
This is the biggest source of confusion I see in forum threads. You have two completely different places to set a static IP, and they work differently.
Device-level configuration means typing the IP, subnet, gateway, and DNS directly into your PC or console’s network settings. The device ignores DHCP and always uses the address you entered.
Router-level configuration (also called DHCP reservation or IP reservation) means telling your router to always hand the same IP to a specific device based on its MAC address. The device still uses DHCP, but the router always assigns it the same reserved address.
I recommend router-level DHCP reservations for most gamers. It is harder to mess up because you cannot accidentally enter a wrong subnet or gateway, and it prevents IP conflicts since the router tracks all assignments. Device-level manual entry is necessary when your router lacks a reservation feature or when you want full control over every network value.
Finding Your Network Information First
Before touching any settings, gather your network details. You need your router’s IP, subnet mask, and at least one DNS server.
On Windows: Press Win+R, type cmd, and hit Enter. In the command prompt, type ipconfig /all and press Enter. Look for your active network adapter (Ethernet or Wi-Fi). Note the IPv4 Address, Subnet Mask, Default Gateway, and DNS Servers.
On a console: Open Settings, go to Network, and view the current network status. You will see the IP address, subnet mask, gateway, and DNS already assigned by DHCP. Write all of these down.
When picking a static IP, choose an address outside your router’s normal DHCP pool but within the same subnet. If your router uses 192.168.1.1 and hands out addresses starting at .100, pick something like 192.168.1.50 for your gaming device. This avoids conflicts with other automatically assigned devices. Check your router’s DHCP settings page to confirm the pool range.
How to Set a Static IP on a Windows Gaming PC?
Setting a static IP on Windows 10 and Windows 11 is nearly identical. The main difference is how you reach the network settings menu.
Windows 11 steps:
Press Win+I to open Settings
Click Network and internet, then click Ethernet (or Wi-Fi if wireless)
Click your connected network properties
Find the IP assignment section and click Edit
Change the dropdown from Automatic (DHCP) to Manual
Toggle IPv4 to On
Enter your chosen IP address (for example 192.168.1.50)
Enter the subnet prefix length — for home networks this is 24
Enter your default gateway (your router IP, for example 192.168.1.1)
Enter your preferred DNS (8.8.8.8 or your router IP)
Click Save and restart your connection
Windows 10 steps:
Press Win+I to open Settings
Click Network and internet, then click Change adapter options
Right-click your active connection and select Properties
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties
Select Use the following IP address
Enter your IP address, subnet mask (255.255.255.0), default gateway, and DNS servers
Click OK on both windows
The subnet prefix length of 24 in Windows 11 is the same thing as the subnet mask 255.255.255.0 in Windows 10. Microsoft switched to CIDR notation, but the value means the same thing.
After saving, open a browser and confirm you still have internet. If pages will not load, double-check your gateway and DNS values. A wrong gateway is the most common mistake.
How to Set a Static IP on Xbox Series X and S
The Xbox makes static IP setup simple since everything lives in one menu.
Press the Xbox button on your controller to open the guide
Navigate to Profile and system, then Settings
Go to General, then Network settings
Under Setup, select Advanced settings
Select IP settings, then change from Automatic to Manual
Enter your IP address (for example 192.168.1.50)
Enter the subnet mask (255.255.255.0)
Enter the gateway (your router IP)
Go back and select DNS settings, then Manual
Enter your primary and secondary DNS
Press B to save and test the connection
Run the Xbox network connection test afterward. If it passes, your static IP is working. If NAT shows as Strict after this, you still need to set up port forwarding on your router pointing at the new address.
How to Set a Static IP on PlayStation 5
The PS5 network menu is slightly different from older PlayStation consoles, and many guides still reference PS4 steps that no longer match. Here is the current PS5 path.
Go to Settings from the home screen (gear icon at top right)
Select Network, then Connection Status
Select View Connection Status and note your current IP, subnet, gateway, and DNS
Go back to Network, then select Settings
Highlight your connected network and press the Options button
Select Advanced Settings
Under IP Address Settings, change from Automatic to Manual
Enter your chosen IP address (something like 192.168.1.50)
Enter the subnet mask (255.255.255.0)
Enter the default gateway (your router IP)
Under DNS Settings, change to Manual and enter primary and secondary DNS
Press OK to save and test the connection
The PS5 handles manual IPs cleanly, but if you ever factory reset or move the console to another network, you will need to redo these steps since the manual settings do not auto-revert.
Setting a Static IP on Nintendo Switch
The Switch supports manual IP settings but the process is a bit more buried.
Go to System Settings from the home screen
Scroll down and select Internet, then Internet Settings
Select your connected network, then Change Settings
Scroll to IP Address Settings and change from Automatic to Manual
Enter your IP address and subnet mask (255.255.255.0)
Set the Gateway to your router IP
Change DNS Settings to Manual and enter your DNS
Click Save and run a connection test
The Switch is primarily used wirelessly, so a static IP is mainly useful if you run a game server that the Switch connects to or if you need specific port forwarding for a Switch title.
How to Use DHCP Reservation as an Alternative
If your router supports DHCP reservation, this is often the easier and safer method. Instead of configuring each device, you tell the router to always assign the same IP to a specific MAC address.
General steps (exact menus vary by router brand):
Open a browser and go to your router’s admin page (usually 192.168.1.1)
Log in with your admin credentials
Find the DHCP or LAN settings section
Look for DHCP Reservation, Address Reservation, or IP Assignment
Locate your gaming device in the connected devices list (or enter its MAC address manually)
Assign it a fixed IP from your subnet
Save and reboot the router if prompted
Many forum users on r/HomeNetworking recommend this approach because it keeps all IP management in one place and prevents the conflicts that happen when two devices claim the same address. The device still appears as DHCP in its own settings, but the router always gives it the same number.
Understanding NAT Types for Gaming
NAT (Network Address Translation) determines how easily your console or PC connects to other players. Gaming NAT types fall into three categories.
Open NAT means your device can connect to anyone, host sessions, and use voice chat without restrictions. This is what you want.
Moderate NAT means you can connect to most players but may have trouble with voice chat or hosting. You can connect to Open and Moderate NAT players but not Strict.
Strict NAT limits you to connecting only with Open NAT players. You cannot host and will struggle to join many sessions.
A static IP alone does not change your NAT type. What it does is give port forwarding rules a fixed target so they keep working after reboots. If your NAT is Moderate or Strict, set a static IP first, then configure port forwarding (or enable UPnP) on your router pointing at that IP.
CGNAT and How to Work Around It
CGNAT (Carrier-Grade NAT) is the biggest hidden barrier for gamers trying to improve their connection. Many ISPs, especially fiber and mobile providers, use CGNAT to share a single public IP across many customers. This means you do not actually have your own public IP address.
With CGNAT, port forwarding on your router does nothing because the blocking happens at the ISP level, not your home network. Your NAT type will stay Strict no matter what you do with static IPs or port forwarding.
Signs you are behind CGNAT:
Your router’s WAN IP starts with 100.64.x.x (the CGNAT range)
Your public IP differs from your router’s WAN IP
Port forwarding changes nothing about your NAT type
You cannot host any game sessions or get incoming connections
Workarounds for CGNAT:
Ask your ISP for a public IP. Many ISPs offer a real dynamic or static public IP for free or a small monthly fee, often around $5. This is the cleanest fix. Some ISPs call this a bridged connection or a routed IP.
Use a VPN with port forwarding. Some gaming-focused VPNs support port forwarding, which tunnels past CGNAT and gives you a public-facing endpoint. This adds latency but can resolve Strict NAT.
Use a dedicated game server. Instead of hosting on your own connection, rent a server that has a real public IP. This sidesteps CGNAT entirely for multiplayer hosting.
CGNAT is why some gamers set up a static IP and see zero improvement. The static IP is correct, but the problem was never on the local network.
Troubleshooting Static IP Issues
If your static IP setup goes wrong, here are the most common fixes based on real forum troubleshooting.
No internet after setting a static IP. This almost always means a wrong value. Double-check your default gateway (it should be your router IP) and DNS. Try using 8.8.8.8 and 8.8.4.4 as DNS to rule out a DNS problem.
IP address conflict warning. Two devices on your network are using the same IP. Change your static IP to a different number in your subnet, preferably outside the DHCP pool. Reboot both devices.
Connection works but NAT is still Strict. A static IP does not open NAT by itself. You still need port forwarding or UPnP on your router pointing at your static IP. If port forwarding does not help, check for CGNAT.
Settings reset after reboot. On some consoles, manual IP settings can revert if the connection drops before saving. Always run the connection test after applying settings to confirm they stuck.
Can connect to router but not internet. Your IP is likely correct but DNS is wrong. The gateway handles local routing, but DNS handles reaching the wider internet. Verify your DNS entries.
FAQs
How do I set a static IP for gaming?
To set a static IP for gaming, first find your network details (router IP, subnet mask, DNS) using ipconfig on Windows or your console’s network status page. Then enter a fixed IP address manually in your device’s network settings, choosing an address outside your router’s DHCP pool. Alternatively, set up a DHCP reservation on your router so it always assigns the same IP to your gaming device.
Is a static IP address good for gaming?
A static IP is good for gaming when you need port forwarding, want to host a game server, or need to open your NAT type. It does not improve ping, latency, or matchmaking speed. If you only play online games through normal matchmaking, a static IP will not make a noticeable difference in performance.
How do I make a static IP for my PC?
On Windows 11, go to Settings, then Network and internet, click your connection, and change IP assignment from Automatic to Manual. Toggle IPv4 on and enter your IP address, subnet prefix length (24), gateway, and DNS. On Windows 10, go to adapter properties, select TCP/IPv4, and enter the values in the manual fields.
How do I make my PS5 IP address static?
On PS5, go to Settings, then Network, highlight your connection and press Options, then select Advanced Settings. Change IP Address Settings from Automatic to Manual and enter your chosen IP, subnet mask (255.255.255.0), and default gateway. Change DNS Settings to Manual as well and enter your preferred DNS servers.
Conclusion
Learning how to set a static IP for a gaming PC or console comes down to gathering four values (IP, subnet, gateway, DNS) and entering them in the right menu on your device. Whether you use device-level manual entry or a router-level DHCP reservation, the goal is the same: a consistent address that keeps port forwarding and hosting reliable.
Pick a router DHCP reservation if you want the simpler, safer route. Choose device-level manual entry if you want full control or your router lacks reservation features. And if your NAT stays Strict after all of this, check whether your ISP uses CGNAT before spending more time on local settings.