1. Home
  2. /Glossary
  3. /Static IP addresses

What Is a Static IP Address?
Static vs Dynamic IP Explained

What makes an address static, how it differs from a dynamic one, when you actually need it, and what it does to geolocation accuracy.

Updated 24 August 20265 min read

Quick answer

A static IP address is a fixed IP address that never changes: it is manually assigned to a device or reserved for it, and it stays the same across restarts and reconnections. A dynamic IP address, the default for most homes and devices, is assigned automatically by DHCP and can change over time. Choose a static IP when other machines must reliably find yours: hosting a website or game server, running a file or email server, port forwarding, remote desktop access, or DNS servers. For everyday browsing, a dynamic IP is simpler, cheaper, and slightly more private.

Key takeaways

  • A static IP is permanent and manually assigned or reserved; a dynamic IP is assigned by DHCP and can change when you reconnect or your lease expires.
  • Static IPs are essential for anything other devices must reach reliably: web, email, file, and game servers, VPN endpoints, remote desktop, and DNS servers.
  • Most home users have dynamic IPs by default; ISPs typically charge extra for a public static IP, usually on business plans.
  • Inside your own network you can get static behavior for free with a DHCP reservation, which tells the router to always give one device the same local address.
  • Static and fixed-line IPs geolocate more accurately than dynamic mobile IPs; IPstack’s ip_routing_type and connection_type fields tell you how an IP connects, which matters for fraud checks and personalization.

Static vs dynamic IP at a glance

Static and dynamic addresses compared on the seven properties that decide which one you need.
Static IPDynamic IP
AssignmentManual, or reserved for the deviceAutomatic via DHCP
Changes over time?NoYes, on reconnect or lease expiry
Best forServers, hosting, remote access, DNSEveryday browsing and home use
CostOften an ISP add-on (business plans)Included by default
Setup effortManual configuration or reservationNone
PrivacyEasier to track over timeChanges make long-term tracking harder
Geolocation accuracyHigher and stableCan shift, especially on mobile networks

What is a static IP address, and how do you get one?

Static IPs are usually unnecessary for regular computers, where DHCP handles addressing automatically; they add manual overhead without benefit unless another device needs to reach yours.

To get a public static IP, request it from your ISP (typically a paid add-on, most common on business plans). To get a static address inside your own network for free, assign one manually in your device’s network settings or create a DHCP reservation in your router, as described below.

Setting a DHCP reservation

After logging in to your router’s admin page, find the DHCP or LAN settings, locate your device in the connected-devices list, and choose Reserve (or Add Reservation) to pin its current address. The device will now receive the same local IP every time it connects.

Why and how static IP addresses are used

A static IP works like a permanent street address: mail (in this case, network traffic) always knows where to go because the address never changes. A dynamic IP is closer to a hotel room number that gets reassigned to someone else after you check out — fine for a guest passing through, unworkable for a business that needs to be found at the same place every day.


That is why static IPs show up wherever something else has to initiate contact: a web, email, or file server that the public needs to reach, a VPN endpoint remote employees connect back to, a DNS server that other machines look up by address, or a security camera or remote-desktop session an administrator dials into from outside the network.

Port forwarding is the clearest everyday example. A router forwards incoming FTP requests on a given port to one specific machine on the local network — and that rule only keeps working if the target machine’s local IP never changes, which is exactly what a static address (or a DHCP reservation) guarantees.

Static IPs and geolocation: what developers should know

An IP’s stability affects how precisely it can be geolocated. Fixed-line static IPs (offices, servers, fiber and cable connections) map to a consistent location, while dynamic mobile IPs can shift across a carrier’s coverage area. IPstack exposes this directly: the ip_routing_type field reports whether an IP is fixed, mobile gateway, or behind a proxy, and connection_type reports the access technology. Combined with the security module’s proxy and VPN detection, this lets applications weight how much to trust an IP’s location, which matters for fraud screening, content licensing, and localization.

https://api.ipstack.com/134.201.250.155?access_key=YOUR_ACCESS_KEY
// relevant response fields:
// "ip_routing_type": "fixed",
// "connection_type": "cable",
// "security": { "is_proxy": false, ... }
Get a free API key

The free plan is 100 requests a month. The security module requires a plan that includes it.

Popular questions and prompts about static IP addresses

These are the highest-demand questions and prompt patterns people type into Google and AI assistants about static IPs right now.

“How do I know if my IP is static or dynamic?”

Check your public IP today (for example via IPstack or your router status page), then check again after restarting your router or in a few days. If it changed, it is dynamic, which is the default for most home connections. Business plans and server hosting are where static IPs are common; your ISP account details will state it explicitly.

“Should I use a static IP for gaming?”

A static local IP (via DHCP reservation) helps because port forwarding rules stay valid, which can improve NAT type and connectivity on consoles. A public static IP from your ISP is rarely necessary for gaming alone; reserve it for hosting dedicated servers.

“Is a static IP address safer than a dynamic one?”

Neither is inherently safer. A static IP is a stable target, so exposed services on it must be firewalled and patched; a dynamic IP changes, which slightly hinders long-term tracking but protects nothing by itself. Security comes from configuration, not the assignment method.

“Does a static IP cost money?”

Usually, yes, for a public static IP: most ISPs offer it as a paid add-on or bundle it with business plans, and pricing varies by provider. A static address inside your own network costs nothing; set it manually or with a router DHCP reservation.

Prompt: “Classify visitor IPs by connection stability”

A pattern that works well with AI coding assistants. Naming the exact response fields is the biggest quality lever.

In my [Node/Python] backend, look up each visitor’s IP with the IPstack API (key in an environment variable), read ip_routing_type, connection_type, and security.is_proxy, tag sessions as fixed, mobile, or proxy, and log the tag with country_code for our fraud-review dashboard.

FAQs

Any specific address can be static; what makes it static is that it is fixed. For instance, a small business might have its ISP assign 203.0.113.25 permanently to its office router so the company VPN and mail server are always reachable at that address.

Inside your own network, yes: assign a static address in your device settings or set a DHCP reservation in your router. A public static IP from your ISP is normally a paid feature.

No. Not changing is the definition of static. If your address changes after a restart, you have a dynamic IP; contact your ISP if you need a static one.

Generally yes. Fixed static IPs map to a stable location, so lookups return consistent, precise results, while mobile and proxy-routed IPs are less certain. IPstack reports the routing and connection type with each lookup so applications can judge location confidence.

Related guides

Judge how much to trust an IP's location

ipstack reports whether an IP is fixed, mobile or proxied, alongside its country, region and city. The free plan is 100 requests a month.