||Attacks by wild carnivores on humans represent an increasing problem in urban areas across North America and their frequency is expected to rise following urban expansion towards carnivore habitats. Here, we analyzed records of carnivore attacks on humans in urban areas of the U.S. and Canada between 1980 and 2016 to analyze the general patterns of the attacks, as well as describe the landscape structure and, for those attacks occurring at night, the light conditions at the site of the attacks. We found that several behavioral and landscape-related factors were recurrent elements in the attacks recorded. The species for which the attack locations were available (coyote and black bear) attacked in areas with different conditions of landscape structure and artificial light. Specifically, black bears attacked more frequently in areas with abundant and aggregated vegetation cover and scarce buildings and roads, while coyotes attacked in a broader range of landscape conditions. At night, black bears attacked in generally darker areas than coyotes. By providing a comprehensive perspective of the phenomenon, this study will improve our understanding of how effective strategies aimed at reducing the frequency of risky encounters in urban areas should be developed.