Iran's foreign minister has warned the United States that failure to agree a nuclear deal would likely herald the political demise of pragmatist President Hassan Rouhani, Iranian officials said, raising the stakes as the decade-old standoff nears its end-game.

Mohammad Javad Zarif pressed the concern with U.S. Secretary of State John Kerry at several meetings in recent weeks, according to three senior Iranian officials, who said Iran had also raised the issue with other Western powers. Zarif's warning has not been previously reported.

In a statement posted on the Iranian Foreign Ministry's website, Zarif later denied discussing domestic issues with Western officials.