Turkish Prime Minister Recep Tayyip Erdogan has backtracked on a threat to shut down Facebook and YouTube in Turkey.

In comments published in the pro-government Yeni Safak newspaper on Tuesday, Erdogan said the government was determined to fight "fabricated and dubbed" recordings on the internet but acknowledged that a total shutdown of social media was "out of the question".

Erdogan, who is fighting allegations of corruption, had earlier said the government was considering steps to prevent secretly wiretapped recordings from being leaked on the internet, including shutting down Facebook and YouTube.

The prime minister and his ruling AK Party sparked controversy last week, when audio recordings were leaked in which he and his son allegedly discuss how to hide vast sums of money.

The government insists the corruption allegations and leaks are the work of the followers of influential US-based Muslim cleric Fethullah Gulen, who have infiltrated police and the judiciary.

Last month, parliament passed a law that increased government controls over the internet.