A static IP address stays the same every time your device connects, instead of changing like a dynamic one does
Your router normally assigns a new IP address to each device every time it connects — that's called dynamic assignment. A static IP address is one you set manually so it never changes. This matters for home networks because some devices need to stay at the same address: security cameras, printers, network storage, or a computer you want to reach from outside your home. If the address keeps changing, the other devices on your network can't find them reliably.
You set a static IP in two places: on the device itself, or in your router's settings. The router method is simpler and more reliable for most home setups, because it prevents conflicts — two devices can't accidentally get the same address. The device method works too, but requires you to remember the address and make sure it doesn't overlap with what your router assigns to other devices.
Key Takeaways
- Static IPs are most useful for devices that other things need to find — printers, cameras, network storage, or servers you access from outside your home.
- Setting the static IP in your router (called DHCP reservation) is safer than setting it on the device, because the router prevents address conflicts.
- You need your device's MAC address — a unique hardware identifier — to create a reservation in your router.
- After you set a static IP, restart the device so it picks up the new address and confirms it works.
- If you set a static IP on the device itself, choose an address outside your router's DHCP range to avoid conflicts.
Finding your device's MAC address
Every device has a MAC address — a unique identifier that your router uses to recognize it. You need this to create a static IP reservation in your router. The MAC address looks like six pairs of numbers and letters, separated by colons: something like A4:5E:60:E0:4F:08.
On Windows, open Command Prompt and type ipconfig /all, then look for "Physical Address" next to your network connection. On Mac, go to System Settings, click Network, select your connection, and look for "Wi-Fi Address" or "Ethernet Address" depending on how you're connected. On iPhone or iPad, go to Settings, tap Wi-Fi or Ethernet, tap the network name, and scroll down to "MAC Address". On Android, go to Settings, tap About Phone, then Status, and look for "Wi-Fi MAC address".
Write down the MAC address exactly as it appears — capitalization and punctuation matter to your router. If you're setting up multiple devices, get the MAC address for each one before you start.
Creating a DHCP reservation in your router
A DHCP reservation tells your router to always give the same IP address to a specific device. This is the safest way to set a static IP because your router keeps track and prevents conflicts. Open a web browser and type your router's IP address — usually 192.168.1.1 or 192.168.0.1 — then log in with your router's username and password.
Look for a section called DHCP, DHCP Reservation, Reserved IPs, Static IP, or Address Reservation — the exact name varies by router brand. You'll see a form asking for the device's MAC address and the IP address you want to assign. Enter the MAC address you found earlier, then choose an IP address in the same range as your other devices — usually something like 192.168.1.100 through 192.168.1.200. Avoid the first few addresses (like .1 through .10) because your router uses those for itself.
Save the reservation, then restart your device. When it reconnects to the network, it will get the static IP you assigned. You can verify it worked by checking the device's network settings or by looking at your router's connected devices list.
Setting a static IP directly on the device
If your router doesn't have a reservation feature, or if you prefer to set the address on the device itself, you can do that too. The steps vary by operating system, but the principle is the same: you manually enter an IP address, subnet mask, and gateway instead of letting the router assign them.
On Windows, go to Settings, click Network & Internet, select your connection, scroll down to IP Settings, and click Edit. Change from Automatic to Manual, toggle on IPv4, then enter your static IP address, subnet mask (usually 255.255.255.0), and gateway (usually your router's address, like 192.168.1.1). On Mac, go to System Settings, click Network, select your connection, click Details, go to the TCP/IP tab, and change Configure IPv4 from Automatic to Manual.
The critical step is choosing an address that won't conflict with what your router assigns to other devices. Check your router's DHCP settings to see what range it uses — often 192.168.1.100 to 192.168.1.254 — then pick an address outside that range, like 192.168.1.50. If you're not sure, pick something in the 192.168.1.200 to 192.168.1.254 range, which is usually safe.
Avoiding IP address conflicts
An IP conflict happens when two devices on the same network have the same address. If you set a static IP on the device itself, this is the main risk. Your router might assign that same address to another device, or you might accidentally set two devices to the same address. The device with the conflict usually loses network access, or both devices behave unpredictably.
The easiest way to avoid this is to use your router's DHCP reservation feature instead of setting the address on the device. If you do set it on the device, write down which addresses you've used and check your router's DHCP range before you pick a new one. If you ever see a device suddenly lose network access after setting a static IP, the first thing to check is whether another device got assigned the same address.
Testing your static IP and troubleshooting
After you set a static IP, restart the device completely — don't just disconnect and reconnect to the network. Then check that it has the address you assigned. On Windows, open Command Prompt and type ipconfig. On Mac, go to System Settings and look at the network details. On a phone, go to Settings and check the network information. The IP address shown should match what you set.
If the device doesn't have the static IP you assigned, restart your router as well as the device. Wait a minute for the router to fully boot, then check again. If it still doesn't work, go back into your router's settings and verify that you entered the MAC address correctly — even one wrong character will cause the reservation to fail.
If you set the static IP on the device itself and it's not working, check that the address is actually outside your router's DHCP range. Log into your router and look at the DHCP settings to confirm. If the address you chose is inside the range, pick a different one and update the device's network settings.
When to use a static IP and when not to
Use a static IP for devices that other things need to find reliably: a printer that computers print to, a security camera you want to access by address, a network-attached storage device, or a home server. These devices benefit from staying at the same address because you can configure other devices to reach them without worrying about the address changing.
Don't use static IPs for devices that move around or connect temporarily — phones, laptops, tablets, or guest devices. These devices work fine with dynamic IPs, and static IPs on mobile devices can cause problems when they move between networks. Stick to static IPs for devices that stay in one place and need to be found by other devices on your network.
Frequently Asked Questions
What's the difference between a static IP and a DHCP reservation?
A DHCP reservation is set in your router and tells it to always give the same address to a specific device. A static IP is set on the device itself and tells it to always use a specific address. Reservations are safer because your router prevents conflicts. Static IPs on the device are more portable — the device keeps the same address even if you move it to a different network.
Can I use a static IP outside my home network?
A static IP address only works on your local home network. If you want to reach a device from outside your home, you need to set up port forwarding in your router or use a service like a remote access app. The static IP ensures the device stays at the same address on your network, but reaching it from outside requires additional setup.
What happens if I set two devices to the same static IP?
Both devices will have network problems — usually one or both will lose connectivity, or they'll behave unpredictably. If this happens, change one of the addresses when ready. Using your router's DHCP reservation feature prevents this because the router won't let you assign the same address twice.
Do I need a static IP for my Wi-Fi printer?
Yes, a static IP makes your printer much more reliable. If the printer's address keeps changing, computers might not find it or might print to the wrong device. Set a DHCP reservation in your router for your printer's MAC address, then configure your computers to print to that address.
Can I change a static IP address later?
Yes, you can change it anytime. If you set it in your router, just edit the reservation and pick a new address. If you set it on the device, go back into the network settings and change it. Any devices that were configured to reach the old address will need to be updated to use the new one.