Skip to content

This guide isn’t available in Nederlands yet, so we’re showing the original English version.

Windows

How to Switch from Dynamic to Static IP Address

The cleanest way to give a device a fixed local IP is a DHCP reservation in your router: the device keeps automatic settings but always gets the same address. You can also set a static IP manually in Windows, outside the router’s DHCP range.

Updated
Time
10 minutes
Difficulty
Medium
Applies to
Windows, Web

By Published Oct 6, 2026

Quick answer

  1. 1 Router method (recommended): DHCP settings > Address Reservation > choose the device > set an IP > save.
  2. 2 Windows method: Settings > Network & internet > [Wi-Fi/Ethernet] > Hardware properties > IP assignment > Edit > Manual.
  3. 3 Enter IP, subnet (255.255.255.0), gateway (router) and DNS.
  4. 4 Choose an IP outside the DHCP range to avoid conflicts.
On this page
  1. Before you start
  2. Local static IP vs public static IP
  3. Router: DHCP reservation (recommended)
  4. Windows: manual static IP
  5. Troubleshooting
  6. Frequently asked questions

Before you start

  • Access to your router or the device’s network settings

Local static IP vs public static IP

This guide is about your device’s local (private) IP inside your network. A static public IP (the address the internet sees) must be bought from your internet provider.

Phones and laptops may use private MAC addresses; set the device to use a fixed MAC for your network first.

Method 2 Windows: manual static IP

  1. Step 1: Check current settings

    Run ipconfig /all and note the subnet mask, default gateway and DNS.

  2. Step 2: Open IP settings

    Settings > Network & internet > Wi-Fi (or Ethernet) > Hardware properties > IP assignment > Edit.

  3. Step 3: Enter details

    Choose Manual, enable IPv4, and enter: IP address (outside the DHCP range), subnet mask 255.255.255.0 (or prefix length 24), gateway (router IP) and preferred DNS. Save.

Troubleshooting

No internet after setting a static IP

Check the gateway and DNS are correct and the IP is in the same subnet (e.g. 192.168.1.x).

“IP address conflict detected”

Another device has that address. Choose a different one or use a reservation.

Frequently asked questions

Why use a static IP?

For port forwarding, printers, NAS drives, servers and cameras that other devices need to find reliably.

Is a static IP more secure?

No. It’s about predictability, not security.

Summary

Use a DHCP reservation in your router for a fixed local IP, or set a manual IP in Windows outside the DHCP range with the right gateway and DNS.

Sources

Written by

James Chambo

Founder

James is the Founder and Senior Editor of OnlineHow with more than 20 years of experience in internet publishing.