Modern Family co-star Jesse Tyler Ferguson will play host to New Zealand's first ever mid-air gay marriage.

Air New Zealand's Love Is In The Air contest aims to give one lucky gay or lesbian couple the wedding of their dreams at 30,000 feet.

The winning couple will tie the knot on a domestic flight between Queenstown and Auckland. The wedding will take place on Monday, August 19 – the day a recently approved marriage law takes effect in New Zealand.

“We expect this marriage at 30,000 feet to attract significant global media interest,” said Jodi Williams, the airline's head of global brand development. “Naturally, the couple's family and friends will want to be on hand for the special occasion so we have plenty of seats set aside for them. Jesse Tyler Ferguson being present will make the day even more memorable.”

Ferguson, who is engaged to marry his partner Justin Mikita, added: “Justin and I are thrilled to be taking part in witnessing this historic moment for New Zealand! After launching Tie The Knot, our bow tie campaign for marriage equality in the U.S., it is clear that the journey towards marriage, both in the U.S. and beyond, means so much to us. We cannot wait to celebrate this joyous occasion with Air New Zealand!”

The prize package also includes a honeymoon in Palm Springs, California.