The North Otago School is one of 10 winners of an Air New Zealand competition to see which schools could gather the most airpoints.
Maheno School principal Ryan Fraser said people from all around Maheno and North Otago contributed points to the school to help it with the competition.
Ninety schools from around New Zealand entered the competition.
As winners, all 51 pupils at the rural school will travel free to Wellington to visit the National Museum of New Zealand Te Papa later this year.
Teachers and parents going on the trip will pay their own fares.
Maheno School pupils are no strangers to group travel. Last year, year 7 and year 8 pupils, staff and parents travelled to Fraser Island in Queensland, Australia, to see the wreck of the former hospital ship SS Maheno as part of the Anzac Day commemoration there.
Another trip to Fraser Island next year by senior pupils is being planned.