Networking
What Is DHCP?
Networking · 5 min read · Updated November 22, 2026
DHCP is the automatic system that gives every device on your network its own IP address. When your phone joins your Wi-Fi, it asks the router for an address, and DHCP hands one over in a fraction of a second. No typing, no setup, it just works.
It is the reason you never have to set an IP address by hand at home, and it is also the reason your private IP address sometimes changes. Here is how it works, in plain English.
How DHCP hands out an address
DHCP stands for Dynamic Host Configuration Protocol. Dynamic means the addresses are handed out on the fly, not set in stone. When a device joins your network, it sends out a broadcast asking for an address. Your router, which runs a small DHCP server, answers with an offer: an available address, a subnet mask, and the default gateway, which is the router itself.
The device accepts the offer and the router records the assignment as a lease, with a time limit. The lease is usually 24 hours, and the device renews it automatically before it runs out, so a device that stays connected usually keeps the same address. The whole exchange takes a fraction of a second, and it happens every time a device connects.
Why your IP address changes
Leases expire. When a device leaves the network and its lease runs out, the router puts that address back in the pool and can hand it to the next device that asks. That is why your phone can show 192.168.1.5 today and 192.168.1.9 next week, even though nothing changed at home.
Restarting the router also shuffles things, since many routers forget their lease table when they reboot and start handing addresses out fresh. This is normal and harmless. Your public IP address is a different story: that one comes from your internet provider, not from DHCP, so it follows its own schedule. Our guide on why your IP keeps changing covers both sides.
DHCP vs a static IP address
DHCP assigns addresses automatically, and a static IP is one you set by hand and keep forever. For phones, laptops, and TVs, DHCP is the right choice: nothing to configure and nothing to go wrong.
A fixed address is useful for things you need to find at the same spot every time, like a printer, a home server, or a security camera. You can set one on the device itself or reserve it in the router, which is the safer route since the router will never hand that address to anything else. Our static IP guide walks through both ways and the one mistake to avoid, picking an address inside the DHCP pool.
Common DHCP problems and quick fixes
The classic sign of a DHCP failure is an address starting with 169.254. That means the device asked for an address and got no answer, so it invented a placeholder. Wi-Fi looks connected but nothing loads.
Fix it in this order: restart the device, then release and renew the address, which forces a fresh request to the router. If several devices fail at once, restart the router and give it a minute to come back up. If only one device fails, check that it is actually on the right network, and that the router has free addresses left in its pool. When DHCP is turned off in the router's settings, nothing gets an address at all, so if you have been poking around in the admin page, check that setting first.
Frequently asked questions
What does DHCP stand for?
Dynamic Host Configuration Protocol. It is the system that automatically assigns IP addresses, subnet masks, and gateway addresses to devices on a network.
Does DHCP give me my public IP address?
No. DHCP on your home router hands out private addresses inside your network, like 192.168.1.x. Your public IP comes from your internet provider and is assigned to your router, not to your devices.
Why does my device get a different IP address every time it connects?
Because its old lease expired while it was away and the router gave that address to another device. When your device returns, it gets the next free address in the pool. It is normal behavior, not a fault.
What happens if DHCP is turned off on my router?
New devices get no address at all and cannot use the network. Existing devices keep working until their leases expire. To fix it, log into your router's admin page and turn the DHCP server back on, or set a static address on each device by hand.
Can two devices get the same IP address from DHCP?
No. The DHCP server keeps a table of every lease it has handed out and never offers an address that is already taken. IP conflicts happen when someone sets a static address that falls inside the DHCP pool, so the router hands it out to another device too.
How do I find my router's DHCP settings?
Open your router's admin page, usually at 192.168.1.1 or 192.168.0.1, and look for a LAN, DHCP, or Network section. It shows the address range the router hands out, the lease time, and a list of current leases. Our [router IP guide](/guides/what-is-my-router-ip-address) explains how to find the admin page.