A Thai Airways flight from Sydney to Bangkok was forced to make an emergency landing when a cracked window was found in the cockpit.

A spokesman for the airline confirmed that flight TG476 carrying 107 passengers landed in Bali at 4.52pm yesterday.

The plane was forced to make an emergency landing because a broken cockpit window caused a decrease in cabin pressure.

The spokesman told news.com.au that the emergency landing at Ngurah Rai International Airport was due to “broken glass” but did not have any further details.

Passengers stayed in Bali overnight and the Thai Airways spokesman said they were scheduled to fly out at 4.05pm today, and to arrive in Bali at 7.20pm.