The gene optrA is the first gene that confers resistance to the oxazolidinone tedizolid, a last resort antimicrobial agent in human medicine. In this study we investigated the presence of optrA and the multi-resistance genes poxtA and cfr in enterococci and staphylococci from (i) pet animals known to be fed raw meat and vegetables and (ii) the respective food items. We examined 341 bacterial isolates from cats and dogs, 195 bacterial isolates from supermarket food items and only one E. faecium collected from industrial food in Beijing during 2016. Thirty-five (6.5%) of the 537 isolates, including 31/376 (8.2%) enterococci and 4/161 (2.5%) staphylococci, were positive for optrA, while all isolates were negative for poxtA and cfr. S1-nuclease pulsed-field gel electrophoresis (PFGE) and Southern blotting confirmed that optrA was located in the chromosomal DNA of 19 isolates and on a plasmid in the remaining 16 isolates. Whole genome sequencing revealed several different genetic environments of optrA in plasmid- or chromosome-borne optrA genes. PFGE, multilocus sequence typing (MLST) and/or SNP analysis demonstrated that the optrA-carrying Staphylococcus and Enterococcus isolates were genetically heterogeneous. However, in single cases, groups of related isolates were identified which might suggest a transfer of closely related optrA-positive E. faecalis isolates between food items and dogs.