The race was neutralised after 30km, between Carcassonne and Bagneres-de-Luchon in south-western France, as police dealt with the protestors using tear gas according to reports on the ground.
Police then used a spray to tackle some of the protesters as the race approached, and it appeared to get into the eyes of a number of riders.
Team Sky’s Thomas was seen wiping his eyes while Sagan used his water bottles to wash his eyes.
The race was stopped completely while several riders received medical treatment from the doctor’s car at the rear of the peloton.
After a 15-minute interval, the race resumed with a short neutralised section before the flag was dropped once more with 33km of the 218km distance covered.
Farmers’ protests are nothing new at the Tour, but the incident will add to the intense security situation in this year’s edition.
Team Sky’s Chris Froome was jostled and spat at on Alpe d’Huez, while 2014 winner Vincenzo Nibali saw his race ended after he was brought down in a tangle with a fan on the same mountain.
Tuesday’s stage takes the race into the Pyrenees for the first time as the final week begins, with Thomas looking to hold on to a lead of one minute and 39 seconds over team-mate Froome, with Team Sunweb’s Tom Dumoulin a further 11 seconds back.
Pics loading
[ATTACH=full]185437[/ATTACH]
[ATTACH=full]185439[/ATTACH]
[ATTACH=full]185440[/ATTACH]
A police officer pepper sprays a protester as another stands in front of a car carrying race officials.
Protests by farmers and trade unionists have frequently blocked or delayed the Tour and other major races. In recent years, efforts have been made in the Pyrenees by sheep farmers angered by the reintroduction of bears to the mountains. Perhaps the most famous incident occurred in 1984 when Bernard Hinault, a five-time winner of the Tour, punched a shipyard worker who was part of a protest over layoffs that stopped the early season Paris-Nice race.
[ATTACH=full]185441[/ATTACH]
The field waits for the stage to resume