Cities are shown to provide favourable conditions for western honeybees (Apis mellifera) by protecting them from agricultural pesticides and offering a greater diversity of flora. Nevertheless, while current research primarily focuses on the causes of pollinator – and particularly honeybee – decline, including pesticide exposure, climate change, and habitat fragmentation, little attention is dedicated to urban apiculture and factors associated with the survival of honeybees within cities. Here, we analyse data from 3,697 honeybee hives in Montreal and Toronto to assess the effect of urban and environmental factors on hive survival. We find ground-level ozone concentrations, the height at which hives are located, and the number of surrounding hives to be negatively associated with hive survival, which may point towards an issue of hive saturation. Conversely, vegetation density and the COVID-19 pandemic are positively associated with the likelihood of hive survival, emphasizing the effect of urban air pollution. These findings highlight the need for urban planners to consider neighborhood-scale environmental factors to identify potential venues for enhancing honeybee survival within cities beyond existing urban beekeeping initiatives.