Charlie Booth, 16, was worried he would get into trouble after police visited to discuss sexual text messages he sent to a girl.
He was described as a “remarkable young man” by his headteacher at the prestigious £10,000-a-year Gads Hill School in Higham, Kent, set in the former home of Charles Dickens.
Charlie was found dead by his parents on March 8 at their home in Watling Street, Cobham, Kent.
The coroner ruled that Charlie took his own life.
Hours before his death police were called to the family’s home between 6pm and 7pm to reports of text messages of a sexual nature being sent to a girl, the inquest at Gravesend’s Old Town Hall heard.
Det Sgt Lee Neiles, of Kent Police, told the inquest: “She wanted them to stop.
“Nick (Charlie’s father) gave him words of advice and they went to KFC in Valley Drive in Gravesend and Nick said he (Charlie) had to be careful about contacting young girls.