The five men appeared separately in Waitakere District Court this morning via audio-visual link before Judge June Jelas, wearing boiler suits and masks.
They were granted interim name suppression and remanded in custody without plea until their next court appearance on December 1.
Their lawyer Mark Ryan said there had been suggestions of gang tensions and that was one of the reasons why they were remanded in custody, for their own safety.
The arrests come after emergency services were called to Virgo Place yesterday afternoon after reports someone had been seriously injured during an altercation.
After police arrived, a man suffering from serious injuries arrived at Waitakere Hospital. He was later transferred to Auckland City Hospital in a critical condition.
He remains in a critical condition this morning, authorities confirmed.
"Police inquiries are ongoing into the incident and we are unable to rule [out] further charges being laid," McNaughton said.
A scene examination is continuing today on Virgo Place.