Students at a school on the NSW Mid North Coast got more than they bargained for when they discovered snake eggs in their sand pit.

Wildlife volunteers were called to the school in Laurieton on December 20 and removed 12 eggs from the sandpit.

Later that same afternoon, the students discovered more eggs buried in the sand.

The sand pit was closed for safety reasons so that volunteers could thoroughly search the area and remove the eggs.