The New Zealand Defence Force spent $600,000 defending itself against the defamation case brought against it by investigative journalist Jon Stephenson.
The figure was confirmed by a Defence Force spokesman in response to an Official Information Act request by the Herald.
It covers legal costs, including hiring a Queen's Counsel as well as staff of Crown Law, but does not include the cost of bringing witnesses to a trial held in Wellington in 2013 that resulted in a hung jury, or a payment made to Mr Stephenson as part of settling the dispute.
Mr Stephenson had claimed $500,000.
The Herald understands a six-figure sum was paid.