"Unlike the US, Iran does not interfere in other country's elections," Miryousefi tweeted late on Wednesday, according to IRNA.
Miryousefi wrote in response to remarks made by John Ratcliffe, director of the US national intelligence, who claimed Iran and Russia are seeking to influence the election in the United States.
"The world has been witnessing US' own desperate public attempts to question the outcome of its own elections at the highest level," the Iranian spokesman said.
He also called the accusation as a scenario to weaken confidence of the voters.
US presidential election is slated for November.