A Tasmanian woman has been charged with attempted murder after firing shots at police who were executing a search warrant.

The search was being conducted as part of an ongoing criminal investigation, with police approaching a house in Collinsvale, around 20 kilometres north-east of Hobart.

As police entered the gate of the property in an unmarked police car, it is alleged that shots were fired at them.

Police car stock photoPolice were executing a search warrant in relation to a criminal investigation. (Getty)

Police later found a bullet hole located near the wheel guard of the car.

When police entered the property, they arrested a 37-year-old woman and a 38-year-old man without incident.

Both were in possession of firearms.

“At this stage, investigators believe the residents did not realise it was police entering the property,” Assistant Commissioner Adrian Bodnar said.

The woman was charged with attempted murder and several firearms-related offences, whilst the man was charged with firearms offences as well as attempted aggravated assault.

Bodnar said no officer – or no resident – should be placed in such a situation.

“Regardless, it is reprehensible that our officers were placed at such risk while performing their duties,” he said.

“This incident could have had tragic consequences, and it was extremely fortunate that no one was physically harmed.”

The pair are expected to appear at Hobart Magistrates Court today.