Natalie Ford was punched in the face and had her head slammed against a doorframe before she stabbed her partner, a court has heard.
Ford is charged with murdering her partner Gary Marshall at Orewa, north of Auckland in January last year. She has pleaded not guilty at the High Court in Auckland.
Crown prosecutor Paula Carter told the court that Ford and her partner had been drinking with a friend at a house in Orewa, north of Auckland.
The pair had been in a "volatile" relationship for between three and four months after meeting on Waiheke Island.
"Both had issues with alcohol. It was a relationship marked by physical and verbal abuse with Ms Ford giving as good as she got," Ms Carter said.