1 Global population declines of insect pollinators highlight the need for a greater ecological understanding of the responses of wild pollinators to local management actions and to human alterations of landscapes, especially in the tropics where crops are highly dependent on wild pollinators. 2 We examined the effects of local and landscape factors on the richness and abundance of bees in farms around Bangkok, Thailand. Bee communities in 24 mango (Mangifera indica L.) orchards in heavily modified landscapes (61-99% anthropogenic land cover) were compared. We predicted that bees would be more species rich in orchards with higher flower diversity, whereas small-sized bees with non-eusocial and/or below-ground nesting habits would be more sensitive to human disturbance, and hence rare. 3 Twenty-eight species were caught and individuals of genus Apis comprised >92% of 3842 bees sampled and dominated all 24 sites. 4 Habitat effects on bee richness and abundance were stronger at the farm scale than at the landscape scale. At the farm scale, total bee richness and abundance, as well as small, non-eusocial and below-ground nesting bee richness and abundance, were negatively associated with field size and positively associated with flowering plant diversity. The percentage of urban land cover within a 1-km radius was weakly but positively related to total bee richness and small-sized bee richness; total bee abundance was positively associated with wetland cover. 5 A greater diversity of flowering plants retained in smaller fields maintained higher bee richness and abundances, particularly small-sized bees. Farmers can enhance bee populations by maintaining small patches of flowers in their fields.