Boeing said the deal had a value of more than $24 billion (£19.1 billion) at list prices.

IAG said the mix of 737-8 and 737-10 aircraft, to be delivered between 2023 and 2027, would be powered by CFM Leap engines and used across a number of its airlines including British Airways, Vueling and Level.

The MAX 737 was grounded in March following two deadly crashes, and Boeing has been working on a software fix to get the jet back flying by the end of the year.

IAG Chief Executive Willie Walsh said he had experienced Boeing's MCAS anti-stall software in person, adding it was "very helpful to see it in operation" and to "understand the changes" that Boeing was proposing.

"It gave me confidence both in terms of the aircraft and the changes that Boeing introduced," he said at the announcement of the deal at the Paris Airshow.

"I am confident in Boeing."

Boeing shares rose 2% on the announcement. The company is working towards a certification flight with regulators soon.

Boeing commercial airplanes boss Kevin McAllister said the decision of when the MAX flies again was in the hands of the regulators.

(This story corrects value to $24 billion from $24 million in second paragraph)

(Reporting by Tim Hepher, Eric M. Johnson and Alistair Smout Editing by Jane Merriman and Mark Potter)