Children and teenagers will be banned from using social media from the end of next year after the government's world-first legislation passed the parliament with bipartisan support.
It followed an hour of spirited debate that saw crossbenchers question and heckle the major parties over what they said was a rushed and flawed law.
Social media companies also won't be able to force users to provide government identification, including the Digital ID, to assess their age.
The bill was introduced to parliament last Thursday and was referred for a Senate inquiry the same day.
There are social media icons next to her Legislation to ban under-16s from social media will be put before parliament next week, but some platforms could be exempt from the proposed changes.
Danielle Einstein, a clinical psychologist who has supported the campaign to raise the age at which kids can access social media, said social media offered no mental health benefits for young people as far as she could see.
"We need to tread very carefully or we risk dialling back young peoples' rights and pushing them into more isolated, less supported places. »