Scotland is the first country in the United Kingdom to outlaw spanking and other physical punishment for children.
The bill will "give children the same legal protection from assault that adults currently enjoy," says John Finnie, a member of the Scottish Parliament who introduced the bill.
The bill passed by 84 votes to 29.
At least 57 other countries already ban child corporal punishment, with Sweden becoming the first to do so, in 1979,according to the BBC.
Adults and caregivers before could use "reasonable" physical force as punishment, the British broadcaster reported.
"I hope that Scotland will take this opportunity and then it can say with some justification that it’s the best place for a child to be brought up," Finnie told the British Press Association before the vote.
Scottish law now bans all forms of physical punishment, including smacking, kicking, shaking, throwing or scratching children, among other forms of assault, according to the BBC.
In practice, Scottish law allowed some hitting or smacking of children under 16 on their bodies, but did not allow hitting on their heads or shaking, the BBC reported.
Photo: Getty Images