Renewing your IP address asks the router to refresh the address it gave your device. That can clear a failed connection or a conflict, and it’s a quick test before a full router restart. The steps differ between Windows and Mac, and menu names on a Mac change between versions, so follow the path that matches your system.
What renewing does
A router leases each device an address for a set time. Renewing asks the router to refresh that lease. The device may keep the same address or receive a different one. The Windows commands release the current address first, which tells the router to free it, and then request a new one. Expect a brief disconnect while this happens.
Renew the address on Windows
- Open Command Prompt as an administrator. Search for Command Prompt in the Start menu, right-click it and choose Run as administrator. Some versions of Windows need this for the release and renew commands.
- Type
ipconfig /releaseand press Enter. Your Wi-Fi connection will drop. - Type
ipconfig /renewand press Enter. - Wait a few moments, then check whether the connection is back.
Some people also run ipconfig /flushdns to clear the DNS cache. That step isn’t needed for an address problem, so skip it unless you have a reason to use it.
Renew the address on a Mac
- Open System Settings and choose Wi-Fi.
- Click the Details button next to your network.
- Choose TCP/IP.
- Click Renew DHCP Lease.
On older versions of macOS, the path is System Preferences, then Network, then Wi-Fi, then Advanced, and the TCP/IP tab.
Advanced users can run sudo ipconfig set en0 DHCP in Terminal. Check first that en0 is your Wi-Fi interface, because some Macs use a different name. The command asks for your administrator password.
Check the new address
On Windows, run ipconfig in Command Prompt and look for the IPv4 address under the Wi-Fi adapter. On a Mac, the same TCP/IP page shows the current address.
An address that starts with 169.254 usually means the device didn’t receive one from the router. That points to a problem between the device and the router. Try renewing once more, then restart the router and the modem.
When renewing doesn’t help
If renewing doesn’t fix the problem and another device shares the address, see how to fix ip address conflict on network. If the device gets an address but still has no internet access, see wifi connected but no internet access. If many devices fail at once, a restart of the modem and router is usually the next step.
Summary
Renewing an IP address is a quick, low-risk test. On Windows, run the release and renew commands in an administrator Command Prompt. On a Mac, use Renew DHCP Lease in the TCP/IP settings. Check the new address, and move on to the router or modem if the problem remains.