Modem vs. router: what's the difference, and do you need both?
The modem brings internet into your home; the router shares it with your devices. Here's how they compare with gateways, switches and access points, what your provider charges for each, and which one to blame when things break.
A modem connects your home to your ISP; a router creates your Wi-Fi network and shares that connection across your devices. You need both — either as two separate boxes or combined into one 'gateway.' Buying your own usually beats years of ISP rental fees.
Every box, at a glance
What a modem does
The modem is the bridge between your home and your internet provider's network. Its job is translation: it converts the signal coming in over cable, fiber, or phone lines into data your equipment can actually use, and vice versa. The word itself is short for modulator-demodulator, which is exactly what it does — modulates your outgoing data onto the provider's line and demodulates what comes back.
On its own, a modem is limited. It connects just one device, over a single Ethernet cable, and creates no Wi-Fi. Plug a laptop straight into a modem and that one laptop gets online; nothing else in the house does. That's why a modem alone is almost never the whole story.
What a router does
The router takes that single connection and shares it with everything in your home. It creates your Wi-Fi network, assigns each device its own local address, and directs traffic so your phone, TV, laptop, and smart devices can all be online at once without stepping on each other. If the modem is the on-ramp to the internet, the router is the traffic cop managing every car in your house.
The router is also where your network's brains live: the Wi-Fi name and password, security settings, guest networks, parental controls, and features like band steering all run here. Because it's what every device connects to, the quality of your router has more to do with how fast your Wi-Fi feels than almost anything else — a fast plan behind a weak router still feels slow.
What about a gateway?
Here's where the confusion usually starts. Many ISPs rent a 'gateway' — a modem and router combined into one box — and call it simply a modem or a router interchangeably, which blurs the line between the two. Functionally it's both devices in one enclosure.
A gateway is tidy and simple, and for a small home it's perfectly fine. But the rental fee (often $10–15/mo) adds up to well over $100 a year, forever, and an all-in-one box tends to be a mediocre version of each device. A separate modem plus a good standalone router usually performs better, reaches farther, and gives you far more control over your network.
Do you need to buy your own?
If your ISP charges a monthly equipment fee, buying a compatible modem and your own router typically pays for itself within a year — and you get better Wi-Fi in the bargain. After that first year, it's pure savings, and a decent router will usually outlast several years of rental fees.
A few things to check before you buy: confirm the modem is on your provider's approved-device list (compatibility is provider-specific), and match it to your plan speed so it isn't the bottleneck. On fiber, the situation is different — the provider's ONT usually stays in place and does the modem's job, so you often only need to supply your own router. When in doubt, ask your ISP exactly what you can replace.
Modem vs. router vs. switch vs. access point
These four get mixed up because they often sit next to each other. The modem is the only one that talks to your provider. The router is the only one that hands out addresses and runs the network. A switch is a power strip for Ethernet: plug it into the router and you get more wired ports. An access point is the Wi-Fi equivalent: wire it to the router and it broadcasts the same network farther away.
Most homes need a modem and a router and nothing else. Add a switch for a desk or TV cabinet full of wired devices. For weak Wi-Fi in a large home, a mesh system is usually easier than separate access points; see mesh, extender or a new router.
What you need for each type of internet
Cable (Xfinity, Spectrum, Cox, Optimum)
You need a cable modem on your provider's approved list. For plans of 1 Gig or faster, choose DOCSIS 3.1. See which modems work with your provider.
Fiber (AT&T Fiber, Verizon Fios, Frontier)
There's no modem. The provider installs an ONT, and most fiber providers include a Wi-Fi router or gateway with the plan. You can usually add your own router behind it.
DSL
You need a DSL modem, usually supplied by the provider. Cable modems won't work on a phone line.
5G home internet (T-Mobile, Verizon, AT&T Internet Air)
The provider's gateway is the modem and router in one, and you can't swap it. You can connect your own router or mesh to its Ethernet port for better coverage; see how to get a better 5G signal.
Satellite (Starlink)
Starlink's kit includes its own router. You can add a mesh node or use your own router with an Ethernet adapter.
Modem vs. router by provider: what you pay
Xfinity
Xfinity's current plans include its gateway, so there's no separate modem or router fee. Older plans can still carry a monthly equipment fee. You can use your own modem from Xfinity's approved list, or keep the gateway and turn on bridge mode to run your own router. See the best Wi-Fi extender for Xfinity if coverage is the problem.
Spectrum
Spectrum includes the modem on every plan. Its router, Advanced WiFi, is $10/mo, or included with Internet 1 Gig or a bundle. To skip the fee, plug your own router into Spectrum's modem. See the best Wi-Fi extender for Spectrum.
Other providers
Rental fees vary from nothing to about $15/mo. Check your bill for an equipment or Wi-Fi line, and our guide to stop renting your modem for how much buying saves.
Separate modem and router, or a combo?
A combo unit saves space, has one power cord and one box to restart. Separate units cost more up front but let you upgrade Wi-Fi without replacing the modem, and a standalone router usually has better range and settings. If a combo's modem or Wi-Fi fails, you replace both.
For most people on cable: buy a DOCSIS 3.1 modem and a separate Wi-Fi 6 or Wi-Fi 7 router. If you want one box, buy a DOCSIS 3.1 combo approved by your provider. On a budget, the best routers under $50 cover small homes; for larger homes see the best Wi-Fi routers for a big house. Match the router to your plan with what router speed you need.
How to restart your modem and router
- Unplug the power from both the modem and the router (or the gateway).
- Wait 30 seconds.
- Plug in the modem first. Wait until its online or internet light is solid, usually 2 to 3 minutes.
- Plug in the router and wait another minute or two for Wi-Fi to come back.
- Test a device. If the modem light never goes solid, the problem is the line or the provider; check for an outage.
For provider app steps and what the lights mean, see how to restart your modem and router. For outages, see is my internet down?. To keep both running through a power cut, see the best UPS for a modem and router.
Which one causes your problem?
Knowing the difference helps you troubleshoot faster. If the whole house loses internet and a light on the modem is red or off, the issue is usually the modem or the line coming in — restart it first and, if that fails, call the provider. If the internet is working but Wi-Fi is weak in a back room, or devices keep dropping off, that's a router problem, and moving or upgrading the router (or adding mesh) is the fix. Separating the two saves you from replacing the wrong box.
Not sure which one is slowing you down? Run our free speed test wired at the modem, then over Wi-Fi; if only Wi-Fi is slow, it's the router.
Questions
Do I need both a modem and a router?
Yes — a modem connects you to your ISP and a router shares that connection over Wi-Fi. They can be separate boxes or combined into one gateway.
Should I buy my own modem and router?
If your ISP charges a rental fee, buying your own usually pays for itself within a year and delivers better Wi-Fi. Check compatibility with your provider first.
What is a gateway?
A gateway is a modem and router combined in a single device, commonly rented from your ISP. Convenient, but separate units often perform better.
Do I need a modem for fiber internet?
No. Fiber uses an ONT, installed by the provider, in place of a modem. You still need a router, which most fiber providers include.
Can a router work without a modem?
It can run a local network, but it can't reach the internet without a modem, ONT or gateway connecting it to your provider.
Does Wi-Fi come from the modem or the router?
The router. A standalone modem has no Wi-Fi. If your box makes Wi-Fi and connects to the provider's line, it's a gateway.
What is the difference between a router and a switch?
A router connects your network to the internet and assigns addresses. A switch only adds wired ports to a network that already has a router.
Can I use my own router with Spectrum or Xfinity?
Yes. On Spectrum, plug your router into Spectrum's modem to skip the $10/mo Advanced WiFi fee. On Xfinity, use your own approved modem or put the gateway in bridge mode.
Ready to upgrade the hardware? See the best Wi-Fi routers for a big house.
Jean founded ShopHighSpeed after trying to find one straight answer about business internet in his own town. He has been a Comcast and Verizon Fios customer, and ranks providers on what they actually deliver, not on what they advertise.