Against the backdrop of low fertility and population aging, the reverse of gender education gap and changes of educational mating patterns have offered new opportunities for the shift towards bilateral intergenerational solidarity. Based on the spousal matching information from China Family Panel Studies, this study employs a cross-classified multilevel model to investigate the effects of mating patterns of education and only-child status on intergenerational coresidence. This study yields several interesting findings. First, China has made remarkable progress towards bilateral intergenerational solidarity, with the proportion of matrilocal residence continuously increasing among post-reform cohorts. Second, the effects of mating patterns of education and only-child status on intergenerational coresidence are significant. Specifically, the advantage of hypogamy over hypergamy in matrilocal residence is pronounced among pre-reform cohorts whereas the impacts of homogamy with tertiary education and only-child status on matrilocal residence emerge as pronounced exclusively among post-reform cohorts.