Housing prices in China have experienced rapid growth in recent decades, and land finance has long been discussed as an important factor in this growth. In this paper, we explore the interactions among housing prices, land transfer revenue and infrastructure investment from the perspective of government revenue and expenditure. Based on the panel data of 35 large and medium-sized cities in China from 2000 to 2017, the empirical results show that land transfer revenue, infrastructure investment and housing prices are causally related and result in positive feedback. The grouped regression results show that infrastructure investment has greater impacts on housing prices in eastern region cities than in the other cities. In contrast, in the central and western regions, land sales revenue has a greater impact on housing prices, indicating that cities in less-developed areas are more dependent on land finance than are those in more developed regions. Finally, we use the vector error correction model (VECM) to add control variables for robustness testing. The results show that land transfer income and infrastructure investment have a positive impact on housing prices. Our results provide some references for the stable development of housing markets in China.