Tourism as a nontradable sector affects regional price indexes. However, the effect of tourism on urban housing prices has not been sufficiently studied. This study uses panel data for prefecture-level cities in China to empirically examine the effect of tourism development on urban housing prices. The findings indicate that tourism development can increase urban housing prices, and the effect mainly comes from domestic tourism. This conclusion is not only derived from the instrumental variable method considering endogenous problems but also verified by multiple robust methods including quantile regression. Meanwhile, the study innovatively identifies the mediating role of investment effect, income effect, and public service effect in the impact of tourism on urban housing prices. It further shows the heterogeneity of cities, with more significant effect of tourism on urban housing price in small- and medium-sized cities, noncentral cities, central and western cities, and nontourist cities. This study reveals the commonality and particularity of the impact of tourism development on urban housing price. It not only enriches the research on tourism economics from the perspectives of the relationship between tourism and real estate but also further enriches the relevant conclusions and theoretical mechanism of the impact of tourism on housing prices.