A boy was rushed to hospital after a dog attack outside Auckland's Rongomai School (file photo).

A 7-year-old boy has been hospitalised after two dogs attacked him while he was walking to school.

Do you know more? Email newstips@stuff.co.nz

The incident occurred on Tuesday morning at 7.51am outside Rongomai School in south Auckland's Ōtara.

Auckland Council's animal management spokeswoman Kerri Fergusson said the boy is being treated for bites and scratches to his leg and face at Middlemore Hospital.

READ MORE:

* Dog attack leaves 6-year-old with injuries

* Attack by two dogs on teen female investigated in Invercargill

* 'My dogs aren't vicious mongrels'

"Our thoughts are with the boy and his family, who have been left traumatised by this incident," she said.

"Our officers responded as soon as we received the information, and conducted extensive patrols in the area, but so far we have not been able to locate the dogs."

In a social media post, the school said the boy had "chunks of flesh" ripped from his arm.

It is warning students against walking to school unaccompanied.

"We're not sure who owns the dogs but it might be best for our students to avoid walking to school via the Preston Rd entrance unless they're with a group of other mates or adults," the post read.

The school has been contacted for further comment.

Fergusson described the dogs as "tan coloured" and said they did not appear to have any owners with them when the attack happened.

JOHN BISSET/STUFF Lukey, a nine-year-old collie cross, was brutally mauled by a dog during a walk in Waimate on Wednesday morning.

Fergusson said Animal Management is taking the incident "very seriously" and anyone with information on the attack should get in touch.

"We will be speaking with the boy’s family as soon as we can to get any more details about the attack," she said.

A St John Ambulance spokesperson confirmed a patient was treated at the scene and taken to Kidz First Children's Hospital at Middlemore.