Zarghami was born into a religious family in 1959. Despite his father never purchasing a television, Zarghami became a cinephile. While in high school, he was the classmate of Hassan Tehrani-Moghaddam, who is widely regarded as the father of Iran's domestic ballistic missile program: Tehrani-Moghaddam was killed in 2011.