We aimed to (i) describe both the coverage and the homogeneity of coverage of the first and second doses of measles-containing vaccines (MCV) in Brazil in 2017, and (ii) to investigate the potential influence of contextual factors at municipal level. All 5570 Brazilian municipalities were included. The North and Center-West regions presented the lowest coverages of the first and second doses of MCV, respectively. We found significant associations of both first and second doses of MCV with population size, coverage of Family Health Strategy (FHS) and other indicators of living conditions and inequalities. Monitoring the homogeneity of MCV coverage at national, regional and state levels is essential, as it allows identifying areas at higher risk of measles spread that should be targeted for vaccination. Targeting large cities i.e. 100,000 or more inhabitants, especially poor neighborhoods and areas with low FHS coverage, could lead to improvements in coverage homogeneity