Pupils at Ashville College's Prep School in Harrogate have raised £941.50 for Martin House Children's Hospice.
The fundraiser included a pyjama day and a movie night.
Pupils wore their pyjamas to school and Marty Bear joined in with the ‘Wake Up, Shake Up’ session.
The school said:
“A huge thank you to everyone who supported the event.
"Your generosity will help support the vital care and services Martin House provides to local children and their families.”
Martin House cares for children and young people with life-shortening conditions across North, West and East Yorkshire and offers bereavement support to families.
The hospice relies almost entirely on donations and fundraising to provide its care free of charge.

Grantley Hall wins Condé Nast award for garden design
Harrogate tanning salon welcomes new owner
Bramham Park to welcome Helen Skelton for Christmas market debut
Veterans selling poppies on Northern trains say support from passengers has been 'heartwarming'
Knaresborough lingerie shop wins national body confidence award
Starbeck Tandoori named regional Restaurant of the Year
Police increase patrols after burglaries in Harrogate and Pannal
Harrogate's West Park Hotel to launch Alpine-inspired winter courtyard
Spire Harrogate Clinic rated 'Good' following CQC inspection
Harewood House reveals first look at new Christmas experience
Harrogate art exhibition highlights campaign to protect vulnerable adults
Winners revealed for Deliciously Yorkshire Taste Awards
Bettys in Harrogate set to unveil Christmas window
Overnight A59 closures planned as Kex Gill road works reach final stages
Harrogate School of Swimming to launch lessons at Ashville College
New cafe and bistro opens on Harrogate's Regent Parade
North Yorkshire councillors warned jokes and banter can cause offence under new rules
Myrings celebrates another gold award at national estate agency event
New deli opens in Ripon
Spofforth children call for crossing to make school walk safer


