Turkey's consulate general in the northern Iraqi city of Mosul was attacked early on Wednesday but there were no reported casualties, the Turkish foreign ministry said.
Mortar rounds had fallen close to the building, one official said.
"We condemn this attack...in the strongest terms and expect those responsible to be brought to justice as soon as possible," the ministry said.