An outbreak of coronavirus disease 2019 (COVID‐19) was reported in Yongchuan district of Chongqing, China in March 2022, while the source was unknown. We aimed to investigate the origin and transmission route of the virus in the outbreak. We conducted field investigations for all cases and collected their epidemiological and clinical data. We performed gene sequencing and phylogenetic analysis for the cases, and draw the epidemic curve and the case relationship chart to analyze interactions and possible transmission mode of the outbreak. A total of 11 cases of COVID‐19, including 5 patients and 6 asymptomatic cases were laboratory‐confirmed in the outbreak. The branch of the virus was Omicron BA.2 which was introduced into Yongchuan district by a traveler in early March. Patient F and asymptomatic case G had never contact with other positive‐infected individuals, but close contact with their pet dog that sniffed the discarded cigarette butts and stepped on the sputum of patient B. Laboratory test results showed that the dog hair and kennel were positive for severe acute respiratory syndrome coronavirus 2 (SARS‐CoV‐2), and the 10 isolates were highly homologous to an epidemic strain in a province of China. The investigation suggested that the contaminated dog by SARS‐CoV‐2 can act as a passive mechanical carrier of the virus and might transmit the virus to humans through close contact. Our findings suggest that during the COVID‐19 pandemic, increasing hygiene measures and hand washing after close contact with pets is essential to minimize the risk of community spread of the virus.