Highlights ► This paper studies the rental housing market by using a search equilibrium model. ► We show that the distribution of rent results from the owners’ posting strategy. ► In our model, a tax on vacant dwellings reduces the number of dwellings in the economy. ► The decrease of number of vacant dwellings increases the average rent. ► Consequently, the increase of vacancy costs is partly paid by the tenants.