The new measures, contained in a bill that was submitted to parliament by the ruling Justice and Development Party (AKP), come after the introduction of a law in February making it easier for authorities to block access to web pages without a court order.
This was limited to "attacks on privacy" but the new law, approved late yesterday, strengthens these powers and allows the telecoms authority TIB to block websites "to protect national security, public order and to prevent crime" without a court order.
It also allows the TIB to store online communications and traffic data for up to two years, including information on which websites were visited by Internet users and for how long.
Until now, only hosting providers were allowed to store the information. The TIB was able to obtain the data only as part of a criminal investigation or upon a court order.
More From This Section
The law raised eyebrows coming just a week after Turkey hosted a major UN-backed forum on Internet governance, where some participants denounced the Turkish government's "draconian" curbs.
"By increasing the possibility of blocking sites in this way, the authorities are yet again reaffirming their determination to control the Internet," it said in a statement.
The main opposition Republican People's Party (CHP) has fiercely opposed the law and has vowed to continue the fight in the Constitutional Court to overturn it.
Erdogan, who was elected president last month after ruling Turkey as premier for over a decade, has made no secret of his disdain for social media, comparing it to a "murderer's knife" and once famously vowing to "wipe out" Twitter.
The move sparked outrage both at home and abroad and triggered concerns that Erdogan was seeking to increase his powers to silence critics and accelerate a slide towards authoritarianism.