Static IP Address on Windows (Local Network)
This guide explains how to configure a static IP address on Windows so the computer always uses the same IP address inside the local network (LAN).
A static IP provides predictable and stable local networking.
It does not affect internet connectivity, VPN addresses, or public IPs.
Supported systems
- Windows 10
- Windows 11
Applies to both:
- Ethernet connections
- Wi-Fi connections
Important notice
Configuring a static IP changes how the computer connects to the local network.
Incorrect values may cause:
- Loss of local network connectivity
- Loss of internet access
- Inability to reach other devices on the LAN
Before continuing, make sure you know your current network information.
Required network information
Before configuring a static IP, you must know:
- Current local IP address
- Subnet mask
- Default gateway (router IP)
- DNS server addresses
- One free IP address in the same network range
If you do not know these values, follow this guide first:
→ How to find network information on Windows
Do not continue until you have this information.
Choosing a static IP address
The static IP you choose must:
- Be in the same subnet as the router
- Not be used by another device
- Preferably be outside the router’s DHCP range
Example network:
- Router IP:
192.168.1.1 - Subnet mask:
255.255.255.0 - Valid static IP:
192.168.1.50
Avoid using:
- The router IP itself
- IPs already assigned to other devices
Configure a static IP on Windows
Static IP configuration is done through the network adapter settings.
Open network adapter settings
- Open Settings
- Go to Network & Internet
- Select Advanced network settings
- Open More network adapter options
This will open the classic network adapters window.
Open adapter properties
- Right-click the active network adapter:
- Ethernet (wired connection)
- Wi-Fi (wireless connection)
- Select Properties
- Select Internet Protocol Version 4 (TCP/IPv4)
- Click Properties
Set the static IP configuration
Select Use the following IP address and enter:
-
IP address
The static IP you chose (example:192.168.1.50) -
Subnet mask
Same as your current configuration (example:255.255.255.0) -
Default gateway
Router IP address (example:192.168.1.1)
Then select Use the following DNS server addresses and enter:
-
Preferred DNS server
Router IP or a public DNS server -
Alternate DNS server
Optional
Common public DNS servers:
1.1.1.18.8.8.8
Apply the changes.
Apply and restart the connection
After saving the configuration:
- Disable and re-enable the network adapter
or - Restart the computer
This ensures the new IP configuration is applied correctly.
Common problems
No internet connection
- Verify the default gateway value
- Ensure DNS servers are reachable
- Check that the IP is within the correct subnet
IP address conflict
- Another device may already be using the same IP
- Choose a different unused IP and apply again