Same-sex marriage has been legal in Sonora since 22 October 2021. On 23 September 2021, the Congress of Sonora voted 25–8 to pass a law legalizing same-sex marriage. The legislation was published in the state's official gazette on 21 October, and took effect the following day. Sonora was the 21st Mexican state to open marriage to same-sex couples.