Same-sex marriage is legal in the following countries: Andorra, Argentina, Australia, Austria, Belgium, Brazil, Canada, Chile, Colombia, Costa Rica, Cuba, Denmark, Ecuador, Finland, France, Germany, Iceland, Ireland, Luxembourg, Malta, Mexico, the Netherlands, New Zealand, Norway, Portugal, Slovenia, South Africa, Spain, Sweden, Switzerland, Taiwan, the United Kingdom, the United States, and Uruguay.

Same-sex marriage is recognized, but not performed, in Israel and Namibia. Furthermore, same-sex marriages performed in the Netherlands are recognized in Aruba, Curaçao and Sint Maarten. Whether same-sex couples should be allowed to marry has been and remains the topic of debate worldwide. 32 countries and four jurisdictions worldwide have passed constitutional amendments that explicitly prohibit the legal recognition of same-sex marriage and sometimes other forms of legal unions as well. Sixteen countries and 34 jurisdictions worldwide have authorized civil unions or unregistered cohabitation for same-sex couples as an alternative to marriage. The legal name of those unions as well as the number of rights that they provide can vary greatly.

Same-sex union legislation

Legislative efforts to recognise same-sex unions

National level

The first legislation of unregistered cohabitation was introduced in the Netherlands in June 1979. However, the first substantial recognition of same-sex couples did not occur before the introduction of a new legal form, that of registered partnerships, which was first enacted in Denmark in June 1989. Many countries have followed with similar legislation since then. Legislation of these forms of legal unions still occur with a variety of different names, even after the introduction of same sex marriage, although sometimes they are overwritten by subsequent legislation of same-sex marriage.

Same-sex union legislation

There are currently 13 countries that have an alternative form of legal recognition other than marriage on a national level. Those are Bolivia, Croatia, Cyprus, the Czech Republic, Estonia, Greece, Hungary, Israel, Italy, Liechtenstein, Monaco, Montenegro and San Marino.

Same-sex union legislation

As of , legislation to allow an alternative form of legal recognition of same-sex couples other than marriage is pending, or has passed at least one legislative house on a national level in Lithuania and Ukraine.

As of , same-sex marriage has been legal (nationwide or in some parts) in Andorra, Argentina, Australia, Austria, Belgium, Brazil, Canada, Chile, Colombia, Costa Rica, Cuba, Denmark, Ecuador, Finland, France, Germany, Iceland, Ireland, Luxembourg, Malta, Mexico, the Netherlands, New Zealand, Norway, Portugal, Slovenia, South Africa, Spain, Sweden, Switzerland, Taiwan, the United Kingdom, the United States and Uruguay.

As of , legislation to allow same-sex marriage is being considered in at least one legislative house on a national level in the Czech Republic, Greece, Japan, Liechtenstein and Venezuela.

Notes:

Sub-national level

In countries with a federal system of governance, states and territories often may grant recognition to same-sex couples in their own jurisdictions, although unitary states with a level of devolution, such as Spain or the United Kingdom, also offer such powers to local authorities. The first jurisdiction to enact unregistered cohabitation was British Columbia in Canada in July 1992. The first jurisdiction to legalize registered partnership was Greenland as part of the Kingdom of Denmark in April 1996. Finally, the first sub-national jurisdiction to legalize same-sex marriage was the Canadian province of Ontario in June 2003.

As of , there are 15 sub-national jurisdictions worldwide that have legalized some kind of alternative form of legal union of same-sex couples other than marriage. Those are: In Japan: Twelve prefectures of Japan (Akita, Aomori, Fukuoka, Gunma, Ibaraki, Mie, Osaka, Saga, Shizuoka, Tochigi, Tokyo, and Toyama); Aruba, a constituent country of the Kingdom of the Netherlands; Two British overseas territories (Bermuda, Cayman Islands).

For the time being, 61 sub-national jurisdictions worldwide have legalized same-sex marriage in nations where same-sex marriage is not legal throughout the nation's territory. Those are: