The US Embassy in Iraq has urged American citizens to leave Iraq immediately and to refrain from visiting the areas surrounding the embassy in Baghdad and the US consulate in Erbil, according to a statement on the embassy's official website.

"Do not attempt to come to the Embassy in Baghdad or Consulate General in Erbil in light of the ongoing risk of missiles, drones, and rockets in Iraqi airspace," the US Embassy in Iraq noted, in particular.

The embassy also urged US citizens to refrain from traveling to Iraq, and noted that the US diplomatic mission area has been repeatedly attacked by various terrorist groups.

Earlier, it was reported that the US embassy building in Baghdad was hit by a missile.