Police have taken a man into custody after a man was shot nearby in Pukekohe, south of Auckland.

The shooting occurred at a house in Hogan St just after 12.30pm.

Police have taken a man into custody in relation to the incident and say he is assisting with inquiries.

The incident also prompted a school nearby to go into lockdown.

Advertisement

The victim, a male in his 50's, has been rushed to hospital with a gunshot to his leg.

The injury was not considered to be life threatening, police said in a statement.

Children and teachers at Paerata School were kept in their classrooms as police searched for the gunman.

School principal Luke Thompson says police told them of the need for a lockdown around 1.15pm, but gave no specific reason.

He says police called again just before 2pm to say they could come out of lockdown, but children and teachers should stay in their classroom until home time.