Fiona Micklefield has been appointed headteacher of St Lawrence CE Primary School in Alton after nine years as deputy head.
Each pupil wrote and decorated a card to give to Mrs Micklefield and the PTA set up a café for a surprise party for her after school.
She had flowers from the teachers, governors and PTA, and the children sang songs including My Lighthouse.
Mrs Micklefield said: “It is such a privilege to become the next headteacher. This is such a special place with the most dedicated staff, loving pupils, supportive parents and caring community. I am excited for what lies ahead.”