Principal Sarah Brown said the idea for the track came from the school's student council, who wanted something to keep fellow pupils busy during breaks and came up with an initial design.
The idea was taken up by the school PTA, which did a "huge amount of fundraising", and Bike On Charitable Trust donated a significant sum for bicycles, a storage container and riding lessons.
It was built during the summer holidays by a Northland landscaping firm, and staff from a local bike shop tested it and gave feedback for design tweaks.
Children can use their own bikes and helmets, or borrow any of the 20 bicycles of various sizes bought by the school as part of the project.
Brown said the school could have opted for an easier flat track.
"But this is giving them more of a challenge. It's been quite a resilience builder. The potential skills they can learn from it are endless."
The track can also be used by the public after school hours.
A pump track gets its name because a skilled rider can complete a circuit without pedalling, instead creating forward momentum by using a pumping motion over obstacles known as rollers.
Pump tracks have been built at Paihia School, Waitangi Mountain Bike Park, Selwyn Park in Dargaville, Whangārei's Pohe Island, Korora St in Ahipara, Bank St in Kaitaia, and other locations.
Funding from the NZ Transport Agency's Bike Ready programme is distributed by the Bike On Charitable Trust via its Bikes in Schools Project.