IPdidi
English

Static vs dynamic IP address

A static IP never changes, a dynamic one changes from time to time. Here's how to tell which you have, and whether you need a static one.

The difference in one sentence

A static IP is assigned to you permanently and stays the same, while a dynamic IP is lent to you from a pool and can change whenever you reconnect or the lease runs out. Both work the same way for browsing; the difference only matters when someone needs to reach you, or recognize you, at a fixed address.

If you're new to IP addresses, start with what an IP address is.

Static vs dynamic at a glance

Static IPDynamic IP
ChangesNever, unless you or your provider change itOn reconnect, router restart or after hours to weeks
Assigned bySet manually or reserved by the providerDHCP, automatically
Typical usersBusinesses, servers, remote officesAlmost all home and mobile customers
CostOften an extra monthly feeIncluded
Hosting a serverEasyNeeds dynamic DNS
PrivacySame address follows you everywhereChanges over time, a little harder to track

How dynamic IPs work

Your provider has a pool of addresses. When your router connects, it asks for one using DHCP (or PPPoE on many DSL and fiber lines) and gets a lease for a certain time. When the lease ends, or the router reconnects, it may get the same address again or a new one. Mobile networks change addresses even more often, and many put customers behind carrier-grade NAT, where many users share one public IP.

Pros and cons of a static IP

Reasons to get one:

Downsides:

How to tell which one you have

  1. Note your public IP on the My IP page.
  2. Restart your router, or check again after a few days.
  3. If the address changed, it's dynamic. If it's always the same, it's either static or a "sticky" dynamic address your provider keeps renewing.

The only sure answer comes from your provider or your contract. Your router's status page may also show the connection type as DHCP, PPPoE or static.

Static IPs on your home network

Inside your home network, you can give a device a fixed private address, for example so port forwarding always reaches the same printer or game console. Use a DHCP reservation in your router's settings rather than typing the address into the device; it's easier and avoids conflicts. See public vs private IP addresses for how the two kinds fit together.

FAQ

Do I need a static IP for gaming?

No. Online games work fine with a dynamic IP. If you host a game server for friends, a static IP or dynamic DNS makes it easier for them to connect.

Is a static IP faster?

No. Speed depends on your plan and line, not on whether the address changes.

Can I get a static IP without paying my provider?

Not a real one. A VPN with a dedicated IP gives you a fixed address on the internet for a fee, and dynamic DNS gives you a fixed name that follows a changing address for free.

Is a static IP more secure?

Not by itself. It makes you easier to find and target, so it needs a well-configured firewall. A dynamic IP isn't protection either; it just changes now and then.