Bob McConnell, a retired engineer, set up a new wireless router in his home this year to get faster Internet speeds. Instead, he got the opposite, with his iPad often getting no wireless connection in his bedroom.

For days, he tinkered with the router’s settings, but couldn’t figure out a fix. “It was totally ruining my life,” said Mr. McConnell, who lives in a condominium building in Kirkland, Wash. “Things would work, and then the next morning they wouldn’t work again.”

What Mr. McConnell experienced is a situation we call “Wi-Fi headache,” and it’s an ailment that many can relate to. The condition is rooted in the networking devices called routers that people install in their homes for Wi-Fi connectivity. Most routers are difficult to configure for anyone who doesn’t work in an information technology department. Jargony tech terms like 802.11 or dual-band add to the confusion when people upgrade a router or try to decide which one to pick.

So to diagnose and cure Wi-Fi headaches, we teamed up with The Wirecutter, the product recommendations website. The Wirecutter put dozens of top-rated routers and devices through hundreds of hours of testing to pick out the best router for most people and come up with other recommendations tailored to different living situations and budgets. It also ran new tests for The New York Times to come up with best practices for getting a stronger, faster Wi-Fi signal.