The Netherlands was the first country to legalize same-sex marriage in 2001. Since then, more than 30 other countries have followed suit.
By 2022, same-sex marriage was legal in 32 countries.
Since then, 3 more countries have joined this group: Andorra, Estonia, and Greece — bringing the total to 35. Last year, Nepal also registered its first same-sex wedding, but it’s not yet clear whether these rights are available across the country.
Source: Our world in data
https://ourworldindata.org/data-insights/more-than-30-countries-have-legalized-same-sex-marriage