Canine hookworm infections are endemic worldwide, with zoonotic transmission representing a potentially significant public health concern. This study aimed to investigate hookworm infection and identify the prevalent species from stray and shelter dogs in Guangzhou city, southern China by polymerase chain reaction–restriction fragment length polymorphism (PCR–RFLP) based on internal transcribed spacer (ITS) sequences. From March 2011 to July 2012, fresh faecal samples from a total of 254 dogs were obtained from five locations, namely Conghua, Baiyun, Liwan, Haizhu and Panyu, in Guangzhou. These samples were screened for the presence of hookworm eggs using light microscopy, with an overall prevalence of 29.53% being recorded. The highest prevalence of 45.28% was found in suburban dogs from Conghua compared with lower values recorded in urban dogs in Haizhu (21.43%), Baiyun (18.97%), Panyu (18.18%) and Liwan (15%). The prevalence in stray dogs was signiﬁcantly higher than that in shelter dogs. PCR-RFLP analysis showed that 57.33% were detected as single hookworm infections with Ancyclostoma caninum, and 22.67% as A. ceylanicum, while 20% were mixed infections. This suggests that high prevalences of both hookworm species in stray and shelter dogs in China pose a potential risk of transmission from pet dogs to humans.