Urbanization can change biodiversity in both directions, positive and negative, and despite the rising global trend of urban beekeeping, little is known about the impact of urbanization on the genetic diversity of honey bees. We investigate how urbanization affects the genetic variability of feral and managed honey bee colonies that are spread throughout the entire city, even in highly urban areas, through genetic analysis of 82 worker bees. We found convincing evidence of high genetic differentiation between these two groups. Additionally, by comparing city samples with 241 samples from 46 apiaries in rural parts of the country, variations in mitochondrial tRNAleu-cox2 intergenic region and microsatellite loci indicated that feral colonies have distinct patterns of genetic diversity. These results, with evidence that feral honey bees find niches within highly modified and human-dominated urban landscapes, lead us to conclude that urbanization is a driver of the genetic diversity of feral honey bees in the city.