Oil exports - which offset about a quarter of oil imports - declined the most, 12 per cent, over the past year, followed by exports of manufactured goods, down 6 per cent.
In seasonally adjusted terms the trade balance last month was a surplus of $83 million, compared with a deficit of $311 million in January.
"This improvement may continue for another month or two before the drought begins to weigh on commodity export volumes and as the Canterbury rebuild increasingly adds to demand for imports," said Westpac economist Nathan Penny.
Meat export volumes were 16 per cent higher than in February last year and the highest for any February since 2008.
"With a severe drought gripping the country, and rebuilding work in Canterbury continuing to accelerate, we expect the trade balance to deteriorate significantly over the coming months," said Infometrics economist Benje Patterson.
But sustained signs that commodity prices were recovering fast for key exports such as dairy and forestry were a silver lining, for now, he said.