After retiring from football in 2007, Barthez began a career in motorsport in 2008. He began competing at selected events in the Porsche Carrera Cup France that year with the team SOFREV Auto Sport Promotion. He also competed at two events in the THP Spider Cup. In 2009, he raced in a number of various motorsport series such as the French GT Championship, Bioracing Series and the Caterham Sigma Cup France as well as the Porsche Carrera Cup France. He continued to race in the FFSA GT Championship in 2010 and picked up his first podium in race 1 at Dijon-Prenois. In the 2012 season, he won his first race in the FFSA series at the Circuito de Navarra in race two and finished seventh in the championship. In 2013, he was crowned French GT Champion alongside Morgan Moullin-Traffort, driving a Ferrari.