Police cordoned off a section of Dixon St in Masterton on Monday between Crayne and Herbert streets to investigate a shooting that happened on Sunday night.

An armed man suspected of being involved in the shooting of a woman on a Masterton street was caught with a shotgun in the early hours of the following morning.

A Masterton woman, in her 20s , suffered serious leg injuries after being shot outside a house on Dixon St about 9pm on Sunday.

Wairarapa Area Commander Detective Inspector Scott Miller said the suspect, a Masterton man, 30, was carrying a shotgun when armed police caught him behind properties on Oxford St in Masterton.

He has been charged with ​two counts of attempted murder and two counts of intent to cause GBH with firearm

READ MORE:

*One person hospitalised after firearm incident in Masterton

Miller said another suspect, a 29-year-old woman, was picked up at a Masterton house overnight after being identified by witnesses at the scene of the shooting. She has been charged with attempted murder.

Both were due to appear in Masterton District Court.

Police want to speak to one other person who may have been involved .

The alleged shooting happened after a group of people turned up to a house on Dixon St and confronted another group who were at the house. Miller said there was a confrontation on the street and the woman was shot.

The Armed Offenders Squad were brought in and police started searching properties.

The man was found near the railway tracks behind houses at the end of Oxford St in west Masterton.

When confronted by the armed police he surrendered without incident, Miller said.

"It was an excellent result. The AOS reacted very quickly. We discussed with the people who were involved and we systematically worked through those areas."

On Monday police closed off a section of Dixon St to carry out a scene examination. Road blocks at Crayne St and Herbert St prevented through traffic along the town's busiest streets.

A forensic tent had been put up on the footpath outside a house opposite Norris Way.

Miller said they wanted to preserve evidence such as blood and footprints and he expected that part of the street would be closed off "most of the day".

The victim received serious wounds to her leg and she was taken to Wellington Hospital for surgery. Her injuries are not thought to be life threatening and she is in a stable condition.

Police say the woman was known to those arrested.

"We are still working through how many people were involved. We're confident that the main people involved were the people we have in custody," Miller said.

Anyone who heard or saw anything are encouraged to come forward with any information that may help locate others involved, police said.