Background: Using genomic data, we determined the origin of MRSA ST398 isolates responsible for invasive infection in patients with no known livestock contact. Methods: We sequenced the genome of seven MSSA and four MRSA ST398 isolates from patients with invasive infections between 2013 and 2017, using the Illumina technique. Prophage-associated virulence genes and resistance genes were identified. To determine the origin of the isolates, their genome sequences were included in phylogenetic analysis also encompassing the ST398 genomes available on NCBI. Results: All isolates carried the φSa3 prophage, but with variations in the immune evasion cluster: type C in MRSA isolates, and type B in MSSA isolates. All MSSA belonged to thespatype t1451. MRSA strains had the same SCCmectype IVa (2B) cassette and belonged tospatypes t899, t4132, t1939 and t2922. All MRSA harbored the tetracycline resistance gene,tet(M). Phylogenetic analysis revealed that MSSA isolates belonged to a cluster of human-associated isolates, while MRSA isolates belonged to a cluster containing livestock-associated MRSA. Conclusion: We showed that the clinical isolates MRSA and MSSA ST398 have different origins. An acquisition of virulence genes by livestock-associated MRSA isolates allows them to induce an invasive infection in human.