The US cannot topple the Islamic Republic unless the government itself alienates the public, President Masoud Pezeshkian said, according to the presidency's website.
Pezeshkian has made the argument before. In July he called the economy the main battleground in the war with the US and Israel, warning that hardship could erode public backing for the government.
He said economic hardship, social divisions and unequal access to public services could undermine stability if left unaddressed.
"America and other adversaries can never bring us down unless we ourselves weaken the country by disregarding the people," Pezeshkian said.
He was speaking at the launch of a neighbourhood governance programme in Tehran. He pledged to improve living standards, saying he would spare no effort, even at the cost of his life.
Local communities should play a greater role in identifying residents' needs, particularly in healthcare, education and welfare, he said.
The president said public services should be provided without discrimination by political affiliation, ethnicity, gender or age.
He urged officials to avoid infighting and the exclusion of people with differing views. Adversaries were trying to exploit domestic divisions after failing to force Iran into submission through war, he said.
Pezeshkian also called for closer ties with neighbouring Muslim countries, saying overland transport routes could help blunt sanctions.
The US launched a task force in November to cut Iran's land and Caspian Sea supply routes, alongside its naval blockade.
The government's role was to serve the public rather than rule over it, Pezeshkian said, adding that local participation could help train future public administrators.
The programme aims to widen neighbourhood participation in local administration and improve coordination between government bodies and community groups. Pezeshkian also launched a scheme to strengthen neighbourhood interest-free loan funds.