In 2020, Hamidi was appointed as the acting head of the Ministry of Education in Afghanistan, becoming the first woman in 30 years to lead the education ministry in the country. She stated strong support for initiatives especially targeting girls. In December that same year, the Afghan parliament rejected a vote of confidence for Hamidi in the role. Then, in January 2021, Hamidi fired 11 ministry of education advisers. The suspended advisers said there were plans to fire another 1,400 employees in the near future, with one fired employee claiming "Hamidi is practising nepotism in the Ministry of Education, she is dealing with the issues politically and in a biased way." In March 2021, Afghanistan's Education Ministry barred schoolgirls older than 12 from singing at public events. A Ministry spokeswoman, Najeeba Arian, said the decision was made after suggestions by students and parents. The decision sparked outrage on social media platforms and criticism of Hamidi. Some observers said that these were policy maneuvers promoted by Hamidi to appease hardline religious parliamentarians. The ministry then described the ban as "misunderstood", saying it was related to measures to clamp down on mass gatherings between girls and boys in a bid to stop the spread of
Coronavirus disease 2019 (COVID-19). By early April, the Ministry backtracked on a decision, with Arian issuing a statement claiming that the letter did not actually reflect the official stance of the ministry. In 2020, the education ministry faced a backlash for decreeing that students receive all lessons during their first three years of schooling in mosques to help inject an “Islamic spirit” into the students, but after public criticism, this decision was also reversed. In July 2021, speaking at the Global Education Summit in London, Hamidi said she was confident in her country's security forces to prevent the Taliban from completely taking over all of Afghanistan and that she feared their return. “My biggest fear is, God forbid, a return of 1996 when, literally, girls were pulled out of school, schools were shut down, female teachers were sent home, female workers in any sector were sent home.” When several high-profile politicians, including the Afghan president,
Ashraf Ghani, fled from Afghanistan during the
Fall of Kabul in August 2021, Hamidi decided to stay in Afghanistan to try to continue to head education efforts. In an interview with
BBC World News, she expressed her shock regarding the fleeing of Ghani and revealed that she is scared of the consequences she might face. On August 23, 2021, an Afghan news agency tweeted a photo of Hamidi meeting with the Taliban, which many assumed meant she was still acting education minister. But on August 29, news accounts quoted "the new acting higher education minister, Abdul Baqi Haqqani" in stories on the Taliban requiring all classes to be separated by gender. == Post-government activities ==