Gardens are often depicted as green sanctuaries, providing refuges for wildlife displaced from the countryside due to intensive farming. While gardens have been recognized for their positive impact on biodiversity conservation, few studies have investigated the impact of pesticide usage in domestic gardens. In this study, we explored how butterfly and bumblebee populations in gardens across the UK are influenced by habitat quality, urbanisation level and pesticide use. To achieve this, we engaged with participants in Garden BirdWatch, a weekly garden wildlife recording scheme operated by the British Trust for Ornithology. Participants in the study provided data on the attributes of their garden and surrounding area and were asked to complete a questionnaire about their pesticide practices. Of the 417 gardens from which we obtained useful data, we found that 32.6 % had pesticides applied to. Urbanisation and garden quality were the main factors influencing insect populations. Butterfly richness was lower in suburban and urban gardens and butterfly abundance lower only in suburban gardens when compared to rural gardens, but this relationship did not hold for bumblebees. Abundance of butterflies and bumblebees, but not their species richness, increased with the habitat quality of gardens. Butterflies were lower in abundance and richness in more northerly gardens, which was not the case for bumblebees. Effects of pesticides were relatively weak, but butterfly richness was 7 % lower in gardens applying any pesticide. Overall, our study shows that garden butterfly and bumblebee abundance and richness are strongly influenced by both extrinsic and intrinsic factors, and that garden management can have an important positive effect on insect population.