Have you ever noticed your PC’s IP address changing every time you restart your router or reconnect to Wi-Fi? That’s because most networks assign dynamic IP addresses by default. While this is fine for everyday users, some situations—like hosting a server, using remote desktop connections, or setting up port forwarding—require a static IP address.
In this comprehensive guide, we’ll walk you through how to set a static IP in Windows 11 step by step. Whether you’re a beginner or tech-savvy user, you’ll learn the easiest and most reliable methods to assign a permanent IP address to your PC.
🧭 Summary: Key Takeaways
Aspect | Details |
---|---|
Goal | Assign a fixed (static) IP to your Windows 11 PC |
Best For | Port forwarding, printers, game servers, and remote desktop |
Methods Covered | Settings app, Control Panel, Command Prompt, PowerShell |
Difficulty Level | Easy to Moderate |
Estimated Time | 5–10 minutes |
Applies To | Windows 11 Home, Pro, and Enterprise editions |
🧩 What Is a Static IP Address?
A static IP address is a permanent IP assigned to your device that doesn’t change over time. Unlike dynamic IPs (which are automatically assigned by your router’s DHCP server), a static IP stays constant—even after rebooting your PC or router.
✅ Benefits of Setting a Static IP:
-
Stable connections for remote access and servers.
-
Simplified port forwarding for gaming and hosting.
-
Reliable network configurations for printers and NAS drives.
-
Consistent local connections—no more reconfiguring after restarts.
⚙️ How IP Addresses Work in Windows 11
When you connect your PC to the internet or a local network, your router’s DHCP server assigns an IP address dynamically.
But Windows 11 also allows you to override this behavior and manually set a fixed IP.
Here’s the basic flow:
-
Router assigns an IP → via DHCP
-
Windows requests a new IP each session
-
Setting a static IP bypasses DHCP and keeps the same IP permanently
🧠 When Should You Use a Static IP?
You should set a static IP address when:
-
You’re hosting a Minecraft or game server on your PC.
-
You want to access your PC remotely via Remote Desktop Protocol (RDP).
-
You have shared devices (like printers, NAS, or CCTV cameras) that other users must access using the same IP.
-
You’re troubleshooting network issues or setting custom firewall rules.
If you’re just browsing or streaming, a dynamic IP works fine—but for advanced networking tasks, a static IP gives you control and consistency.
🧰 Prerequisites Before Setting a Static IP
Before diving in, make sure you have the following:
-
Administrator access on your Windows 11 PC.
-
Your current IP configuration, including:
-
IP address
-
Subnet mask
-
Default gateway
-
DNS servers
-
You can find these by running a quick command.
🔍 How to Find Your Current Network Configuration
-
Press Windows + R, type
cmd
, and hit Enter. -
Type the following command:
-
Note the following details from your active adapter:
-
IPv4 Address
-
Subnet Mask
-
Default Gateway
-
DNS Servers
-
You’ll need these values later.
🪟 Method 1: Set a Static IP via Windows 11 Settings (Recommended)
This is the easiest and most visual method. Perfect for beginners.
🪜 Steps:
-
Open Settings
-
Press Windows + I to open the Settings app.
-
-
Go to Network Settings
-
Navigate to Network & Internet > Wi-Fi (or Ethernet, if wired).
-
-
Select Your Connection
-
Click on your active Wi-Fi or Ethernet connection.
-
-
Edit IP Assignment
-
Scroll down and click the Edit button next to IP assignment.
-
-
Switch to Manual
-
Change from Automatic (DHCP) to Manual.
-
-
Enable IPv4
-
Toggle IPv4 ON.
-
-
Enter Your IP Details
-
IP Address: Choose an IP within your router’s range but outside its DHCP pool (e.g., 192.168.1.150).
-
Subnet Mask: Usually
255.255.255.0
. -
Default Gateway: Your router’s IP (e.g., 192.168.1.1).
-
Preferred DNS: Use Google DNS (
8.8.8.8
) or your ISP’s DNS.
-
-
Save Settings
-
Click Save, then close Settings.
-
✅ Your PC now uses a static IP address.
🧭 Method 2: Set a Static IP via Control Panel
If you prefer the old-school interface, the Control Panel method works perfectly.
Steps:
-
Press Windows + R, type
ncpa.cpl
, and hit Enter. -
Right-click your active network adapter, then select Properties.
-
Select Internet Protocol Version 4 (TCP/IPv4) → click Properties.
-
Choose Use the following IP address.
-
Enter:
-
IP Address:
192.168.1.150
(example) -
Subnet Mask:
255.255.255.0
-
Default Gateway:
192.168.1.1
-
-
Under DNS, select Use the following DNS server addresses:
-
Preferred:
8.8.8.8
-
Alternate:
8.8.4.4
-
-
Click OK → Close.
💡 Tip: You may need to disconnect and reconnect for changes to apply.
💻 Method 3: Use Command Prompt (CMD)
For advanced users who prefer the command line.
Steps:
-
Open Command Prompt as Administrator.
-
Press Windows + S, type cmd, right-click it → select Run as administrator.
-
-
Run this command to view adapter names:
-
Identify your active interface (e.g., Wi-Fi or Ethernet).
-
Set a static IP address:
-
Set a DNS server:
✅ You’ve successfully configured your static IP via Command Prompt.
🧾 Method 4: Set a Static IP via PowerShell
Windows PowerShell offers more flexibility for scripting and automation.
Steps:
-
Search for PowerShell, right-click, and choose Run as administrator.
-
Run this command to view network details:
-
Note your interface alias (e.g., Wi-Fi).
-
Set the IP address:
-
Set DNS servers:
You can verify your settings using:
🧱 Method 5: Assign a Static IP via Router (Optional)
Another way is to reserve a static IP directly from your router. This method ensures your device always gets the same IP automatically.
Steps:
-
Log in to your router’s web interface (e.g.,
192.168.1.1
). -
Go to DHCP or LAN Settings.
-
Find Address Reservation or Static IP Assignment.
-
Enter:
-
Device Name or MAC Address
-
Desired IP Address (e.g., 192.168.1.150)
-
-
Save and restart your router.
Now, your router will always assign that IP to your PC.
🔎 How to Verify Your Static IP Settings
After setting the static IP, verify it using any of these methods:
Option 1: Command Prompt
Run:
Check your IPv4 address—it should match what you set manually.
Option 2: Settings App
Go to Network & Internet > Properties, and look for IP assignment.
Option 3: Browser Test
Open your browser and confirm internet access. If websites load, your settings are correct.
🚨 Common Issues and Fixes
Problem | Cause | Solution |
---|---|---|
No Internet Access | Wrong gateway or DNS | Double-check IP settings |
IP Conflict | Another device uses same IP | Pick a different IP outside DHCP range |
Slow Connection | DNS misconfiguration | Use Google DNS or Cloudflare |
Connection Drops | Misconfigured subnet | Ensure correct subnet mask |
💡 Pro Tips for Managing Static IPs
-
Avoid using low IPs (like
.1
or.2
) — they’re often reserved by routers. -
Document your static IPs in a simple spreadsheet for organization.
-
Use a reserved DHCP range (like
.100–.199
) and assign static IPs outside it. -
Use Cloudflare DNS (1.1.1.1) for faster browsing speeds.
🧩 Dynamic vs. Static IP: Quick Comparison
Feature | Dynamic IP | Static IP |
---|---|---|
Assignment | Automatic (DHCP) | Manual |
IP Changes | Yes | No |
Setup | Easy | Manual configuration needed |
Best For | Everyday users | Servers, printers, RDP |
Reliability | Moderate | High |
🧾 Example IP Configuration Table
Setting | Example Value |
---|---|
IP Address | 192.168.1.150 |
Subnet Mask | 255.255.255.0 |
Default Gateway | 192.168.1.1 |
Preferred DNS | 8.8.8.8 |
Alternate DNS | 8.8.4.4 |
🧠 Why Static IPs Matter for Power Users
If you frequently work with remote desktop tools, file sharing, or home servers, a static IP eliminates the frustration of reconfiguring your connection every time your router reboots. It ensures consistency, security, and reliability across all devices.
🏁 Conclusion: Take Control of Your Network
Setting a static IP in Windows 11 might sound technical, but as you’ve seen, it’s straightforward once you understand the basics. Whether you use the Settings app, Control Panel, Command Prompt, PowerShell, or router-based assignment, each method gives you greater control over your network stability.
A static IP can make your digital life smoother—especially if you rely on consistent connections for gaming, hosting, or remote work.
❓FAQs: How to Set a Static IP in Windows 11
1. Is it safe to use a static IP address?
Yes, as long as you choose an unused IP and secure your network, it’s perfectly safe.
2. Can I have both dynamic and static IPs on one PC?
You can configure multiple adapters (Wi-Fi, Ethernet) with different IP types, but not both on the same adapter.
3. Why does my static IP not work after reboot?
Ensure you saved the settings correctly and didn’t set an IP within your router’s DHCP pool.
4. How do I find the best IP to use?
Check your router’s DHCP range (e.g., 192.168.1.2–192.168.1.100) and pick an address outside it, like 192.168.1.150.
5. What’s better — router reservation or manual static IP?
Router reservation is more reliable since it prevents IP conflicts and keeps your device consistent automatically.
✅ Key Takeaway:
Setting a static IP in Windows 11 gives you stability, control, and reliability—especially for advanced users managing servers or shared devices. Follow one of the methods above, verify your settings, and enjoy seamless network performance.