Turkey and Iraq have agreed to "expend all efforts" to oust a Kurdish separatist group from northern Iraq.
Turkey had wanted to complete a counter-terrorism agreement
Turkish PM Recep Tayyip Erdogan and his Iraqi counterpart, Nouri Maliki, signed a memorandum of understanding on security issues after talks in Ankara.
Ankara had warned Iraq to crack down on the Kurdistan Workers' Party (PKK) within its borders or face a possible incursion by Turkish troops.
Around 80 Turkish soldiers have died in skirmishes with the PKK this year.