China recognizes neither same-sex marriage nor civil unions. A poll conducted in 2009 showed that over 30% of the Beijing population supports same-sex marriage, while the rest were unsure or opposed. While China does not have any same-sex union recognition laws, Beijing currently provides dependent residency status to the same-sex foreign partners of legal foreign residents. It is not clear whether this extends to the foreign partner of a local Chinese resident. In April 2017, the Hong Kong High Court ruled that the same-sex partners of government employees should receive the same benefits as heterosexuals partners. In May 2017, the Hong Kong Government appealed the ruling.
In 2013, beginning 1 July, same-sex partners (including married couples) of current residents became eligible for residency status in Beijing, under a "dependent resident status". This law only applies to the municipality of Beijing. The key beneficiaries were expected to be white-collar foreign expats whose partners and spouses were able to accompany them and gain residency status in Beijing as a result of the law.
In 2014, Hong Kong immigration officer Leung Chun-kwong married his same-sex partner in New Zealand. After the wedding, Leung attempted to update his marital status with the Civil Service Bureau, which states that officers' benefits can extend to their spouses. The Bureau, however, rejected Leung's attempts to extend these benefits to his spouse, prompting a legal challenge. On 28 April 2017, the Hong Kong High Court ruled in Leung's favour. In his landmark ruling, Mr Justice Anderson Chow Ka-ming called the Bureau's policy "indirect discrimination" and rejected its claim that it had "to act in line with the prevailing marriage law of Hong Kong" and that extending benefits to Leung's spouse would "undermine the integrity of the institution of marriage". The ruling was supposed to take effect on 1 September 2017 and would have offered the same-sex partners of government employees who married overseas the same benefits as heterosexual couples. In May, however, the Hong Kong Government appealed the ruling.
Although same-sex unions have not formed part of the historical Chinese cultural tradition, the earliest known advocate of same-sex unions was the 19th to 20th Century utopian reformer, Kang Youwei, who advocated temporary marriage contracts, lasting up for a year. These contracts would be for same-sex couples, as well as for heterosexual couples. However, he did not believe that China was ready for such a historic step, and deferred this policy until the future 'Datong' Utopia.