Home Guides IP IntelligenceStatic vs Dynamic IP Address: Key Differences
IP Intelligence11 minUpdated 2026-07-11

Static vs Dynamic IP Address: Key Differences

A static IP address never changes once it's assigned to your connection or device. A dynamic IP address is handed out by your router or ISP from a shared pool and can change the next time you reconnect. Most home and mobile connections default to dynamic — static is something you request, configure, or pay extra for, and only a specific set of use cases actually need it.

Comparison at a Glance

AttributeStatic IPDynamic IP
Assignment methodManually configured or reserved by ISPAutomatically leased via DHCP
Changes over timeNever, until manually reconfiguredCan change on reboot, reconnect, or lease expiry
Typical costExtra monthly fee from most ISPsIncluded in standard plans
Setup complexityManual network configurationAutomatic, zero configuration
Best forHome servers, VPN endpoints, VoIP, remote accessEveryday browsing, streaming, gaming, mobile devices
Security exposureFixed target, needs firewall disciplineRotates, harder to track long-term
DNS compatibilityWorks directly with A recordsRequires Dynamic DNS (DDNS) to stay reachable

A static IP trades convenience for consistency — you pay for an address that never moves so that anything pointing at it (a DNS record, a firewall rule, a VPN client) keeps working without updates.

What Is a Static IP Address?

A static IP address is an address that's manually assigned to a device or connection and stays the same indefinitely — through reboots, reconnections, and months or years of use. Your ISP either reserves a specific address for your account or you configure it directly on a device's network interface instead of letting DHCP assign one automatically.

Static IPs matter most when something external needs to find your connection reliably. If you're running a mail server, a self-hosted website, a VPN endpoint, or a security camera system with remote access, a fixed address means you can point a DNS A record at it once and never touch it again. VoIP providers and some remote-desktop setups also expect a stable address to avoid dropped registrations.

The tradeoff is cost and exposure. Most residential ISPs charge a monthly fee for a static IP — usually bundled into business-tier plans — because it requires the ISP to permanently carve an address out of their pool instead of reusing it across customers. A fixed address is also a fixed target: since it never rotates, anyone scanning for open services on your address has more time to find them, which is why a static IP setup should always sit behind a firewall with only the specific ports you need forwarded. Check your exposure with a port scanner before and after any static IP setup.

What Is a Dynamic IP Address?

A dynamic IP address is temporarily leased to your device from a pool of available addresses, typically by your ISP's DHCP server or your home router. It's the default for essentially all consumer internet connections — cable, fiber, DSL, and mobile — because it lets the ISP reuse a limited pool of addresses across far more customers than they have addresses for.

Your dynamic IP can change under a few common conditions: rebooting your modem or router, an extended disconnection, the DHCP lease reaching its expiry, or routine ISP-side maintenance that reassigns pools. Some connections hold the same dynamic address for weeks or months if the modem stays powered on continuously — "dynamic" describes how it's assigned, not how often it actually changes in practice.

For most users this is a non-issue. Browsing, streaming, and gaming don't care what your address is from one session to the next. The one place it causes friction is self-hosting anything reachable from outside your network — a home server, a personal NAS, a game server — because every time the address changes, anything pointing at the old one breaks. Dynamic DNS (DDNS) services solve this by automatically updating a hostname to follow your current address, but that's an extra moving part a static IP doesn't need.

How DHCP Assigns a Dynamic IP

Dynamic IP assignment runs on the Dynamic Host Configuration Protocol, defined in RFC 2131. <!-- verified: 2026-07-11 | source: https://datatracker.ietf.org/doc/html/rfc2131 --> The handshake is a four-step exchange known as DORA:

Code
1. DISCOVER  — client broadcasts a request for an address
2. OFFER     — DHCP server responds with an available address + lease terms
3. REQUEST   — client formally requests that specific offered address
4. ACK       — server confirms the lease and hands over config (IP, subnet mask, gateway, DNS)

Per RFC 2131 §4.4, the client also tracks two renewal timers relative to the lease duration: T1, at 50% of the lease time, when it first attempts silent renewal with the original server; and T2, at 87.5% of the lease time, when it broadcasts to any DHCP server if renewal has failed. If neither renewal succeeds before the lease fully expires, the client drops the address and restarts DISCOVER from scratch — which is the point where a dynamic IP is most likely to actually change, since a fresh DISCOVER can be answered with any address in the pool, not necessarily the one you had.

If a device can't reach a DHCP server at all — a router misconfiguration, a downed switch — it falls back to Automatic Private IP Addressing (APIPA), self-assigning an address in the 169.254.0.0/16 range per RFC 3927. Seeing a 169.254.x.x address means DHCP failed, not that you have a dynamic IP.

Key Differences Explained

Permanence. Static means fixed until someone manually changes it. Dynamic means leased and subject to change at any renewal or reconnect event — the address itself is never guaranteed to be the same twice.

Who assigns it. A static IP is set once, either by your ISP reserving it for your account or by manual configuration on the device's network settings. A dynamic IP is assigned automatically every time by a DHCP server, with zero manual input required.

Cost. Static IPs typically carry a recurring fee because the ISP permanently allocates an address that can't be reused elsewhere. Dynamic IPs are included with virtually every consumer plan since the pool is shared and reclaimed constantly.

Reachability from outside your network. A static IP lets you point a DNS record or a bookmark directly at your connection and know it will still resolve next month. A dynamic IP requires Dynamic DNS if you need the same reliability, since the underlying address itself isn't a stable reference point.

Security posture. A static IP is a consistent target — the same address is visible to scanners and log analysis indefinitely, so any exposed service needs ongoing firewall discipline. A dynamic IP's rotation adds a small amount of natural obscurity, though it's not a substitute for actual security controls.

When to Use Which

Choose a static IP if you're:

  • Self-hosting a website, mail server, or game server that needs a permanent address for DNS
  • Running a VPN endpoint or site-to-site tunnel that expects a fixed peer address
  • Operating VoIP equipment or a PBX that requires stable registration
  • Providing remote access to security cameras, NAS devices, or building systems

Choose (or simply keep) a dynamic IP if you're:

  • Using a standard home or mobile connection for browsing, streaming, and gaming
  • Not hosting any service that needs to be reachable from outside your network
  • Trying to avoid the added monthly cost most ISPs charge for a static address
  • Fine with using Dynamic DNS as a middle ground for the rare case you do need remote access

Dynamic DNS is worth calling out specifically: it gets you most of the practical benefit of a static IP — a stable hostname to connect to — without the fee, by having a small client on your router or device update a DNS record whenever your dynamic address changes.

How to Check If Your IP Is Static or Dynamic

There's no single command that labels an address "static" or "dynamic" — that's a property of how your ISP assigned it, not something encoded in the address itself. Three practical checks:

  1. Check your ISP account or contract. Static IP is a paid add-on almost everywhere, so if you never requested or paid for one, you almost certainly have a dynamic address.

  2. Compare your public IP over time. Note your current address with the What Is My IP tool, reboot your modem (power off 30+ seconds), then check again. A different address confirms dynamic; an unchanged address after a full modem reboot is a strong (not absolute) signal of static.

  3. Look up your router's DHCP client status. Most router admin panels (usually at the gateway IP address) show whether the WAN connection is using "DHCP" or "Static" under the internet/WAN settings page — this is the most direct answer if you have access to the router.

Code
# Linux/macOS — check DHCP lease details for your interface
ip addr show eth0        # look for "dynamic" flag next to the inet line, Linux
ipconfig /all            # Windows — shows "DHCP Enabled: Yes/No" per adapter

Run an IP lookup alongside this to see how your address resolves in WHOIS and geolocation databases — dynamic residential IPs are almost always registered to the ISP, not to you.

Common Issues

Problem: Remote access stopped working after a router reboot. Cause: your dynamic IP changed, and whatever you were using to connect (a bookmarked address, a manual port-forward rule pointing at the old IP) is now stale. Fix: switch to a Dynamic DNS hostname, or upgrade to a static IP if the service needs to be reachable 24/7 without maintenance.

Problem: Static IP configured but device shows no internet access. Cause: a typo in the manually entered subnet mask, gateway, or DNS server — static configuration has no DHCP server to correct mistakes for you. Fix: recheck each field against your ISP's provisioning details; verify the subnet with a subnet calculator to confirm the mask matches your assigned range.

Problem: Can't tell why the "same" IP address keeps showing up after every reboot. Cause: many ISPs issue long DHCP lease times (days or weeks), so a dynamic IP can appear stable for a long stretch without actually being static. Fix: this isn't a bug — it's just a long lease. Confirm the assignment type directly with your ISP or router WAN settings rather than assuming from observed stability alone.

Problem: 169.254.x.x address instead of a normal IP. Cause: DHCP failed entirely and the device self-assigned an APIPA address per RFC 3927 — this is neither static nor a normal dynamic lease. Fix: check the physical connection to your router or switch, then verify the DHCP server (usually the router) is powered on and reachable.

Key Takeaways

  • ✓ Static IP = fixed indefinitely; dynamic IP = leased via DHCP (RFC 2131) and can change on renewal failure.
  • ✓ DHCP renewal follows T1 (50% of lease) and T2 (87.5% of lease) timers before the lease fully expires.
  • ✓ Static IPs typically cost extra and require manual configuration; dynamic IPs are free and automatic.
  • ✓ A 169.254.x.x address means DHCP failed (APIPA/RFC 3927), not that you have a static IP.
  • ✓ Dynamic DNS bridges the gap — a stable hostname over a changing address — for anyone who doesn't want to pay for static.

Frequently Asked Questions

Q: Is a static IP address more secure than a dynamic one?

Not inherently. A static IP is a consistent target for scanners over time, while a dynamic IP's rotation adds mild obscurity. Neither replaces a firewall — security depends on what ports and services you expose, not on whether the address changes.

Q: Does my home internet use a static or dynamic IP by default?

Nearly all residential ISP plans assign dynamic IPs via DHCP by default. Static IPs are an opt-in add-on, usually available only on business-tier plans or for an extra monthly fee.

Q: Will my dynamic IP change every time I restart my router?

Not necessarily. It changes only if the DHCP server assigns a different address on renewal, which depends on your lease length and whether your previous address is still reserved for you. Long lease times can make a dynamic IP appear stable for weeks.

Q: Do I need a static IP for gaming?

No. Online gaming works fine on a dynamic IP. A static IP only matters if you're hosting a dedicated game server that other players need to connect to reliably over time.

Q: How do I get a static IP address?

Contact your ISP and request a static IP add-on — most charge a monthly fee and may require a business-class plan. Alternatively, use Dynamic DNS for most of the same practical benefit without the cost.

Q: Can two devices have the same dynamic IP address at the same time?

No. DHCP leases are exclusive — the server won't hand out an address that's currently leased to another active client. Address reuse only happens after a lease expires and isn't renewed.

Q: What's the difference between a public and private static/dynamic IP?

Public IPs (assigned by your ISP) and private IPs (assigned by your router to devices on your LAN, typically 192.168.x.x) can each independently be static or dynamic — a device can have a static private IP on your home network while your ISP-facing public IP stays dynamic.

Next Steps

Confirm your current public address with the What Is My IP tool, then cross-check its registration details with an IP lookup to see whether it's registered to your ISP (a strong sign of dynamic) or reserved specifically to your account. If you're planning a static IP setup behind a router, verify your subnet boundaries with the subnet calculator and confirm no unintended ports are exposed with the port scanner before you rely on it for remote access. For related reading, see how to find your router's IP address, how IP geolocation actually works, what your IP address reveals about you, and how ASN and IP block ownership work.

Free Newsletter

Get guides like this by email

DNS, email auth, and security playbooks delivered when they publish. No spam.