NEW DELHI — Prime Minister Narendra Modi, one of the most powerful and divisive leaders India has produced in decades, appeared headed for re-election, according to exit polls released Sunday at the end of mammoth parliamentary elections.
Mr. Modi seems to have emerged from the largest democratic vote in human history relatively unscathed by growing complaints across India about joblessness and distress on farms.
According to all of the major exit polls, Mr. Modi’s brand of brawny Hindu nationalist politics, coupled with his efforts to project a strong image of India abroad, played well among the 900 million registered voters. If the voter surveys prove accurate, Mr. Modi is positioned to govern with a strong hand for five more years.
To the very end, he campaigned as a passionate Hindu. Mr. Modi spent Saturday night and Sunday morning, the last day of the election, praying at a Hindu shrine and meditating in a remote Himalayan cave.
At least seven exit polls released by Indian media organizations on Sunday night predicted that Mr. Modi’s party, the Bharatiya Janata Party, or B.J.P., and its allies would win at least 280 of the 545 seats in the lower house of Parliament, empowering them to choose the next prime minister.
If the actual results back the polls up, it will be a much more dominating performance than many analysts had thought was possible. Official results are expected on Thursday.
“The exit polls are surprising,” said Sudha Pai, a former political science professor at Jawaharlal Nehru University in New Delhi, the capital. Mr. Modi’s social media efforts and the fact that the opposition was divided delivered bigger-than-expected gains, she said.
Similar exit polls in other recent Indian elections have accurately predicted the broader trends.
The exit polls this time forecast that the Indian National Congress, the leading opposition party, would do marginally better than its stunning defeat in the last elections in 2014. But it still seemed destined to remain a distant second.
Rahul Gandhi, Congress’s leader and the scion of an Indian political dynasty, had tried to pick up votes by appealing to communal harmony and minority rights. But that seemed no match for Mr. Modi’s aggressive and well-financed campaign machine, which enjoys the fervent support of many grass-roots groups within India’s Hindu majority.
“One thing we know for sure is that Modi remains incredibly popular despite everything that’s happened in the last five years,” said Milan Vaishnav, a South Asia expert at the Carnegie Endowment for International Peace. “Nothing really sticks to him.”
The elections were a six-week affair. Voting was conducted in stages, with different parts of the country voting at different times. The first votes were cast in mid-April and the last ones were on Sunday. All results will be released together, on Thursday.
Indian officials moved from constituency to constituency across this vast landscape, from high snowy mountains to lush tropical isles in the Andaman Sea.
Wherever he campaigned, Mr. Modi made national security a major issue. Earlier this year, grumbles about his missteps on the economy had been growing, and farmers had protested against his government, saying its policies were making them poorer.
But in February, Mr. Modi got a huge boost. After militants struck Indian forces in the disputed territory of Kashmir, which both India and Pakistan claim, Mr. Modi ordered airstrikes on Pakistan.
No matter that independent security analysts said the airstrikes missed their targets. Or that Pakistan downed an Indian fighter jet the next day.
Indian flags popped up across the country overnight, raised by a burst of jingoism, and Mr. Modi’s approval ratings swiftly increased.
As news of the exit polls spread, the people most distressed were India’s minorities. Under Mr. Modi’s government, mob violence against Muslims, who make up about 14 percent, and lower caste Hindus has increased, and the bloodshed often goes unpunished.
Mr. Modi’s brand of politics, rooted in Hindu supremacist groups that believe Hindus are the rightful rulers of India, has polarized this heterogeneous country, raising fear and tensions.
If the exit poll data is any indication, it seems the opposition parties’ complaints that India has become more divided under Mr. Modi did not change many voters’ minds. According to the data, Mr. Modi’s party won in most of the areas it won in the last election.
The big losses that some political analysts had predicted in northern India do not seem to have materialized.
India Election 2019: A Simple Guide to the World’s Largest Vote
How does the election work? Will Modi win? What are the main issues facing India and its 900 million voters?
Like any exit polls, those in India are imperfect, but their accuracy has improved in recent years.
The major exit polls in 2014 correctly predicted a win for the B.J.P.-led coalition. In 2009, exit polls accurately forecast that Congress would gain the most seats, though the data underestimated the number ultimately won by the Congress alliance.
The current exit polls were conducted by Indian research and survey organizations, many with decades of experience, which partnered with news media outlets. According to the polling organizations, the sample size for each exit poll varied from 40,000 voters to two million.
Some analysts have cautioned that exit polls may overstate Mr. Modi’s support because some people would be scared to say they voted against him. But overall, political scientists said they seemed reliable.
“In the majority of the cases, exit polls have depicted the true picture,” said Josukutty Cheriantharayil Abraham, director of the survey research center at the University of Kerala. “It may not be correct in terms of the number of seats or vote percentage, but it could definitely show the trends.”
Mr. Gandhi did not comment on the exit polls. After the voting ended, he complained in a Twitter message that India’s election commission’s “capitulation before Mr. Modi and his gang is obvious to all Indians.’’
In contrast, the B.J.P. posted a cartoon on Twitter of Mr. Modi crushing a scattered opposition with a giant lawn mower as spectators give him the thumbs-up.
“With this,” the illustration read, “the opportunistic hodgepodge is over.”