"So this is massive for our little school," she said.
Pompallier, a decile 3 full primary with 147 pupils, won the medium-size section for schools of 100-299 students by collecting 1650 codes. Marshland School in Christchurch was close behind it and was also awarded $5000.
Pompallier principal Kathryn Carey thanked the Kaitaia community for its support.
"As a small community we don't have a lot, but everyone gets behind each other."
The school has yet to decide how to spend the prize. Because it was a community effort, Mrs Hewitt said she was keen to use it for something lasting and visible so supporters could see the result.