Short answer
Usually it is a poor choice. A closed cabinet blocks and absorbs some of the signal, and it traps heat. If you can, put the router on top of the cabinet or on a nearby shelf, out in the open. If a cabinet is the only spot, the tips below can reduce the damage.
Why closed cabinets weaken the signal
Cabinet walls, shelves and doors absorb and reflect Wi-Fi signal. Wood, particle board, metal and metal-backed panels all add loss, and a solid door adds more. The signal leaving the cabinet has to get through all of that, so less of it reaches the rest of the home.
Heat is the bigger risk
Routers give off heat while they work. A closed cabinet holds that heat in, and a router that runs hot may slow down or drop connections. Many people ask: can router overheating cause wifi to drop? It can, and a closed cabinet makes it more likely.
To check, touch the top of the router after an hour of normal use. If it feels hot, it needs more airflow.
Open and glass-front cabinets
Open shelves are better than closed cabinets, and a glass-front or open-back unit is better than a solid one. They still limit the signal and the airflow, though, so treat them as a compromise.
If a cabinet is the only option
- Remove the doors, or leave them open if you can.
- Leave space at the back and sides for air to move. Do not stack items on or against the router.
- Place the router on a shelf near the front of the cabinet, not on the bottom.
- If the router has external antennas, keep them out of the cabinet and angle them toward open space. For the angles, see should wifi router antennas point up or sideways.
- Test the result, and keep the setup only if coverage is better than before.
Better spots to try
- The top of the cabinet, or a shelf close by, if the room is near the middle of the home.
- A wall mount nearby. Mounting raises the router and keeps it out of the way, though there are trade-offs. For the details, see should you mount wifi router on wall.
- A more central spot in the house. For the general rules, start with where to put wifi router for best coverage.
Check the difference
Measure coverage before and after you move the router, using the same device at the same spots. Learn how to test wifi coverage in house. Signal readings in dBm are easier to compare than bars, and readers often ask: what does wifi signal strength dbm mean? A reading closer to zero is stronger, so -55 dBm is stronger than -70 dBm.