Sodomy laws in the United States

Year of removal of sodomy laws by state:
  1962
  1971
  1972
  1973
  1974
  1975
  1976
  1977
  1978
  1979
  1980
  1983
  1985
  1992
  1993
  1996
  1997
  1998
  1999
  2001
  2002
  2003
Status of state statutes regarding sodomy or bestiality
All statutes against sodomy (not including bestiality) have been invalidated (ruled unconstitutional) by state courts or Lawrence v. Texas, but 12 states have not repealed them.
  No statute banning sodomy
  Statute bans bestiality
  Statute bans same-sex sodomy
  Statute bans same- and opposite-sex sodomy

The early United States inherited sodomy laws which constitutionally outlawed a variety of sexual acts deemed illegal, illicit, unlawful, unnatural or immoral from the colonial-era based laws in the 17th century. While these laws often targeted sexual acts between persons of the same sex, many sodomy-related statutes employed definitions broad enough to outlaw certain sexual acts between persons of different sexes, in some cases even including acts between married persons.

Through the mid to late 20th century, the gradual decriminalization of consensual sexual acts led to the elimination of anti-sodomy laws in most U.S. states. During this time, the Supreme Court upheld the constitutionality of its sodomy laws in Bowers v. Hardwick in 1986. In 2003, the Supreme Court reversed that decision in Lawrence v. Texas, which invalidated any state sodomy laws, some of which were still law in the following 14 states: Alabama, Florida, Idaho, Kansas, Louisiana, Michigan, Mississippi, Missouri, North Carolina, Oklahoma, South Carolina, Texas, Utah and Virginia.