The 2007 Tour de France was affected by a series of scandals and speculations related to doping. By the end of the Tour, two cyclists were dismissed for testing positive and the wearer of the yellow jersey was voluntarily retired by his team for lying about his whereabouts and missing doping tests. A fourth rider was confirmed to having used doping while in a training session prior to the 2007 Tour and a fifth rider tested positive late in the race, with his result being officially announced just after the end of the Tour. During the competition, two teams were asked to withdraw after at least one member was found to have doped.
The events generated criticism and a general distrustful attitude toward the sport of professional cycling from media and public opinion. The doping allegations also resulted in several team sponsors threatening to retire their support if events advanced further. Some media such as German TV channels ARD and ZDF left the Tour once the first scandals broke. Following the Tour's conclusion, the sport's governing bodies spoke out about ways to combat the prevalence of doping in cycling and key team sponsors elected to withdraw their support due to the reputational damage caused by the scandals. The 2007 Tour de France has been referred to as one of the most controversial Tours. After the end of the Tour, The Times of London ranked it 4th in its list of the top 50 sporting scandals.
Since the introduction of doping tests in 1964, many cyclists were caught in the Tour de France. In recent years, 1996 Tour de France winner Bjarne Riis and points classification winner Erik Zabel, along with most of their Team Telekom team-mates, confessed to using erythropoietin (EPO). In 1997, former points classification winner Djamolidine Abdoujaparov was disqualified from the Tour de France for doping use. In 1998, the Festina affair had several main contenders removed from the race. In the next years, several riders were removed from the Tour de France for doping (see List of doping cases in cycling).