Since Modi came to power, more than 52 million toilets have been installed. But the trick, sanitation experts say, is getting people to use them.
To win favour with the ruling party's top brass, government officials have set to work, trying to outpace one another with toilet-building races and eye-catching information campaigns. Many are resorting to controversial public shaming tactics.
"This is harassment," said one villager, Ranjit Gonjare. "The person becomes the laughing stock of the village."
India's sanitation crisis is an urgent priority: 53 per cent of Indian households had no toilet in 2011, the latest census figures show.
Human feces litter public spaces, spreading diseases that contribute to hundreds of thousands of deaths every year. People wait all day to defecate in darkness, which has health and safety implications. Children, especially menstruating girls, skip school because of a lack of toilets.
One report pegged the economic cost of India's sanitation problem at US$106.5 billion in 2015, 5.2 per cent of the country's gross domestic product.
Santram Gonjare felt the sting of humiliation one recent morning, when a squad flagged him down as he was walking along a highway.
They knew what the 55-year-old was about to do because he was holding a pail of water that he would use to wash himself after defecating. They knocked the pail out of his hand and crushed it under their feet. Then they offered him a flower, a sign of goodwill, and told him to use a toilet in the future.
Gonjare hung his head as he walked home. He went out, he said, because his nine-person household has only one toilet, and he couldn't bear to wait his turn. "How can that feel okay?" he said of his experience with the squad. "I felt worthless. It's not the right way to treat old people."
Such encounters are routine in Beed, where people without toilets risk having their welfare benefits taken away and can be barred from running for public office.
Elsewhere, officials use methods that verge on coercion - or worse. In one recent case, a man was publicly lynched after he tried to stop authorities from photographing women who were defecating in the open. A news channel urged viewers to send in images and names of those who defecate in the open so they could be shamed on national television.
"This work has to be done," said Dhanraj Nila, chief executive of Beed district, who regularly goes out on morning patrols. He said the squads' shaming methods were necessary to "motivate" people to use toilets. "People keep saying Beed is a backward district. We don't want to be left behind."
Modi's Clean India mission has drawn international support. After a recent visit to India, Bill Gates extolled the mission's "impressive" speed. USAID pledged US$2 million annually and introduced ranking systems to trigger "competition between cities".
People keep saying Beed is a backward district. We don't want to be left behind
The World Bank offered a US$1.5 billion loan to help speed the sanitation programmes. Unicef is providing training and education tools, although a spokesman distanced the organisation from the Indian Government's "name and shame" programmes.
Some argue Modi is overly optimistic about the pace of change.
"No country anywhere in the world has come anywhere close to eliminating open defecation that fast," said economist Dean Spears, a sanitation expert, referring to the 2019 target. "There's no reason to think this is going to be an exception. It's very easy to say that it's a behavioural-change programme. But when 500 to 600 million people defecate in the open, you need an awful lot of people on the ground to change that."
India is vast and difficult to govern; in outlying regions such as Beed, where central control is weak and corruption levels high, shame and honour are the mechanisms through which communities police themselves. Many villagers in Beed praised the Government's methods, showing off areas that were once open-air toilets and now are children's playgrounds.
Many said the squads are doing a service. "This is the only way. People have stopped (defecating) outdoors because of fear," said Meera Bandu Bhise, one of Gonjare's neighbours.
Satish Umrikar, who oversees sanitation activities in the state of Maharashtra, where Beed is located, said the mission's ambitious targets are crucial to its success. An estimated 91 per cent of people in rural areas in Maharashtra now have access to toilets, double the percentage in 2014, with 1.9 million installed in the past fiscal year.