A static IP address gives a device a consistent address on your local network, which can make it easier to reach a printer, storage device, or other equipment. You can usually set one on the device itself or reserve an address for it in your router; a router reservation is often the simpler choice for home networks.
Before changing anything, check whether you need a local address that stays the same or a fixed public address for access from outside your home. These are different: the steps below cover a fixed local address, used between devices on the same network. Your router’s menus and device settings vary, so consult their official help information if a label or option differs.
What You’ll Need
- Access to the device’s network settings, or the ability to sign in to your router’s administration page or app.
- The network name and password if the device is not already connected.
- Your router’s local address and its DHCP address range, if you plan to enter a static address on the device. DHCP is the service that automatically assigns addresses to devices.
- The device’s current IP address and hardware address, sometimes called a MAC address, if you plan to create a router reservation.
- Permission to change network settings. On a managed work, school, or shared network, ask the administrator instead of making an unapproved change.
Step-by-Step
- Choose how to keep the address consistent. A router reservation tells the router to give a particular device the same address whenever it connects. The device can remain set to obtain its network settings automatically. This is usually the best option when you control the router. A manually configured static address is set directly on the device and can be useful when the router does not support reservations, but you must enter the network details correctly.
- Check what the device is using now. Connect it to the intended Wi-Fi network or wired connection. Open its network status or connection details and note the current IPv4 address, subnet mask or prefix, default gateway, and DNS servers if shown. The default gateway is generally the router’s local address. These details provide a reference, but do not assume the current address is safe to make permanent; it may be assigned temporarily by DHCP.
- Sign in to the router’s settings, if using a reservation. Open the router’s administration interface using the method provided with the router. Find a section with a name such as DHCP, address reservation, or connected devices. Menu names differ by model. If you cannot find the setting, check the router’s official documentation rather than changing unrelated network options.
- Identify the correct device. Router device lists may show a device name, connection type, current address, or hardware address. Match more than one detail where possible. Phones and other devices may use a private or randomized hardware address for each Wi-Fi network. If the router reservation is tied to a hardware address, use the address the device currently presents for that network; changing its privacy setting later may make the reservation stop matching.
- Pick an address that will not conflict. For a router reservation, choose an available address within the range the router allows for reservations. The router may enforce this automatically. For manual setup, check the router’s DHCP pool and its instructions. Use an address outside the automatically assigned range only when the router’s configuration and documentation support that choice. Never choose an address already assigned to another device, and do not copy an address from a different network.
- Create and save the reservation, if using one. Select the device or enter its hardware address, assign the chosen local IP address, and save the change. Some routers apply it immediately; others require the device to reconnect. Disconnect and reconnect the device to the network, or renew its connection using the device’s normal network controls. Then check that it received the reserved address.
- Open the device’s IP configuration for a manual address. In the settings for the specific Wi-Fi network or Ethernet connection, change IPv4 from automatic or DHCP to manual or static. Some systems provide separate fields for the address, prefix length or subnet mask, gateway, and DNS. Make the change only for the network you intend; a setting for one Wi-Fi network may not apply to another.
- Enter the local network details carefully. Set the IP address to the unused address you selected. Enter the subnet mask or prefix and default gateway that match this network, using the values confirmed from the router or current connection details. For DNS, use the DNS settings recommended by the network administrator or router. If the interface offers an automatic DNS option and you do not need custom DNS, leave DNS automatic where supported.
- Save the manual configuration and reconnect. Apply the settings, then disconnect and reconnect to Wi-Fi or unplug and reconnect Ethernet if needed. The device may briefly lose network access while the settings change. If it does not reconnect, restore automatic IP settings before trying again, then verify the address and network details with the router’s documentation.
- Test local access and internet access. Confirm that the device shows the intended address and that it can reach the router and the internet. From another device on the same local network, try the intended use, such as opening a shared device or reaching a printer. A static local IP alone does not make a device reachable from the public internet; remote access requires separate, carefully configured networking and security settings.
Common Mistakes
Choosing an address that another device already uses: This creates an IP conflict. Symptoms can include intermittent access, warnings, or one device losing its connection. Check the router’s connected-device list and reservation settings before selecting an address.
Putting a manual address inside the DHCP pool without coordination: The router may later assign that same address to another device. Use a reservation, or follow the router’s instructions for excluding an address from automatic assignment.
Entering the wrong gateway, subnet, or prefix: A device might appear connected to Wi-Fi but fail to reach other local devices or the internet. Copy the settings for the correct network, not a remembered value from another location.
Confusing a local static address with a public static address: A local address works within the home or organization’s network. A public address is assigned on the internet-facing connection and is controlled by the internet provider or network administrator. Changing a device’s local settings does not fix a changing public address.
Using an address from the wrong connection: Wi-Fi and Ethernet, or separate Wi-Fi networks, may have different address ranges. A configuration that works on one may fail on another. Keep each manual configuration tied to the network for which it was chosen.
Forgetting that device privacy settings can change its hardware address: A router reservation may depend on that address. If the device uses a different private address for the network, update the reservation to match or use another supported approach.
Tips
- Prefer a router reservation when you want a dependable local address but do not want to maintain manual settings on the device.
- Write down the device, reserved address, and reason for the reservation. This makes later network changes easier to understand.
- Change one setting at a time and test the connection before changing additional devices.
- Use a device’s automatic or DHCP setting when it does not need a stable local address. Most phones and ordinary client devices do not need manually assigned addresses.
- On a work, campus, or shared network, follow the administrator’s instructions. Network policies may prevent users from assigning addresses themselves.
- Keep router administration credentials private and use the router’s own security guidance. A fixed address is not a security measure and does not replace access controls or software updates.
Troubleshooting
The device says the address is unavailable or there is a conflict. Another device may already be using it, or a reservation may point to the wrong hardware address. Remove the conflicting manual setting, restore automatic addressing if necessary, inspect the router’s device list, and select an address the router confirms is available.
The device connects to Wi-Fi but cannot reach the internet. Check that the address belongs to the current network and that the subnet and gateway match the router. Confirm DNS settings as well. If uncertain, switch the device back to automatic IP and DNS, reconnect, and compare the working details before trying again.
The reservation does not take effect. Confirm that it is enabled and attached to the correct device identifier. Reconnect the device so it requests an address again. If the device has a private or randomized hardware address, check that the router reservation matches the address it is using for that Wi-Fi network.
A manual address works at home but not elsewhere. That is expected if the other network uses a different address range, gateway, or DNS setup. Restore automatic addressing before joining other networks, or use the device’s per-network settings if it supports them.
You cannot open the router settings. Make sure you are connected to that router’s network and use the access method documented for its model. If it is managed by a landlord, school, employer, or internet provider, contact the responsible administrator rather than attempting to bypass access controls.
The device has no internet even after correcting the settings. Restore automatic addressing to determine whether the original connection returns. If it does, the manual configuration is likely incorrect or conflicts with router rules. If automatic settings also fail, restart the device and router only if permitted, then check for a wider service or network problem with the administrator or provider.
Frequently Asked Questions
Is a static IP the same as a DHCP reservation?
A manual static IP is entered on the device. A DHCP reservation is configured on the router, which assigns a consistent address to a particular device while the device usually remains set to automatic addressing. Both can keep a local address consistent, but they are configured in different places.
Which method should I use at home?
If your router supports it and you can administer it, a reservation is often easier to manage and less likely to conflict with automatic assignments. Use a manual address when there is a clear need and you can confirm the correct network settings.
Does a static IP make my device safer?
No. A stable address can make a device easier to find on a local network, but it does not by itself block unwanted access or protect data. Use appropriate passwords, device updates, and the security controls recommended for your network.
Will the same static address work on every Wi-Fi network?
Usually not. Networks can use different address ranges and gateways. A manual setting for one network may prevent a device from connecting elsewhere; use automatic addressing or separate settings for each network.
Can I set a static IP for a printer or storage device?
Yes, if the device and router allow it. A router reservation is often convenient because other devices can keep finding it at the same local address. Follow the device and router instructions and check that the address is not already in use.
Do I need a public static IP to connect from outside my home?
Not necessarily, and a local static address alone will not provide outside access. Remote access depends on the router, internet service, the device, and security configuration. Check the official guidance for those systems and avoid exposing services publicly unless you understand and can maintain the risks.