Connect your modem to the wall first, then your router to the modem
The physical connection is straightforward: a cable from your wall outlet goes into your modem, and a cable from your modem goes into your router. But the order matters for security and stability. You power on the modem first and wait for it to fully start before you power on the router. This gives your modem time to establish a connection with your internet service provider (ISP) before your router tries to use that connection.
The cables themselves are standard ethernet cables — they look identical, so the cable type is not the issue. What matters is which port you use on each device and which device you plug in first.
Key Takeaways
- Your modem connects to the wall outlet with a coaxial cable (or fiber, or phone line, depending on your ISP), and your router connects to your modem with an ethernet cable.
- Power on your modem first and wait 2 to 3 minutes for all lights to stabilize before powering on your router.
- Use the ethernet port labeled "Internet," "WAN," or "Uplink" on your router — not one of the regular ethernet ports meant for devices.
- If your modem and router are the same device (a gateway), you skip the cable step entirely and just power it on.
What cable connects modem to wall
The cable from the wall to your modem depends on your ISP. Most homes use a coaxial cable (thick, round, with a screw-on connector), which carries cable internet. If you have fiber internet, the cable is thinner and may be labeled "fiber optic." If you have DSL, it looks like a phone cord. Your ISP installed this cable when they set up your service, so you likely do not need to buy one.
This cable carries the signal from your ISP into your modem. The modem then converts that signal into something your router and devices can use. You should not unplug this cable unless you are moving or troubleshooting a connection problem.
Connecting the modem and router with ethernet
Take a standard ethernet cable and plug one end into the port on your modem labeled "Ethernet," "LAN," or sometimes just a number. Most modems have only one such port, so there is no choice here. Plug the other end into the port on your router labeled "Internet," "WAN," "Uplink," or sometimes "Modem." This port is usually a different color (often blue or yellow) from the other ethernet ports on the router.
Do not plug the router cable into one of the regular ethernet ports on the router — those are for connecting your devices like computers or printers. Using the wrong port means your devices will not reach the internet. If you are unsure which port is which, check the label on the back of your router or look at the manual (usually available as a PDF on the manufacturer's website).
The ethernet cable itself does not matter much — any standard ethernet cable works, whether it is Cat5, Cat6, or newer. Longer cables are fine too; a 25-foot cable works just as well as a 3-foot one for this connection.
The power-on sequence and what to watch for
Plug your modem into power and turn it on. Wait 2 to 3 minutes. During this time, you will see lights on the modem change. Usually there is a power light that stays on, and lights for "Internet" or "Online" that blink while the modem connects to your ISP. Once the Internet light stops blinking and stays solid (or turns green), your modem is ready.
Now plug in your router and turn it on. Wait another 1 to 2 minutes for the router to start up. You should see lights on the router indicating it is receiving a signal from the modem. Once the router lights stabilize, you can connect your devices wirelessly or with ethernet cables.
If you power on the router before the modem is ready, the router may not find the internet connection and will restart itself trying to find it. This is not dangerous, but it wastes time. Powering on the modem first avoids this.
When your modem and router are one device
Some ISPs provide a gateway — a single device that acts as both modem and router. Common examples are Comcast's Xfinity gateways or AT&T's BGW units. If you have a gateway, you skip the ethernet cable step entirely. You plug the coaxial cable from the wall into the gateway, plug it into power, and wait for it to start up. That is all.
If you want to use your own router instead of the gateway's built-in wifi, you can connect your own router to the gateway using an ethernet cable, just as you would with a separate modem. The gateway becomes the modem, and your router becomes the wifi broadcaster. This setup gives you more control over your network settings and security.
Troubleshooting a connection that does not work
If you have connected everything but your devices cannot reach the internet, check these things in order. First, make sure the cable from the wall is actually plugged into the modem — it should be hand-tight, not loose. Second, check that the ethernet cable between modem and router is plugged into the correct ports (Internet or WAN on the router, not a regular ethernet port). Third, unplug the modem, wait 30 seconds, and plug it back in. Wait 3 minutes for it to fully restart, then do the same with the router.
If the modem's Internet light never turns solid green or blue, the problem is between your modem and your ISP, not your router. Contact your ISP to check if there is an outage or a problem with your account. If the modem light is solid but your router still shows no internet, try a different ethernet cable — sometimes a cable is damaged even if it looks fine.
Security considerations for your modem and router
Your modem and router come with default usernames and passwords that anyone can look up online. Once your devices are connected and working, log into your router's admin panel (usually by typing your router's IP address into a browser — check the manual for the exact address) and change the default password to something only you know. This prevents someone on your network from changing your wifi settings or accessing your devices.
Your modem usually does not need a password change unless your ISP tells you to set one. The router is the device you control; the modem is controlled by your ISP. Changing your router's password is the main security step you should take after connecting everything.
Frequently Asked Questions
Can I use wifi instead of an ethernet cable between modem and router?
No. The modem and router must be connected with a physical ethernet cable. This connection is separate from the wifi your router broadcasts to your devices. The ethernet cable is how your router receives the internet signal from the modem.
What if my modem does not have an ethernet port?
Very old modems sometimes have only a USB port instead of ethernet. You can use a USB cable to connect to the router if the router has a USB port, but this is rare. If your modem is this old, it may be worth asking your ISP if they have a newer modem available, since older modems are often slower and less secure.
Do I need to restart my modem and router regularly?
Most people do not need to restart them at all. If your internet becomes slow or devices stop connecting, unplugging both for 30 seconds and plugging them back in often fixes it. This is called a power cycle. If you need to do this more than once a month, contact your ISP — it usually means something is wrong with your connection or the modem itself.
Is it okay to put my modem and router next to each other?
Yes, they can sit next to each other without any problem. The ethernet cable between them is shielded and does not interfere with the modem's connection to your ISP. Placing them in a central location in your home, away from walls and metal objects, gives you better wifi coverage throughout your space.