It still needs approval from the Senate and royal endorsement to become law.
But it is widely expected to happen by the end of 2024, making Thailand the only South East Asian country to recognise same-sex unions.
With a 399 vote of 415 there will be no Senate opposition.