For the year ended January 2018, the value of tractor imports was up 51 per cent compared with the previous year.
Imports for other agriculture inputs, such as fertiliser and palm kernel (a feed supplement for dairy), also rose in January compared with last year, and for the year, Stats NZ said.
Fertiliser imports rose by $9.2m (30 per cent) for the January month. Annual imports rose to $653m, but are still 27 per cent lower than the April 2009 year.
The lift in imports of agricultural machinery did fit with a picture of improving confidence in the sector, said ASB rural economist Nathan Penny.
"The stars are aligning across the agriculture sector in general," he said. "We are seeing pretty good prices for most of the sectors within agriculture."
The rise in exports was led by milk powder, butter, and cheese, the country's largest commodity export, which increased 8 per cent to $1.37b.
The value of meat and edible offal exports jumped 17 per cent to $689m, while exports of logs, wood and wood articles surged 26 per cent to $292m. Fruit exports fell 12 per cent to $85m.
"On top of that, increasing agricultural production should boost export volumes over the remainder of the year," Penny said. "At the same time, import values are likely to remain firm on the back of similarly firm domestic demand."
There were signs of inflation emerging in the inputs for the agricultural sector, but that was good in some respects as it reflected rising demand, he said.
"I guess there is a still a little caution around with the weather recently, but generally we think that this year that investment spend is going to grind higher."
More broadly there was increasing demand for machinery and equipment across a range of sectors including construction and manufacturing, he said.
"We expect more of these sorts of anecdotes to come through," he said.
"Those machinery numbers have been good so it's not just an agricultural story, its a broader economy story"