State television quoted the Intelligence Ministry as saying it had broken up a CIA spying ring and captured 17 suspects.
A timeline of escalation in the Gulf
A ministry official said some of those arrested had been sentenced to death, the semi-official Fars news agency reported.
The announcement comes after three months of spiraling confrontation with the West that began when new tighter US sanctions took effect at the start of May.
Last week Iran captured a British tanker in the Strait of Hormuz after Britain's Royal Marines seized an Iranian tanker off the coast of Gibraltar in July 4.
"The identified spies were employed in sensitive and vital rivate sector centres in the economic, nuclear, infrastructural, military and cyber areas ... where they collected classified information," said a ministry statement read on state television.
Iran probes seized UK-flagged tanker, Britain to hold emergency meeting
It was not immediately clear if the arrests were linked to the case in which Iran said in June it had exposed a large cyber espionage network it alleged was run by the CIA, and that several US spies had been arrested in different countries as a result of this action.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ