Where is homosexuality illegal?
How same-sex sexual activity (also searched as homosexuality) is treated in 226 countries, from sources last checked September 2026. Choose a country for its classification, the source, and how its neighbours compare.
- Legal 160 countries (71%), including China, India, United States and Brazil.
- Illegal 56 countries (25%), including Indonesia, Pakistan, Bangladesh and Russia.
- Death penalty possible 10 countries (4%), including Nigeria, Iran, Uganda and Afghanistan.
Legal 160
- Albania
- American Samoa
- Andorra
- Angola
- Anguilla
- Antigua and Barbuda
- Argentina
- Armenia
- Aruba
- Austria
- Azerbaijan
- Bahamas
- Bahrain
- Barbados
- Belarus
- Belgium
- Belize
- Benin
- Bermuda
- Bhutan
- Bolivia
- Bosnia and Herzegovina
- Botswana
- Brazil
- British Indian Ocean Territory
- British Virgin Islands
- Bulgaria
- Cambodia
- Canada
- Cape Verde
- Cayman Islands
- Central African Republic
- Chile
- China
- Colombia
- Cook Islands
- Costa Rica
- Côte d'Ivoire
- Croatia
- Cuba
- Curaçao
- Cyprus
- Czech Republic
- Democratic Republic of the Congo
- Denmark
- Djibouti
- Dominica
- Dominican Republic
- Ecuador
- El Salvador
- Equatorial Guinea
- Estonia
- Falkland Islands
- Faroe Islands
- Fiji
- Finland
- France
- French Polynesia
- Gabon
- Georgia
- Germany
- Greece
- Greenland
- Guam
- Guatemala
- Guernsey
- Guinea-Bissau
- Haiti
- Honduras
- Hong Kong
- Hungary
- Iceland
- India
- Ireland
- Israel
- Italy
- Japan
- Jordan
- Kazakhstan
- Kyrgyzstan
- Laos
- Latvia
- Lesotho
- Liechtenstein
- Lithuania
- Luxembourg
- Macau
- Madagascar
- Malta
- Marshall Islands
- Mauritius
- Mexico
- Micronesia
- Moldova
- Monaco
- Mongolia
- Montenegro
- Montserrat
- Mozambique
- Namibia
- Nauru
- Nepal
- Netherlands
- New Caledonia
- New Zealand
- Nicaragua
- Niue
- Norfolk Island
- North Korea
- North Macedonia
- Northern Mariana Islands
- Norway
- Palau
- Palestine
- Panama
- Paraguay
- Peru
- Philippines
- Poland
- Portugal
- Puerto Rico
- Republic of the Congo
- Romania
- Rwanda
- Saint Helena
- Saint Kitts and Nevis
- Saint Lucia
- Saint Pierre and Miquelon
- Saint-Barthélemy
- Saint-Martin
- San Marino
- São Tomé and Principe
- Serbia
- Seychelles
- Singapore
- Sint Maarten
- Slovakia
- Slovenia
- South Africa
- South Georgia and the Islands
- South Korea
- Spain
- Suriname
- Sweden
- Switzerland
- Taiwan
- Tajikistan
- Thailand
- Timor-Leste
- Turkey
- Turks and Caicos Islands
- Ukraine
- United Kingdom
- United States
- Uruguay
- Vanuatu
- Vatican City
- Venezuela
- Vietnam
- Wallis and Futuna Islands
Illegal 56
- Algeria
- Bangladesh
- Burkina Faso
- Burundi
- Cameroon
- Chad
- Comoros
- Egypt
- Eritrea
- Eswatini
- Ethiopia
- Ghana
- Grenada
- Guinea
- Guyana
- Indonesia
- Iraq
- Jamaica
- Kenya
- Kiribati
- Kuwait
- Lebanon
- Liberia
- Libya
- Malawi
- Malaysia
- Maldives
- Mali
- Morocco
- Myanmar
- Niger
- Oman
- Pakistan
- Papua New Guinea
- Russia
- Saint Vincent and the Grenadines
- Samoa
- Senegal
- Sierra Leone
- Solomon Islands
- South Sudan
- Sri Lanka
- Sudan
- Syria
- Tanzania
- The Gambia
- Togo
- Tonga
- Trinidad and Tobago
- Tunisia
- Turkmenistan
- Tuvalu
- Uzbekistan
- Yemen
- Zambia
- Zimbabwe
Death penalty possible 10
About this data
Compiled from Wikipedia: LGBTQ rights by country or territory; sources last checked 17 September 2026. The full dataset is available as JSON.
More on relationships & sexuality
- Where is same-sex marriage legal?
- What is the age of consent around the world?
- Where is sex work legal?
- Where is pornography legal?
- Where is divorce legal?
- Where is non-binary gender legally recognised?
- Where can same-sex couples adopt?
- Where is incest between adults a crime?
- What is the minimum marriage age around the world?
A visual reference compiled from Wikipedia’s law-by-country articles, not legal advice. Laws change and summaries simplify — check a primary source before relying on anything here.