Icelandair Group Hf said Friday it reached an agreement for Boeing Co. to cover costs associated with the airline’s fleet of six grounded 737 MAX jets—one of the first carriers to disclose such a settlement since the planes stopped flying in March.

The airline wouldn’t disclose the size of the settlement, part of $5.6 billion that Boeing has set aside for MAX customers.

Icelandair’s...