Meanwhile, the rise in exports was led by milk powder, butter, and cheese, the country's largest commodity export, which increased 8 percent to $1.37 billion.
Dairy exports were driven by increased demand for milk powder from Algeria and Peru, and demand for butter in Iran. The value of dairy exports to China fell $21 million, marking the first decline since November 2016, due to lower exports of milk powder, Stats NZ said.
The value of meat and edible offal exports jumped 17 percent to $689 million, while exports of logs, wood and wood articles surged 26 percent to $292 million. Fruit exports fell 12 percent to $85 million.
The annual trade deficit for the year ended January was $3.22 billion, compared with a $2.88 billion shortfall in December and a $3.37 billion deficit in January last year. Annual goods imports were valued at $57.19 billion, ahead of the $51.9 billion a year earlier, while annual exports increased to $53.97 billion from $48.53 billion.
"We expect some of this weakness will prove temporary, and that the annual trade balance will narrow over the remainder of the year," economists at ASB Bank said in a note.
ASB said weakness in dairy and fruit values reflect normal monthly volatility and were likely to be temporary.
"On top of that, increasing agricultural production should boost export volumes over the remainder of the year," ASB said. "At the same time, import values are likely to remain firm on the back of similarly firm domestic demand."