Same-sex marriage has been legal in Oaxaca since 5 October 2019. A landmark 2012 Supreme Court order for Oaxaca established the right to marriage by amparo across Mexico. In August 2019, the Congress of Oaxaca passed legislation amending various articles of the Civil Code to recognise same-sex marriages. The law went into force on 5 October. Previously, same-sex couples could marry in the state from August 2018 but required additional red tape compared to opposite-sex partners.