What a static IP address does and why you need one
A static IP address is one that stays the same every time your device connects to your network. Your router normally assigns addresses automatically — it gives your phone one number today and a different one tomorrow. A static address locks a device to a single number so other devices can always find it in the same place.
You need static addresses for devices that other things depend on. A printer, a network storage drive, a security camera, or a home automation hub should have the same address every time. If your printer's address changes, your computer won't know where to send print jobs. If your camera's address changes, your phone app won't find it. Static addresses solve that problem.
You do not need static addresses for phones, laptops, or tablets — they move around and don't need to be found by other devices. You also do not need them for devices that only talk outward, like a smart speaker that only sends requests to the internet.
Key Takeaways
- Set static addresses only for devices other things depend on finding — printers, cameras, storage drives, and home automation hubs.
- You can assign a static address either on the device itself or by reserving an address in your router, and the router method is simpler and more reliable.
- A static address must fall within your router's DHCP range but not conflict with addresses your router might assign automatically.
- After you set a static address, restart the device and check that it appears in your router's connected devices list with the address you chose.
Assigning a static address through your router (the easier method)
Most home routers let you reserve an address for a specific device without touching the device itself. This is called DHCP reservation or address reservation. You log into your router's settings, find the device you want to lock down, and tell the router "always give this device this address." The device never knows it happened — it asks for an address the normal way, and the router always hands it the same one.
To do this, open a web browser and go to your router's address. For most routers this is 192.168.1.1 or 192.168.0.1. You will see a login screen. If you have never changed it, the username is usually "admin" and the password is on a sticker on the router itself. Once you are logged in, look for a section called DHCP, Reserved Addresses, Address Reservation, or Static DHCP.
Find the device you want to lock down in the list of connected devices. You will see its current address and its MAC address — a unique identifier that looks like six pairs of numbers and letters separated by colons, like "AA:BB:CC:DD:EE:FF". Select that device and choose the address you want to assign it. Pick a number in the range your router uses but higher than the ones it assigns automatically — if your router assigns addresses from 192.168.1.100 to 192.168.1.200, pick something like 192.168.1.220. Save the setting and restart the device.
Setting a static address directly on the device
If your router does not support address reservation, or if you prefer to set the address on the device itself, you can do that too. The steps differ depending on whether the device runs Windows, Mac, Linux, iOS, or Android, but the principle is the same: you go into network settings, find the connection to your home network, and switch from automatic addressing to manual.
On a Windows computer, go to Settings > Network & Internet > WiFi (or Ethernet if you are plugged in) > Manage Known Networks > Your Network Name > Edit. Under IP Assignment, change from Automatic to Manual, turn on IPv4, and enter the static address you chose, the subnet mask (usually 255.255.255.0), and the gateway address (usually your router's address, like 192.168.1.1). On a Mac, go to System Settings > Network > WiFi (or Ethernet) > Details > TCP/IP and change Configure IPv4 from Automatic to Manual, then enter the same information.
On an iPhone or iPad, go to Settings > WiFi > Your Network Name > Configure IP and choose Manual. On Android, go to Settings > Network & Internet > WiFi > Your Network Name > Edit > Advanced > IP Settings and change from DHCP to Static. In all cases, you will need to enter the IP address, subnet mask, and gateway. Restart the device after you save.
Choosing an address that will not conflict
Your router has a range of addresses it assigns automatically — this is called the DHCP pool. If you set a static address inside that range, the router might try to assign the same address to another device, and you will have a conflict. To avoid this, you need to know where your DHCP pool starts and ends.
Log into your router and find the DHCP settings. You will see a range like "Start: 192.168.1.100, End: 192.168.1.200." Pick a static address outside that range. If the pool ends at 192.168.1.200, use 192.168.1.210 or higher. If the pool starts at 192.168.1.100, use 192.168.1.50 or lower. Make sure the first three numbers match your router's address — if your router is 192.168.1.1, your static addresses should start with 192.168.1.
Write down the address you choose and the device it belongs to. Keep this list somewhere you can find it later — when you are troubleshooting a network problem or setting up a new device, you will need to know which addresses are already taken.
Verifying the address was set correctly
After you assign a static address and restart the device, check that it actually took. Log back into your router and look at the connected devices list. Find the device you just configured and confirm that it shows the address you chose. If it shows a different address, the setting did not stick — go back and try again, or check that you entered the address in the right format.
On the device itself, you can also check the address directly. On Windows, open Command Prompt and type "ipconfig" — look for the IPv4 Address line. On Mac, go to System Settings > Network > WiFi (or Ethernet) > Details > TCP/IP and look at the IP Address field. On iPhone, go to Settings > WiFi > Your Network Name and look at the IP Address line. On Android, go to Settings > Network & Internet > WiFi > Your Network Name > Advanced and look at IP Address. All of these should show the address you set.
What to do if the address keeps changing
If you set a static address on the device itself but it keeps changing back to a different number, your router's DHCP is overriding it. This happens when the device asks for an automatic address and the router hands it one. The solution is to use DHCP reservation in your router instead — that way the router always gives the device the same address, even if the device is asking for automatic assignment.
If you set a DHCP reservation but the device still shows a different address, check that you used the correct MAC address. The MAC address is case-sensitive in some routers, and a single wrong character will cause the reservation to fail. Go back into the router settings, delete the reservation, and create it again, copying the MAC address directly from the connected devices list instead of typing it by hand.
Static addresses for devices that connect by ethernet cable
Devices plugged directly into your router with an ethernet cable work the same way as WiFi devices. You can set a static address on the device or reserve an address in the router. The steps are identical — the only difference is that you will see the device listed under Ethernet or Wired in your router's connected devices, not under WiFi.
Ethernet devices are actually the best candidates for static addresses, because they never move and they are usually the ones other devices depend on — network printers, storage drives, and security systems are often plugged in. If you have a device that will stay in one place and other devices need to find it, use ethernet and give it a static address.
Frequently Asked Questions
Can I use any address I want, or does it have to be in a certain range?
It has to be in your home network's range. If your router is 192.168.1.1, all your devices must start with 192.168.1. The last number can be anything from 1 to 254, but avoid numbers your router might assign automatically — check your DHCP pool first and pick a number outside that range.
What is the subnet mask and why do I need it?
The subnet mask tells your device which other devices are on the same network. For a home network, it is almost always 255.255.255.0. If you enter a different number, your device might not be able to talk to other devices on your network. Use 255.255.255.0 unless your router specifically tells you otherwise.
If I set a static address on my device, will it work on other networks?
No. A static address is tied to a specific network. If you take a laptop with a static address of 192.168.1.50 to a coffee shop, it will not work because the coffee shop's network uses a different range. The device will not connect. You can change the address manually when you move, or set it back to automatic and let each network assign an address.
Do I need a static address for my WiFi router itself?
No. Your router's address is already static — it does not change. When you log in at 192.168.1.1, that address never moves. You only need to set static addresses for the devices that connect to the router.
What happens if two devices end up with the same static address?
Both devices will have network problems — they will not be able to send or receive data reliably. This is called an IP conflict. If this happens, log into your router, find the conflicting address, and change one of the devices to a different number. Then restart both devices. This is why using DHCP reservation in the router is safer than setting addresses on devices — the router prevents conflicts automatically.