Yes, John Mayer and Taylor Swift were briefly involved in a romantic relationship. The two musicians dated in 2009, and their relationship became a subject of media attention due to the significant age difference between them. Their relationship inspired Taylor Swift's song "Dear John," which alluded to the challenges she faced during their time together.