Esha Momeni was detained in mid-October during a visit to Iran from the United States to see family and carry out research on the women's movement in the Islamic Republic. She was freed on November 10 after spending almost four weeks in a Tehran prison.
"She is freed on bail. I believe there are no obstacles if she wants to leave her country," judiciary spokesman Alireza Jamshidi told a news conference.
But he added she must return when she is due to appear in court in the case. Asked about a report that the court still held her passport, Jamshidi said: "She would most probably be able to go and get it."
There was no immediate comment from Momeni or her family.
The judiciary has said Momeni was accused of acting against national security and of making propaganda against the Islamic Republic's system of government, a common charge against Iranian dissidents. Momeni holds dual Iranian and U.S. citizenship.
Women's rights activists say Momeni was detained after interviewing campaigners for a film she was working on as part of her studies in California. She was released after a deed to her family's home in Iran was posted as bail.