An Air New Zealand pilot collapsed at the controls of one of its new Dreamliners just after she landed it and later died, the airline says.

Captain Ann Barbarich died in Royal Perth Hospital on Tuesday, three days after falling sick while landing a new 787-9 Dreamliner at the airport on Saturday.

Air New Zealand pilot Ann Barbarich worked for as a pilot for 27 years.

Capt Barbarich, who had flown 27 years with Air New Zealand, landed the plane safely but became seriously ill soon after landing.

Another pilot taxied the aircraft to the terminal while the other pilots helped her out.