How to change the DHCP lease time in Windows 10

The DHCP lease time is a setting that controls how long your Windows 10 computers, as well as other devices such as smartphones or printers, keep their dynamically allocated IP addresses. Do you want to know how to change the DHCP lease time, how to check what yours is, or maybe how to renew your network adapter's DHCP lease time? If you said yes to any of these questions, read on and find the answers:

Contents

  1. What is the DHCP lease time?
  2. How to see the DHCP lease time of a Windows 10 PC
  3. How to renew the DHCP lease time of a Windows 10 PC
  4. How to change the DHCP lease time in Windows 10
  5. Why did you want to change the DHCP lease time?

NOTE: Before you read this guide, you should have a grasp of what IP addresses are, and what they do. If you're unclear about them, read this article first: What are IP addresses, subnet masks, and how do you change them in Windows?

What is the DHCP lease time?

Computers, laptops, smartphones, printers, and other similar devices that are connected to a local area network (LAN) must have an IP address in order to be able to communicate with each other, as well as connect to the internet.

If your network uses the DHCP (Dynamic Host Configuration Protocol) to assign the IP addresses automatically, they are not assigned to your devices permanently. Instead, DHCP designates the IP addresses only temporarily for fixed periods of time, depending on how it's configured.

The DHCP lease time represents the period of time between when your computer or device obtained its IP address from the router and the time when it expires. When the DHCP lease time expires, your computer or device automatically releases its IP address and asks the router to give it a new one.

The Dynamic Host Configuration Protocol (DHCP) is a service that runs on your router, not on your Windows 10 computer, so you cannot change the DHCP lease time unless you access your router's configuration interface. Read the last section of this guide to see how. However, on your Windows 10 computer, you can both see and renew the DHCP lease time, as explained in the next two sections of this article.

How to see the DHCP lease time of a Windows 10 PC

To find what your DHCP lease time is on your Windows 10 PC, first open the Command Prompt or start PowerShell. Then, run the command ipconfig /all.

How to change the DHCP lease time in Windows 10

Running the ipconfig /all command in PowerShell or Command Prompt (cmd)

The ipconfig /all command shows you detailed information about all the network adapters installed on your Windows 10 PC, including both Wi-Fi and Ethernet adapters. Locate the one that you use to connect to your local network and/or to the internet. For example, we use a Wi-Fi network adapter for that. Go through your adapter's details, and you should find two text lines called Lease Obtained and Lease Expires, followed by some dates and times, just like in the screenshot below.

How to change the DHCP lease time in Windows 10

How to see the DHCP lease time of a Windows 10 PC

Lease Obtained tells you when the DHCP lease time began. In other words, it tells you when your Windows 10 computer or device got its IP address from the router using DHCP.

How to change the DHCP lease time in Windows 10

The DHCP Lease Obtained date and time for a network adapter

Lease Expires tells you when your Windows 10 PC or device must release its current IP address and ask the router for a new one.

How to change the DHCP lease time in Windows 10

The DHCP Lease Expires date and time for a network adapter

Don't close Command Prompt or PowerShell just yet: read the next section to see how to renew the DHCP lease time of your Windows 10 PC.

How to renew the DHCP lease time of a Windows 10 PC

Next, if you want to renew the DHCP lease time of your Windows 10 PC, run the following command in Command Prompt or PowerShell: ipconfig /release | ipconfig /renew.

How to change the DHCP lease time in Windows 10

How to renew the DHCP lease time of network adapter

Wait for the command to do its job and, when it finishes, it should display some information about your network adapters. Now run the ipconfig /all command once more. Check your network adapter's Lease Obtained and Lease Expires text lines, and you should see that they have both been updated.

How to change the DHCP lease time in Windows 10

The DHCP lease time of a network adapter has been renewed

Now, let's see how to set the DHCP lease time to anything you want:

NOTE: To illustrate the next steps, we're using ASUS ZenWiFi AX (XT8). Depending on your router maker and model, the visuals and names of settings are likely not the same as ours. However, they should be similar, so you should be able to find your way.

How to change the DHCP lease time in Windows 10

As you've probably noticed from the previous screenshots, our DHCP lease time is set to 24 hours. However, other routers or network equipment can use different default values for the DHCP lease time, like 8 hours or 12 hours. To be able to change the DHCP lease time, you need to adjust the DHCP settings of your router.

Start by opening a web browser on your Windows 10 computer or device. Then, type the address of your router. On most routers out there, that's 192.168.0.1 or 192.168.1.1, but it can differ. If you don't know the IP address of your router, check this guide: 5 ways to find the local IP address of your wireless router. Enter the admin credentials of your router and sign in.

How to change the DHCP lease time in Windows 10

The web interface login screen of a router

On your router's web interface, look for an advanced settings category called LAN, and access it.

How to change the DHCP lease time in Windows 10

The LAN settings of a router

On the router's LAN configuration page, select the DHCP Server tab (or section).

How to change the DHCP lease time in Windows 10

The DHCP Server settings of a router

In the DHCP Server settings, look for an option called Lease time. This is the router's DHCP lease time that you've been searching for. Note that the DHCP lease time is usually specified in seconds, rather than minutes, hours, or days. As you can see in the next screenshot, our router's DHCP lease time is set to 86400 seconds, the equivalent of 24 hours or one day.

How to change the DHCP lease time in Windows 10

The DHCP lease time setting on a router

If you want to change the DHCP lease time of your router, type the time you want in seconds. For example, if you want to change the DHCP lease time to a week instead of a day, set it to 604800 (604800 seconds = 7 days).

How to change the DHCP lease time in Windows 10

Changing the DHCP lease time of a router

Make sure to save your new settings by clicking Apply, Save, or OK. Note that, when you do that, your router might need to reboot to set the new DHCP lease time into motion.

Why did you want to change the DHCP lease time?

Was it because your DHCP lease time was too short and it broke your downloads or gaming sessions? Did you have other reasons? We'd like to know why you want to do that, so don't hesitate to comment below.

Leave a Comment

How Do You Know When Your Business Is Ready For Its First Office?

How Do You Know When Your Business Is Ready For Its First Office?

For many entrepreneurs, moving into a first office feels like a major milestone. It can signal growth, stability, and a new level of professionalism. However, it is also a decision that should be made carefully.

How AI Checkers Work: Behind the Detection Process

How AI Checkers Work: Behind the Detection Process

As AI writing tools become more advanced, many people want a reliable way to identify machine-written text. This is where an AI checker comes into the picture.

How to Fix Microsoft Edge Cant Read and Write to Data Directory

How to Fix Microsoft Edge Cant Read and Write to Data Directory

Frustrated by Microsoft Edge "Can't Read and Write to Data Directory" error? Get step-by-step fixes, from quick resets to advanced troubleshooting, to restore your browser fast. Works on latest versions!

How to Fix Microsoft Edge Windows Update Catalog Error

How to Fix Microsoft Edge Windows Update Catalog Error

Tired of the frustrating Microsoft Edge "Windows Update Catalog" Error blocking your updates? Discover proven, step-by-step fixes that work on the latest Windows versions. Get back online in minutes!

How to Fix Microsoft Edge OBS Studio Black Screen

How to Fix Microsoft Edge OBS Studio Black Screen

Struggling with Microsoft Edge black screen in OBS Studio? Discover step-by-step fixes for hardware acceleration issues, capture settings, and more. Get your stream crystal clear today!

How to Link Your Microsoft Edge Account to Your Phone

How to Link Your Microsoft Edge Account to Your Phone

Master how to link your Microsoft Edge account to your phone for seamless syncing of tabs, passwords, and bookmarks. Step-by-step guide for Android and iOS with troubleshooting tips.

How to Fix Microsoft Edge System Sounds Missing Fix

How to Fix Microsoft Edge System Sounds Missing Fix

Struggling with Microsoft Edge "System Sounds" missing? Our ultimate guide provides step-by-step fixes to restore notifications, alerts, and browser sounds quickly and easily. Works flawlessly on the latest versions.

How to Fix Microsoft Edge DNS Probe Finished No Internet

How to Fix Microsoft Edge DNS Probe Finished No Internet

Struggling with Microsoft Edge "DNS Probe Finished No Internet" error? Discover step-by-step fixes to restore your browsing instantly. Flush DNS, change servers, and more – no tech skills needed!

Troubleshooting Microsoft Edge Profile is Already in Use

Troubleshooting Microsoft Edge Profile is Already in Use

Tired of the frustrating Microsoft Edge "Profile is Already in Use" error blocking your browsing? Follow our proven, step-by-step troubleshooting fixes to resolve it quickly and regain smooth performance. Works on latest versions!

Troubleshooting Microsoft Edge Stream Deck App Not Opening

Troubleshooting Microsoft Edge Stream Deck App Not Opening

Facing Microsoft Edge "Stream Deck" app not opening? Discover proven troubleshooting steps, quick fixes, and expert tips to resolve crashes, freezes, and launch issues fast. Get back to streaming seamlessly.