Music superstar Ed Sheeran performed a surprise gig for youngsters in their classroom.

The Shape of You singer dropped into Fairlight Primary School in Brighton last Friday to meet with the children, who are learning how to play music, and tell them about his career.

Sheeran, who is among the top artists on streaming platform Spotify, performed a set in the classroom before donating guitars to inspire them to keep playing.

The Argus: Ed Sheeran signing one of the youngsters' guitarsEd Sheeran signing one of the youngsters' guitars (Image: Sadie Avard / @sas.tudios)

He sang his chart-topping hits at the front of the classroom including Perfect, Shape of You and Shivers - with the school singing along with every lyric - children and teachers.

A spokesman for the school said: "Our Monday singing assemblies won’t be the same again. 'If you're happy & you know it...' hasn't got the same pull. "

The Argus: Ed Sheeran watching youngsters learn the drumsEd Sheeran watching youngsters learn the drums (Image: Sadie Avard / @sas.tudios)

The musician played guitar with the youngsters and watched them perform some of their own songs. He even signed some of the students' guitars before heading off.

Sheeran kicks off his next world tour at the end of May in New York.

The Argus: Ed Sheeran played the guitar with some of the childrenEd Sheeran played the guitar with some of the children (Image: Sadie Avard / @sas.tudios)

The visit was organised by Create Music, part of the Brighton Dome, which helps young people learn music in and out of their classrooms.

A spokesman for Create Music said: "Encouraging a passion for music supports our vision for a future where lives are forever transformed by the power of music - no one understands that better than Ed Sheeran."