To connect to Ethernet, plug one end of an Ethernet cable into your computer's network port and the other end into a free LAN port on your router or switch. Windows and macOS configure the connection automatically in most cases, and you can confirm it in Settings > Network & internet on Windows or System Settings > Network on a Mac.
The rest of this page covers what to check if nothing happens, how to set an address by hand, and the commands Microsoft lists for repairing a wired connection on Windows.
What you need
- An Ethernet cable. Any common category of cable will carry a basic home connection; if you are choosing one to buy, see Cat6a vs Cat6.
- An Ethernet port on your computer, or an adapter if it has none. For Macs, Apple names a USB to Ethernet Adapter and a Thunderbolt to Gigabit Ethernet Adapter.
- A free LAN port on your router, switch or wall socket that is wired to one. On a router, use a numbered LAN port, not the port labelled Internet or WAN. That one is for the cable from your modem.
How to connect to Ethernet on Windows
- Push the cable into the port on your PC until it clicks, and the other end into a LAN port on the router.
- Open Settings and go to Network & internet.
- Look at the connection shown at the top. Microsoft's documentation says Windows 11 should display
Connectedunder the network connection name, and Windows 10 should displayYou're connected to the Internet.
There is nothing to switch on. Windows detects the cable and uses DHCP, which means your router hands the PC an IP address by itself. If you want to see the details, open Command Prompt and run:
ipconfig /all
That command shows the full TCP/IP configuration for every adapter. Find the entry for your Ethernet adapter and read its IPv4 address, default gateway and DNS servers. Per Microsoft, ipconfig is most useful on computers set to obtain an address automatically, because it shows which values came from DHCP, from Automatic Private IP Addressing (APIPA) or from an alternate configuration.
How to connect to Ethernet on a Mac
- Connect the cable to the Mac's Ethernet port, or to the adapter if your Mac has no port.
- Choose Apple menu > System Settings, then click Network in the sidebar.
- Look for the Ethernet service in the list. A USB or Thunderbolt adapter appears there under its own service name.
Apple's guide says that in many cases, after you connect the Ethernet cable, you are connected to the internet automatically. If you are not, select the Ethernet service and open its Details panel. In the TCP/IP section, use the Configure IPv4 pop-up menu to choose the method your internet provider recommends, enter any DNS, WINS, proxy or hardware details they gave you, and click OK. Home users on a normal router almost never need to type anything here, because DHCP is the usual method.
If Ethernet does not connect on Windows
Work from the cheapest check to the most disruptive one. Stop as soon as the connection works.
- Check both ends of the cable. Microsoft's page tells you to make sure the cable is plugged into the correct Ethernet port on the router, not the Internet port. Reseat the cable on both ends.
- Try another cable. Microsoft's advice is that if one cable does not work and you have another nearby, try the other one. If it works, the first cable is the problem.
- Restart the PC and the router. This clears a stale address lease and a stuck adapter more often than the later steps do.
- Reset the network stack. Open Command Prompt as administrator (search for it, then choose Run as administrator > Yes) and run these commands in this order, as Microsoft lists them:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
What they do: the first two reset the Winsock catalog and the IP stack. ipconfig /release sends a DHCPRELEASE message that discards the current address, and Microsoft notes it disables TCP/IP for adapters set to obtain an address automatically until you renew. ipconfig /renew asks the DHCP server for a new address, and ipconfig /flushdns clears the DNS resolver cache. Restart the PC afterwards if the first reset commands report that a restart is needed.
- Reinstall the adapter driver. Open Device Manager, expand Network adapters and find your Ethernet adapter. Select Uninstall device, tick Attempt to remove the driver for this device, then click Uninstall. Restart, and Windows should reinstall a driver for the adapter.
- Use Network reset as the last resort. On Windows 11, go to Settings > Network & internet > Advanced network settings > Network reset. On Windows 10 it is under Status > Network reset. Microsoft says this removes network adapters and resets their settings, and VPN clients or Hyper-V virtual switches may need to be set up again afterwards.
If Ethernet does not connect on a Mac
Apple's page covers setup rather than a repair list, so these steps are general troubleshooting and not quotes from Apple:
- Check that the Ethernet service appears in System Settings > Network. If you use an adapter and the service is missing, unplug and replug the adapter, try another port, or try a different adapter.
- Reseat the cable at both ends and test with a second cable.
- Open the service's Details panel and confirm that Configure IPv4 is set to the method your network uses. On most home networks, that is the automatic DHCP option.
- Restart the router and then the Mac.
Connected, but no internet
This is a different problem from a cable that is not detected. The link to the router is working, but something beyond it is not. Check these in order:
- Do other devices on the same router have internet? If not, the fault is the router or the connection from your provider, not your computer.
- Does the cable go into a LAN port, not the Internet port? A cable in the wrong port can show a link and still give no usable network.
- On Windows, run
ipconfig /alland look at the IPv4 address. If the PC was unable to reach DHCP, it may have fallen back to an APIPA address, which Microsoft lists as one possible source of configuration, and that address cannot reach the internet. Runipconfig /releasethenipconfig /renew.
Ethernet or Wi-Fi: which to use
You do not have to choose permanently. Microsoft's own Wi-Fi troubleshooting page suggests connecting the PC directly to the modem with an Ethernet cable as a test: if the wired connection works, the Wi-Fi router is the likely cause of a wireless problem. That makes a cable a quick diagnostic tool even if you normally use Wi-Fi.
Frequently asked questions
- Do I need to install anything to use Ethernet?
- Usually not. Both Windows and macOS include drivers for common Ethernet adapters, and Apple says that in many cases you are connected to the internet automatically once the cable is plugged in. A USB or Thunderbolt adapter may need a driver from its maker on some systems, so check the adapter's documentation if it does not appear.
- Can I use Ethernet and Wi-Fi at the same time?
- Both can stay connected, but the system sends internet traffic through one of them at a time, chosen by its network priority. If you want to be sure the wired link is the one in use, turn Wi-Fi off in your system's network settings.
- My laptop has no Ethernet port. What can I do?
- Use an adapter. Apple names a USB to Ethernet Adapter and a Thunderbolt to Gigabit Ethernet Adapter for Macs. Windows laptops work with USB Ethernet adapters in the same way. Plug the adapter in first, then connect the cable to it.
- Why does Ethernet say connected but there is no internet?
- The link to your router works, but something after it does not: the router has no internet from the modem, the PC did not get a valid IP address, or DNS is failing. Check that other devices have internet, then renew the address with ipconfig /release and ipconfig /renew on Windows, or restart the router.