The number of children reported to prosecutors for sexual offences has risen by 21% in four years, new figures have revealed.
There was also a 34% rise in the number of children being reported as the perpetrators of sexual offences where the victim was another child.
Sexting - sharing intimate images - is one reason for the increase.
Leading prosecutors said the figures show the need for better education of young people.
Alison Di Rollo, the solicitor general, is to host a summit in Glasgow on Friday, to help professionals prevent future sexual offending by children.
She said: "Too many children and young people are coming to the attention of the police and the prosecution service in relation to sexual offending.
"There is a growing body of evidence that indicates that the most significant factor in determining whether a child will commit criminal offences in the future is contact with the criminal justice system at a young age.