Schools could win $25,000, $15,000 and $10,000 to spend on their school's science or technology equipment, such as 3D printers, virtual reality goggles and robotics kits.
Tangimoana School principal Timu Niwa said it was huge for their little community.
"So many unfortunate things have happened to the school and to the community - like the various floods we've had over the last 10 years," he said.
"The community was staggered to hear that we might make it into the top five and so when they find out about us getting the top prize, it will be such a huge morale boost for the school and village.
"Access to these funds will give me the opportunity to get into the whole area of sustainability and energy really - I can't wait for it all to start."
Niwa said teaching engineering and technology are critical for all tamariki.
"Having our school so isolated and a lot of our kids not having any experience outside of Tangimoana, being able to bring that technology into the school, especially robotics, would open up a whole new world to them," he said.
"As a school, we desire to have a solar panel system so the students could not only learn about energy and sustainability but also save money to spend on more technology.
"There is a whole range of tech gear that would be beneficial to our kids for STEM learning."
The school was voted into the top five thanks to the support of local people.
They then had to impress a panel of tech and education judges to make it to the top three and win a share of the prize pool.