A dynamic IP address is lent to you and can change. A static IP address is assigned to you and stays the same. Almost every home and mobile connection uses dynamic addresses, and for most people that’s exactly right. A static IP solves a few specific problems, usually at an extra cost.
This guide explains how each works, how to tell which one you have, and whether you need a static IP, or one of the cheaper alternatives.
The short version
| Dynamic IP | Static IP | |
|---|---|---|
| Changes? | Can change at any time | Stays the same |
| Assigned by | Automatically, by a server | Set by hand or reserved |
| Cost | Included | Often a paid extra |
| Best for | Browsing, streaming, gaming | Hosting, remote access, IP allowlists |
| Setup | None | Some, depending on the device |
Two places an address can be static or dynamic
The question applies at two levels, and they’re independent:
- Your public IP comes from your internet provider. It’s the address every website sees, shared by all the devices in your home. Whether it’s static or dynamic is up to the provider and your plan.
- Each device’s private IP comes from your router. It only matters inside your home network. Whether it’s static or dynamic is up to you and your router settings.
You can have a dynamic public IP and a static private IP on your printer at the same time, which is a very common setup. If the difference between public and private addresses is new to you, our guide What Is an IP Address? explains it.
How dynamic IP addresses work
Dynamic addresses are handed out automatically by a protocol called DHCP. When your router connects to your provider, or your phone joins your Wi-Fi, it asks for an address and gets one from a pool, along with a lease: how long it may keep it.
Before the lease runs out, the device asks to renew it, and usually gets the same address back. That’s why many dynamic public IPs stay the same for weeks or months. The address can change when:
- your router is off long enough for the lease to expire,
- your provider reorganises its network or restarts its equipment,
- you switch between Wi-Fi and mobile data, which are different networks with different addresses.
On mobile networks, addresses change much more often, and many carriers share one public address among many customers.
How static IP addresses work
A static address doesn’t come from a pool. For a public IP, your provider reserves one address for your connection and gives it to you every time. For a private IP, either you type the address into the device’s settings, or your router always hands the same one to that device.
Providers usually offer static IPs on business plans or as a monthly add-on. Availability and pricing vary a lot, so ask yours directly.
Pros and cons
Static IP
- Good: Other people and services can always find you at the same address. You need that to run a server, reach your home network remotely without extra tools, or get added to an IP allowlist, such as a work system that only accepts connections from approved addresses.
- Less good: It usually costs extra. And because the address never changes, it’s easier for sites and services to link your activity over time, and a fixed target for anyone scanning the internet. Keep the router updated and close ports you don’t use.
Dynamic IP
- Good: It’s free, needs no setup, and changes from time to time, which makes long-term tracking by IP a little harder.
- Less good: Anything that needs to reach you from outside has to cope with the address changing.
Neither is “more secure” on its own. What protects you is an up-to-date router, no unnecessary open ports and strong passwords.
Try it live: is your IP static or dynamic?
Your public IP:
- Open the MyIPSpot homepage and note the address shown under What Is My IP Address?. Press Copy IP to keep it.
- Check the ISP line in the details card, so you know which provider to ask.
- Restart your router and wait a few minutes, then reload the homepage.
- If the address changed, it’s dynamic.
If it didn’t change, that doesn’t prove it’s static. Many providers give the same dynamic address back after a restart. The only sure answer is your plan details, or asking the provider whether you have a static IP. Our guide on how to find your IP address shows how to see your public IP from any device, including from the command line.
A device’s private IP:
- Windows 11: Settings, then Network & internet, then your Wi-Fi or Ethernet properties. IP assignment says Automatic (DHCP) for dynamic or Manual for static.
- Mac: System Settings, then Network, then Details next to your network, then TCP/IP. Configure IPv4 says Using DHCP for dynamic or Manually for static.
- iPhone: Settings, then Wi-Fi, then the ⓘ next to your network. Configure IP says Automatic or Manual.
- Android: open your Wi-Fi network’s settings, then look for IP settings (sometimes under Advanced). It says DHCP or Static.
Do you need a static IP?
You probably do if you:
- host a website, game server or mail server at home or in your office,
- need to be added to an IP allowlist for work, a client or a cloud service,
- run equipment that other sites connect to directly, such as phone systems or some security cameras.
You don’t need one for browsing, streaming, video calls or online gaming. Most people never do.
Cheaper alternatives
For a device at home, use a DHCP reservation. Instead of typing a fixed address into the device, tell your router to always give that device the same address. Look for DHCP reservation, static lease or address reservation in the router’s settings. It gives you a fixed private address without the risk of two devices clashing.
For reaching your home from outside, try dynamic DNS. A dynamic DNS service gives you a hostname, such as myhome.example.net, that updates automatically whenever your public IP changes. Many routers have it built in. It has one important limit: it only works if your connection has its own public IP. If your provider shares one address among many customers, which is common on mobile and some fiber connections, incoming connections can’t reach you either way. Compare the address on the homepage with the WAN address on your router’s status page. If they differ, you’re probably sharing.
For remote access without opening anything, use a tunnel. Mesh VPN and tunnel services connect your devices through an outbound connection, so they work with dynamic and shared addresses alike, and you don’t have to open ports on your router.
A note on IPv6
With IPv6, most providers give your home a whole block of addresses (a prefix) rather than one address. The prefix can be static or dynamic, like an IPv4 address. Your devices also usually create temporary addresses that change regularly on purpose, for privacy, even when the prefix stays the same.
Frequently asked questions
Is a static IP more secure than a dynamic one?
No. A static IP is easier to target over time, and a dynamic one is slightly harder to track, but neither protects you. Security comes from an updated router, closed ports and strong passwords.
Can I get a static IP for free?
For your public IP, usually not. Most providers charge for it or include it only in business plans. For a device on your home network, yes: a DHCP reservation in your router is free.
Does restarting my router change my IP address?
Sometimes. With a dynamic IP, a restart can give you a new address, but many providers hand back the same one if the lease hasn’t expired. With a static IP, it never changes.
Is my phone’s IP address static?
Almost never. On mobile data, carriers assign dynamic addresses that change often and are usually shared with other customers. On Wi-Fi, your phone uses your home connection’s public IP.
Does a VPN give me a static IP?
A regular VPN gives you a shared address that can change each time you connect. Some VPN providers sell a dedicated IP add-on, which stays the same and belongs only to you.