Spain has become the latest European country to make plans to ban social media for children under the age of 16.
"We will protect them from the digital Wild West," Prime Minister Pedro Sánchez said at the World Governments Summit in Dubai on Tuesday.
According to the BBC the ban, which still needs parliamentary approval, is part of a raft of changes that include making company executives responsible for "illegal or harmful content" on their platforms.
Australia became the world's first country to bring in a ban last year, with others watching - and judging - its success.
France, Denmark and Austria have also announced that they are considering their own national age limits.
Sánchez said he hoped to get the laws passed next week, but that could prove difficult because his left-wing coalition government lacks a parliamentary majority.
Spain's main opposition party, the conservative People's Party, seems to approve of the ban, saying it has previously proposed similar restrictions. The far-right Vox party has spoken out against it, however.
In response to the announcement, X owner Elon Musk labelled Sánchez as a "tyrant and traitor to the people of Spain".
TikTok, Snapchat, YouTube, Reddit, Discord and Meta, which owns Facebook and Instagram have all been approached for comment.
France has led the charge in Europe, with President Emmanuel Macron saying he wants a ban for under-15s in place by the start of the next school year in September.