Firefighters were called to a fire at Ysgol y Preseli on Thursday afternoon.
Crews from Crymych and Cardigan were called to the school at 1.09pm, following a report of a fire involving a wood-working machine.
A Pembrokeshire County Council spokesman said: “The Fire Service was called to Ysgol y Preseli following a minor fire in the Design and Technology department.
“All staff and pupils were evacuated safely and no one was hurt. The building was made safe by 1.45pm and all pupils returned to their lessons by 2.30pm.”