Campaigners on both sides have reacted to the news, with those in support of the ban commending its "integrity" and those against calling it "discrimination".
Puberty blockers are drugs used to delay or prevent puberty happening.
Ministers at Holyrood were advised by an independent panel in July to suspend the use of the drugs until further research had been carried out.
The advice was one of several recommendations from a team looking into how the landmark review by paediatrician Dr Hilary Cass on gender services for children and young people could be applied in Scotland.
In April, Scotland's NHS confirmed it had paused prescribing puberty blockers to children referred by its specialist gender clinic, The Sandyford in Glasgow.
Following the UK health secretary's announcement, the Scottish government confirmed the indefinite ban would also apply north of the border.
A spokesperson said: "The UK government has laid legislation to put in place an indefinite ban on new children and young people aged under 18 years from beginning to take puberty blockers for the purposes of gender incongruence and/or gender dysphoria, under the care of private or non-UK prescribers.
"As medicines policy is reserved to the UK government, this measure will apply to England, Scotland and Wales."