The demographic shift towards an older population has a profound impact on the economy, particularly in the real estate sector. The evolving housing demand, shaped by changing family structures and financial circumstances, is influenced by inheritance considerations, which in turn affect investment decisions and market dynamics. This study uses data from the China Household Finance Survey (2013-2019) to explore the impact of ageing on housing prices, with a focus on inheritance motives and the influence of male descendants. While ageing tends to decrease prices, inheritance motives, particularly those of male heirs, tend to offset this effect. The geographical distribution of this impact varies, with the level of education also playing a role. It is therefore vital to address demographic shifts and cultural norms in order to maintain stability in the housing market.