Legal status of same-sex marriage

Worldwide laws regarding same-sex intercourse, unions and expression.
Same-sex intercourse legal. Recognition of unions:
  Extraterritorial marriage2
  Limited foreign
  Optional certification
Same-sex intercourse illegal. Penalties:
  Death
  Prison; death not enforced
  Death under militias
  Prison, with arrests or detention
  Prison, not enforced1
Ambiguous.
  None
  Restriction of expression, not enforced
  Restriction of association with arrests or detention

1No imprisonment in the past three years or moratorium on law.
2Marriage not available locally. Some jurisdictions may perform other types of partnerships.

The legal status of same-sex marriage has changed in recent years in numerous jurisdictions around the world. The current trends and consensus of political authorities and religions throughout the world are summarized in this article.

Recognition has been achieved through various mechanisms: legislative actions, high court rulings declaring statutory bans on same-sex marriage to be unconstitutional, and direct democracy where the electorate voted in favor of legalization through referendums or national postal surveys.

The first country to legalize same-sex marriage was the Netherlands, where such marriages have been legal since 1 April 2001. The most recent country to extend full marriage rights to same-sex couples as of 2026 is Thailand, where the law took effect on 23 January 2025.

On 25 November 2025, the European Court of Justice ruled that all member states of the European Union must recognize a lawful marriage between two European Union citizens of the same sex from another member country.