What a static IP address is and why you might need one
A static IP address is one that stays the same every time your device connects to your network. Normally, your router hands out a temporary address that changes — sometimes daily, sometimes weekly. A static address locks yours in place so other devices can always find you at the same location.
You need this when something else on your network needs to reach your device reliably. A printer that only works when you tell it where to print. A security camera that streams to your phone. A computer you want to access remotely from work. A game console you're hosting a server on. If you've ever had to hunt down a device's IP address and it was different than last time, that's the problem static addressing solves.
There are two ways to assign a static IP: you can set it on the device itself, or you can tell your router to always give that device the same address. The router method is usually easier and works better, because the device doesn't have to remember anything — the router does the remembering.
Key Takeaways
- Static IP addresses stay the same so other devices can reliably find yours on the network.
- The easiest method is to reserve an address in your router's settings rather than configuring the device itself.
- You need your device's MAC address (a hardware identifier) before you can reserve an address in the router.
- After you reserve the address, restart your device so it picks up the new setting.
- If you set the address on the device instead, use an address your router won't hand out to anything else.
Finding your device's MAC address
Before you can reserve an address in your router, you need to identify your device. Every network device has a MAC address — a unique hardware identifier that looks like six pairs of numbers and letters, separated by colons or hyphens. Examples: 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E.
On Windows, open Command Prompt (search for "cmd" in the Start menu), type ipconfig /all, and press Enter. Look for the line that says "Physical Address" — that's your MAC address. On Mac, go to System Settings, click Network on the left, select your connection, then click Details. Look for "Wi-Fi Address" or "Ethernet Address" depending on how you're connected. On iPhone or iPad, go to Settings, tap General, then About — look for "Wi-Fi Address". On Android, go to Settings, About Phone, then Status or Network — look for "MAC Address" or "Wi-Fi MAC Address".
Write down or screenshot this address exactly as it appears. You'll paste it into your router settings in the next step.
Reserving an address in your router
Log into your router's settings by opening a web browser and typing your router's IP address — usually 192.168.1.1 or 192.168.0.1, though some routers use different addresses. If you're not sure, search the bottom or back of your router for a label that says "Default Gateway" or check your router's manual. You'll be asked for a username and password, usually printed on the router itself or in the manual.
Once you're logged in, look for a section called DHCP, DHCP Reservation, Reserved Addresses, Static DHCP, or Address Reservation — the exact name varies by router brand. Some routers put this under Advanced Settings or LAN Settings. Click into that section and look for a button to add a new reservation or a list of devices already on your network.
If you see a list of devices, find yours by name or MAC address and click the option to reserve it. If you see a form, enter your device's MAC address in the MAC Address field, then enter the IP address you want to assign in the IP Address field. Use an address in the same range as your other devices — if your router uses 192.168.1.x addresses, pick something like 192.168.1.50 or 192.168.1.100. Avoid addresses at the very beginning (like .1 or .2, which routers often use) or the very end of the range. Save the change and wait for the router to restart if it prompts you to.
Restart your device — turn it off completely and turn it back on. When it reconnects to the network, it should now have the static address you reserved.
Setting a static IP on the device itself (Windows)
If your router doesn't have a reservation feature or you prefer to configure the device directly, you can set the address on Windows. Right-click the network icon in the bottom right corner of your screen and select "Open Network & Internet settings". Click "Advanced network settings", then find your connection (Wi-Fi or Ethernet) and click it. Scroll down and click "Edit" next to IP settings.
Change the dropdown from "Automatic (DHCP)" to "Manual". Turn on the IPv4 toggle. In the IP address field, enter an address that doesn't conflict with anything else — use something like 192.168.1.200 if your router uses the 192.168.1.x range. In the Subnet mask field, enter 255.255.255.0. In the Gateway field, enter your router's IP address (usually 192.168.1.1). In the Preferred DNS field, enter 8.8.8.8 (Google's DNS) or 1.1.1.1 (Cloudflare's DNS). Click Save and restart your device.
Setting a static IP on the device itself (Mac)
On Mac, go to System Settings and click Network on the left side. Select your connection (Wi-Fi or Ethernet) and click Details. Click the TCP/IP tab. Change the "Configure IPv4" dropdown from "Automatic (DHCP)" to "Manual".
In the IP Address field, enter an address like 192.168.1.200. In the Subnet Mask field, enter 255.255.255.0. In the Router field, enter your router's address (usually 192.168.1.1). Click OK to save. You may need to disconnect and reconnect to your network for the change to take effect.
Troubleshooting when the static address doesn't stick
If your device keeps getting a different address than the one you set, the most common cause is that your router is handing out addresses from a range that overlaps with your static address. Log back into your router and look for DHCP settings — specifically the DHCP pool or DHCP range. This is the range of addresses your router automatically assigns. If your static address falls within that range, move it outside. For example, if the DHCP range is 192.168.1.100 to 192.168.1.254, set your device to 192.168.1.50 instead.
If you set the address on the device itself and it's still not working, restart both the device and the router. Power off the router completely, wait 30 seconds, and turn it back on. Then restart your device. If the problem persists, check that you entered the subnet mask and gateway correctly — a typo in either one will break the connection.
If you reserved the address in the router but the device still won't use it, try releasing the old address first. On Windows, open Command Prompt and type ipconfig /release, then ipconfig /renew. On Mac, go to System Settings, Network, and click "Renew DHCP Lease". Then restart the device.
When to use router reservation instead of device configuration
Reserving the address in your router is almost always the better choice. It works across all device types — Windows, Mac, iPhone, Android, printers, cameras — without needing to configure each one differently. If you ever replace the device, the old reservation just sits there unused. If you move the device to a different network, it won't try to use an address that doesn't belong there.
The only time you should set the address on the device itself is if your router genuinely doesn't support reservations, which is rare on modern equipment. Even older routers usually have this feature buried in an Advanced or LAN settings menu. If you're stuck with a very old router, setting it on the device works, but you'll have to reconfigure it if you ever move to a different network.
Frequently Asked Questions
What's the difference between a static IP and a reserved IP?
A reserved IP is set in your router and tells it to always give a specific device the same address. A static IP is set on the device itself and tells the device to always use a specific address. Reserved is easier because the router handles it; static requires you to configure each device. Both result in the same outcome — the device keeps the same address.
Can I use any IP address I want?
No. The address must be in the same range as your network. If your router uses 192.168.1.x, your static address must start with 192.168.1. It also can't conflict with your router's address or fall within the DHCP range your router hands out automatically. Addresses at the very beginning (like .1 or .2) and very end of the range are usually reserved, so pick something in the middle like .50 or .100.
Will a static IP slow down my network?
No. A static IP address has no effect on network speed. It only determines which address your device uses — it doesn't change how fast data moves.
What if I set a static IP and now my device can't connect to the internet?
You likely made a typo in the subnet mask or gateway address. Go back and check both fields against your router's settings. The subnet mask is almost always 255.255.255.0, and the gateway is almost always your router's IP address (usually 192.168.1.1). Fix any mistakes and restart the device.
Do I need a static IP for my phone or tablet?
Only if something else needs to reliably reach it — like a home automation system or a remote access app. For normal use, a dynamic address is fine. If you do need one, reserve it in your router rather than setting it on the phone itself.