A strong export performance and farm profitability results, despite a variety of challenges, is testament to the resilience of farmers, the Ministry for Primary Industries' latest Situation and Outlook for Primary Industries report says.
That resilience provided confidence farmers would be able to adapt to future disruptions such as climate change, adverse events or potential trade issues.
It was also reflected in MPI's medium-term outlook for annual export growth to range between 1.2% to 2.6% between 2019 and 2022.
Primary sector exports are forecast to exceed $46 billion by the end of the outlook period.
Production and export volumes were forecast to be relatively stable, particularly in dairy and meat and wool.