Bubaline alphaherpesvirus 1(BuHV-1) is a pathogen of water buffaloes responsible for economic loss worldwide. MicroRNAs (miRNAs) regulate gene expression produced by alphaherpesviruses and hosts. This study aimed at (a) unravelling the ability of BuHV-1 to produce miRNAs, including hv1-miR-B6, hv1-miR-B8, hv1-miR-B9; (b) measuring the host immune-related miRNAs associated to herpesvirus infection, including miR-210-3p, miR-490-3p, miR-17-5p, miR-148a-3p, miR-338-3p, miR-370-3p, by RT-qPCR; (c) identifying candidate markers of infection by receiver-operating characteristic (ROC) curves; (d) exploiting the biological functions by pathway enrichment analyses. Five water buffaloes BuHV-1 andBovine alphaherpesvirus 1(BoHV-1) free were immunized against Infectious Bovine Rhinotracheitis (IBR). Five additional water buffaloes served as negative controls. All animals were challenged with a virulent wild-type (wt) BuHV-1 via the intranasal route 120 days after the first vaccination. Nasal swabs were obtained at days (d) 0, 2, 4, 7, 10, 15, 30, and 63 post-challenge (pc). The animals of both groups shed wt BuHV-1 up to d7 pc. Results demonstrated that (a) miRNAs produced by the host and BuHV-1 could be efficiently quantified in the nasal secretion up to d63 and d15 pc, respectively; b) the levels of host and BuHV-1 miRNAs are different between vaccinated and control buffaloes; c) miR-370-3p discriminated vaccinated and control animals; d) host immune-related miRNAs may modulate genes involved in the cell adhesion pathway of the neuronal and immune system. Overall, the present study provides evidence that miRNAs can be detected in nasal secretions of water buffaloes and that their expression is modulated by BuHV-1.Supplementary InformationThe online version contains supplementary material available at 10.1186/s13567-023-01175-9.