Concerns about housing affordability are widespread in cities worldwide, prompting discussions about rent control policies. This paper studies the effects of a rent control policy adopted in Catalonia in 2020 that applied to some but not all municipalities. The policy virtually covered all the rental market and forced ads and tenancy agreements to specify the applicable rent cap to ensure enforcement. To identify the causal effect of the rent control regulation on the rental market, we exploit register microdata of tenancy agreements and implement difference-in-differences regressions and event-study designs. Our results indicate that the regulation reduced average rents paid by about 4% to 6%. We do not find evidence of a reduction in the supply of rental units, as measured by the number of signed and ended agreements or the active stock of rental units. We implement several robustness tests to address identification concerns related to Covid-19. Our results suggest that rent control policies can effectively reduce rental prices without necessarily shrinking the rental market.