At the time of the Islamic Revolution in 1979, Zarghami was a 20-year-old student in the civil engineering program at Amirkabir University. He took part in the seizure of the American Embassy in capital, which ultimately lad to the severing of US-Iranian diplomatic relations. He eventually joined the newly-formed IRGC as a radio anchor during the Iran-Iraq War.