A gannet colony was put at risk last night because of a sand dune fire sparked by fireworks at Muriwai Beach near Auckland.

Photo: 123RF

Fire and Emergency shift manager Carren Larking said the 20m by 20m fire, which began just before midnight, took two hours and six crews to extinguish.

About 1200 gannets nest at the beach from August to March each year.

The Muriwai Volunteer Fire Brigade took to Facebook last night, describing the job and reminding people that fireworks are banned from public places which includes the beach.

Photo: Supplied / Muriwai Volunteer Fire Brigade

A brigade spokesperson said in the post that they drew on the resources of four other volunteer fire brigades to bring the vegetation fire under control.

A fifth brigade was unavailable because they were attending another fire caused by fireworks.

"Just a reminder that fireworks are banned from public places which includes the beach and regional park. There's a lot at risk from fire in the regional park, wildlife like the gannet colony and residents' houses," the spokesperson said.