Horse gram [Macrotyloma uniflorum Lam. (Verdc.)] is an under-utilized legume grown in India. It is a good source of protein, carbohydrates, dietary fiber, minerals, and vitamins. We screened 252 horse gram germplasm accessions for horse gram yellow mosaic virus resistance using the percent disease index and scaling techniques. The percentage values of highly resistant, moderately resistant, moderately susceptible, susceptible, and highly susceptible were 0.34, 13.89, 38.89, 46.43, and 0.34, respectively. Repetitive trials confirmed the host-plant resistance levels, and yield loss was assessed. The present disease index ranged from 1.2 to 72.0 and 1.2 to 73.0 during the kharif and rabi seasons of 2018, respectively. The maximum percent yield loss was noticed in the HS (75.0 –89.4), while HR possessed the minimum (1.2–2.0). The methanolic leaf extracts of highly resistant and highly susceptible genotypes with essential controls were subjected to gas chromatography–mass spectrometry analysis. Differential accumulation of metabolites was noticed, and a total of 81 metabolites representing 26 functional groups were identified. Both highly resistant and susceptible genotypes harbored eight unique classes, while ten biomolecules were common. The hierarchical cluster analysis indicated a distinct metabolite profile. Fold change in the common metabolites revealed an enhanced accumulation of sugars, alkanes, and carboxylic acids in the highly resistant genotype. The principal component analysis plots explained 93.7% of the variation. The metabolite profile showed a significant accumulation of three anti-viral (octadecanoic acid, diphenyl sulfone, and 2-Aminooxazole), one insecticidal (9,10-Secocholesta-5,7,10(19)-triene-3,24,25-triol), one antifeedant (cucurbitacin B), and six metabolites with unknown biological function in the highly resistant genotype.