This study characterized the resistome, mobilome and phylogenomic relatedness of Staphylococcus aureus strains previously obtained from healthy nestling storks (HNS), pigs (HP) and pig farmers (HPF) to analyse possible transmission pathways of S. aureus with implications for the spread of antimicrobial resistance. The genomic contents of 52 S. aureus strains obtained from the nasal cavity of HNS, HP and HPF in Spain were sequenced using the Illumina NextSeq platform to characterize their resistome, virulome and mobile genetic elements. The relatedness of strains was assessed by core-genome single nucleotide polymorphisms (SNPs). The frequencies of multidrug-resistance phenotype and transposons were significantly lower in strains from HNS than in those from HP and HPF (P < 0.005). However, the presence of human immune evasion cluster genes in S. aureus strains from HNS was significantly higher than in those from HP and HPF (P < 0.005). Interestingly, the frequencies of plasmids and phages were not significantly associated with the host (P > 0.05). The phylogenetic analysis identified a cluster of all the MSSA-CC398 strains carrying φSa3 and ermT on rep13 separately from the two MRSA-CC398 strains (carrying ermT on repUS18). Highly related MRSA-CC398 strains were detected in some pigs and related farmers (<10 SNPs). This study confirms high-level antibiotic selection in S. aureus in HP and HPF in comparison to HNS. Furthermore, our findings highlight the continuous transmission of MRSA-CC398 in the pig-to-human interface and MSSA-CC398 with human adaptation markers in HNS. Molecular surveillance of S. aureus using the One Health model is required to establish appropriate control strategies.