In 2018, Federer won his second Hopman Cup title and third overall for Switzerland, partnering Belinda Bencic again. The Swiss team won all its ties and Federer won every match he played. They defeated the German pair, Alexander Zverev and Angelique Kerber, in the final 2–1.