Two rockets crashed late Wednesday into the Iraqi capital's Green Zone, the high-security enclave where foreign embassies including the US mission are based.
No one was reported to be injured or dead in the attack.
"Two Katyusha rockets fell in the Green Zone, no people were injured," the security services' press service wrote on the Twitter page on late Wednesday.
Just before midnight, two loud blasts were heard in Baghdad, followed by the wailing security sirens of the Green Zone.
The attack came nearly 24 hours after Tehran launched ballistic missiles at Iraqi bases housing American and other coalition forces.
The strikes were in retaliation for a US drone strike that killed top Iranian general Qasem Soleimani and Iraqi commander Abu Mahdi al-Muhandis last week.
Muhandis had been the deputy head of the Hashed al-Shaabi, a web of armed groups incorporated into the Iraqi state but which also have close ties to Tehran.
The United States had accused Hashed groups of being behind a string of rocket attacks on the US embassy in Baghdad and bases hosting American troops across the country.