BackgroundBarley (Hordeum vulgareL.) represents the fourth most essential cereal crop in the world, vulnerable to barley yellow mosaic virus (BaYMV) and/or barley mild mosaic virus (BaMMV), leading to the significant yield reduction. To gain a better understanding of the mechanisms regarding barley crop tolerance to virus infection, we employed a transcriptome sequencing approach and investigated global gene expression among three barley varieties under both infected and control conditions.ResultsHigh-throughput sequencing outputs revealed massive genetic responses, reflected by the barley transcriptome after BaYMV and/or BaMMV infection. Significant enrichments in peptidase complex and protein processing in endoplasmic reticulum were clustered through Gene ontology and KEGG analysis. Many genes were identified as transcription factors, antioxidants, disease resistance genes and plant hormones and differentially expressed between infected and uninfected barley varieties. Importantly, general response genes, variety-specific and infection-specific genes were also discovered. Our results provide useful information for future barley breeding to resist BaYMV and BaMMV.ConclusionsOur study elucidates transcriptomic adaptations in barley response to BaYMV/BaMMV infection through high-throughput sequencing technique. The analysis outcome from GO and KEGG pathways suggests that BaYMV disease induced regulations in multiple molecular-biology processes and signalling pathways. Moreover, critical DEGs involved in defence and stress tolerance mechanisms were displayed. Further functional investigations focusing on these DEGs contributes to understanding the molecular mechanisms of plant response to BaYMV disease infection, thereby offering precious genetic resources for breeding barley varieties resistant to BaYMV disease.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12870-023-04276-x.