The Australian senate's passed world-first laws preventing under 16s from using social media.
The ban will come into force at the end of next year, and social media companies will face fines if they fail to take reasonable steps to keep children off.
The ABC reports the late vote last night came as the government rammed through most of its legislative agenda on the final sitting day of the year.
Australia correspondent Murray Olds told Mike Hosking that messaging apps will be exempt.
He says the onus will be on companies to check the ages of users, and he questions what's stopping a 14-year-old saying they're older.
LISTEN ABOVE

Mike's Minute: It's still our year
01:44

Steve Price: Australian correspondent on One Nation looking to bring down the number of international students
07:12

Commentary Box: Andrew Saville and Jason Pine discuss the All Blacks' loss and the Warriors' upcoming clash against the Knights
11:27