To enable DHCP on Windows 11, you must set your network adapter to "Obtain an IP address automatically" and "Obtain DNS server address automatically" within the network adapter properties. This process allows your router or server to assign a unique IP address to your computer, ensuring you have a valid connection to the local network and the internet without having to manually enter complex numerical strings.

DHCP, which stands for Dynamic Host Configuration Protocol, is the standard networking protocol used by almost every home and office network. When DHCP is enabled, your computer sends out a request when it connects to a network, and the DHCP server (usually built into your wireless router) responds with an IP address, a subnet mask, a default gateway, and DNS server details. This eliminates the need for manual configuration and prevents "IP address conflicts," which occur when two devices on the same network are accidentally assigned the same address.

What You'll Need

  • A computer running Windows 11.
  • Administrative privileges on the Windows account (required to change network adapter settings).
  • A functioning router or DHCP server on your local network.
  • An active Ethernet cable or a stable Wi-Fi connection.

Step-by-Step

Depending on your version of Windows 11, menu labels may differ slightly by version, device, or region. The following steps cover the most reliable method via the Control Panel, which provides the most granular control over adapter settings.

  1. Open the Run Command: Press the Windows Key + R on your keyboard to open the Run dialog box.
  2. Access Network Connections: Type ncpa.cpl into the text box and press Enter. This shortcut takes you directly to the Network Connections window, bypassing several layers of the modern Settings app.
  3. Select Your Adapter: You will see a list of network adapters (e.g., "Wi-Fi" or "Ethernet"). Right-click on the adapter you are currently using to connect to the internet and select Properties from the context menu.
  4. Locate IPv4 Settings: In the list of items under "This connection uses the following items," find and click once on Internet Protocol Version 4 (TCP/IPv4). Do not uncheck the box; simply highlight the text.
  5. Open IPv4 Properties: With TCP/IPv4 highlighted, click the Properties button located below the list.
  6. Enable Automatic IP: In the window that appears, select the radio button labeled Obtain an IP address automatically. This action tells Windows to stop using a static IP and start requesting one from the DHCP server.
  7. Enable Automatic DNS: Below the IP settings, select the radio button labeled Obtain DNS server address automatically. This ensures your computer uses the router's designated DNS for resolving website names.
  8. Save and Apply: Click OK to close the IPv4 Properties window, and then click OK or Close on the Network Properties window to apply the changes.
  9. Refresh the Connection: To ensure the changes take effect immediately, you may need to restart your network adapter. You can do this by right-clicking the adapter in the Network Connections window, selecting Disable, waiting five seconds, and then right-clicking it again to select Enable.

Common Mistakes

One of the most frequent errors is forgetting to enable automatic DNS settings while enabling automatic IP settings. If you set your IP to automatic but leave a static DNS (like Google's 8.8.8.8 or Cloudflare's 1.1.1.1), your internet may work, but you might experience issues with local network resource discovery or internal company portals that rely on a specific local DNS server.

Another common mistake is attempting to enable DHCP on a network that does not have a DHCP server active. In some corporate environments or specialized lab setups, DHCP is intentionally disabled for security or stability reasons. In these cases, enabling DHCP will result in your computer assigning itself an APIPA address (Automatic Private IP Addressing), which usually starts with 169.254.x.x. If you see this address, it means your computer is asking for an IP, but no one is answering.

Users also sometimes confuse IPv4 and IPv6. While most home networks primarily rely on IPv4, Windows 11 also uses IPv6. If you are troubleshooting a connection, ensure you check the settings for both Internet Protocol Version 4 (TCP/IPv4) and Internet Protocol Version 6 (TCP/IPv6) to ensure they are both set to automatic, unless you have a specific reason to use a static IPv6 address.

Tips

If you frequently switch between a home network (which uses DHCP) and a work network (which requires a static IP), you can use a third-party network profile manager or a PowerShell script to toggle these settings. Manually navigating the Control Panel every time can be tedious.

To verify that DHCP is working correctly without digging through menus, you can use the Command Prompt. Open the Start menu, type cmd, and press Enter. Type ipconfig /all and look for the line that says "DHCP Enabled . . . . . . . . . . : Yes". This confirms that the adapter is actively seeking and using a dynamic address.

When you enable DHCP, your router may still assign you the same IP address every time you connect. This is called a "DHCP Reservation" or "Static DHCP." This is configured on the router side, not the Windows side. It gives you the stability of a static IP with the ease of DHCP management.

Troubleshooting

If you have enabled DHCP but still cannot connect to the internet, follow these steps in order of complexity:

1. Restart the Hardware: Power cycle your router and modem. Unplug them from the power source for 30 seconds and plug them back in. This clears the DHCP lease table and forces the router to re-evaluate connected devices.

2. Force a DHCP Renewal: You can force Windows to request a new IP address immediately via the Command Prompt. Open cmd as an administrator and run the following two commands in order:

  • ipconfig /release (This drops your current IP address).
  • ipconfig /renew (This requests a new IP address from the DHCP server).

If the /renew command hangs or returns an error saying it cannot contact the DHCP server, the problem is likely with the cable, the Wi-Fi signal, or the router itself, rather than the Windows settings.

3. Check for Third-Party Firewall/Antivirus: Some aggressive security software can block the DHCP discovery packets. Temporarily disable your third-party firewall to see if the computer suddenly receives an IP address. If it does, you will need to add an exception for DHCP traffic (UDP ports 67 and 68).

4. Reset the TCP/IP Stack: If the network settings seem corrupted, you can reset the entire network stack to factory defaults. Open the Command Prompt as an administrator and type netsh int ip reset, then press Enter. You will need to restart your computer after this command for the changes to take effect. Warning: This will remove all custom static IP configurations you may have set for other adapters.

Frequently Asked Questions

What is the difference between a static IP and DHCP?

A static IP is manually assigned to a device and never changes unless you change it yourself. DHCP (Dynamic Host Configuration Protocol) automatically assigns an IP address from a pool of available addresses, which can change over time (known as a lease).

Will enabling DHCP slow down my internet connection?

No. DHCP only handles the initial assignment of the IP address when you connect to the network. Once the address is assigned, there is no performance difference between a DHCP-assigned IP and a manually entered static IP.

Why is my IP address 169.254.x.x after enabling DHCP?

This is an APIPA address. It means Windows is set to DHCP, but it cannot find a DHCP server to give it an address. This usually indicates a physical connection problem, a crashed router, or a disabled DHCP server on the network.

Can I have both DHCP and a static IP at the same time?

No. An adapter must be configured to either obtain an address automatically or use a specific manual address. However, you can set a "Reservation" on your router so that the DHCP server always gives your specific device the same IP address based on its MAC address.

Does enabling DHCP affect my privacy?

DHCP does not inherently reduce your privacy more than a static IP would. However, the DHCP server (your router or ISP) keeps a log of which devices were assigned which IP addresses. This is standard behavior for almost all networked devices.

Do I need to enable DHCP for every single network adapter?

You only need to enable it for the adapter you are currently using. For example, if you use Wi-Fi for everything, your Ethernet adapter settings do not matter. However, it is generally best practice to leave all unused adapters on DHCP to avoid conflicts if you ever plug in a cable.