Infectious diseases in livestock not only cause significant economic losses but also affect food security. Although wildlife may be involved in these infectious diseases by serving as reservoirs, research has primarily focused on livestock and related species. Moreover, while these species represent a potential threat in wildlife-borne infectious diseases, comprehensive surveys of the presence of various species are limited. In this study, we aimed to quantitatively investigate the occurrence of various mammals and birds at three pig farms in Japan. We conducted camera trap surveys from October 15, 2020, to March 24, 2022, and determined the relative abundance index inside and outside the sanitary control zone. Wild boar (Sus scrofa), sika deer (Cervus nippon), and Japanese serow (Capricornis crispus) were photographed only outside the sanitary control zone. In contrast, small and medium-sized mammals, such as feral cats (Felis catus), raccoons (Procyon lotor), and rodent species (Muridae), and birds, such as the rufous oriental turtle dove (Streptopelia orientalis) and crows of the genus Corvus, were photographed both inside and outside the sanitary control zone. This comprehensive quantitative evidence suggests that various mammals and birds may be in indirect contact with livestock, highlighting the need to improve biosecurity at livestock farms. Moreover, while fences are effective against large mammals, they are inefficient against small to medium-sized mammals and birds. Therefore, the results of this study provide important insights into enhancing biosecurity on livestock farms by strengthening physical fencing, disinfecting clothing and equipment, and complying with standards of hygiene management.