Abstract Understanding the determinants of biodiversity in fragmented habitats is fundamental for informing sustainable landscape development, especially in urban landscapes that substantially fragment natural habitat. However, the relative roles of landscape and habitat characteristics, as emphasized by two competing frameworks (the island biogeography theory and the habitat diversity hypothesis), in structuring species assemblages in fragmented habitats have not been fully explored. This study investigated bird assemblages at 26 habitat patches (ranging in size from 0.3 to 290.4 ha) in an urban landscape, southwest China, among which habitat type composition and woody plant species composition varied significantly. Through 14 bird surveys conducted over six breeding seasons from 2017 to 2022, we recorded 70 breeding bird species (excluding birds recorded only once and fly-overs, such as raptors, swallows and swifts), with an average of 26 ± 10 (SD) species per patch. We found that patch area had significant direct and indirect effects on bird richness, with the indirect effects mediated by habitat richness (i.e., the number of habitat types). Isolation (measured as the distance to the nearest patch), perimeter to area ratio (PAR), and woody plant richness did not significantly predict variation in bird richness. Furthermore, none of these factors significantly sorted bird species based on their functional traits. However, the overall makeup of bird assemblages was significantly associated with the specific habitat types and woody plant species present in the patches. The results suggest that neither the island biogeography theory nor the habitat diversity hypothesis can fully explain the impacts of habitat fragmentation on bird richness in our study system, with their roles primarily being linked to patch area. The findings that habitat and plant compositions were the major drivers of variation in bird assemblage composition offer valuable insights into urban planning and green initiatives. Conservation efforts should focus not only on preserving large areas, but also on preventing urban monocultures by promoting diverse habitats within those areas, contributing to the persistence of meta-communities.