Around 50,000 soldiers, police, judges, civil servants and teachers have been suspended or detained since the coup attempt, stirring tensions across the country of 80 million which borders Syria's chaos and is a Western ally against Islamic State.

"This parallel terrorist organization will no longer be an effective pawn for any country," Prime Minister Binali Yildirim said, referring to what the government has long alleged is a state within a state controlled by followers of Fethullah Gulen.

"We will dig them up by their roots," he told parliament.

US President Barack Obama discussed the status of Gulen in a telephone call with Erdogan on July 19, the White House said, urging Ankara to show restraint as it pursues those responsible for the coup attempt.

In parallel talks, US Defense Secretary Ash Carter and his Turkish counterpart discussed the importance of Turkey's Incirlik Air Base in the campaign against Islamic State in Syria and Iraq, the Pentagon said.