All five men have been charged in relation to the unlawful possession of explosives.
One has another charge of unlawful possession of a pistol and ammunition.
All are due to appear in the North Shore District Court today.
Auckland Transport alerted the public just after 7am yesterday, saying part of Sunrise Ave had been closed because of a "police issue".
Neighbouring schools Murrays Bay Intermediate and Murrays Bay Primary School were allowed to stay open, despite the situation.
Police redirected people taking their children to Murrays Bay Intermediate for some time - telling them to use alternative entrances to the school.
A staff member told the Herald police had given them advice that there was no threat to the school, so they were okay to open.