This study was aimed at identifying genetic and non-genetic risk factors for valproic acid (VPA)-induced hyperammonaemia in Chinese paediatric patients with epilepsy. A total of 210 epileptic patients, treated with VPA as monotherapy, were enrolled and classified into hyperammonaemia and control groups according to their blood ammonia level (cut-off value 50 μmol/L). Serum concentrations of VPA and its major metabolites were simultaneously determined by ultrahigh-performance liquid chromatography-tandem mass spectrometry. Six single nucleotide polymorphisms in the candidate genes, CYP2C9, CYP2A6, CYP2B6 and CPS1, were analysed by a matrix-assisted laser desorption ionization-time of flight mass spectrometry method or nested PCR. Significant differences in age, aspartate transaminase level and the incidence of liver injury were observed between patients of hyperammonaemia and control groups. Genotype distributions of CYP2C9*3, CYP2A6*4 and CPS1 4217C>A allelic variants were also significantly different between the two groups. According to multiple regression analysis, a significant negative correlation was detected between age and the blood ammonia level, while liver injury, the concentration-dose ratio (CDR) of VPA and 2-propyl-4-pentenoic acid (4-ene VPA), and the presence of CYP2A6*4 or CPS1 4217C>A showed positive correlations with the blood ammonia level. In addition, the risk factors for hyperammonaemia identified by logistic regression analysis were as follows: a younger age (odds ratio [OR] = 0.85; 95% confidence interval [CI] = 0.76-0.96; p = 0.007), occurrence of liver injury (OR = 4.60; 95% CI = 1.27-16.74; p = 0.021), higher CDR of 4-ene VPA (OR = 1.08; 95% CI = 1.03-1.14; p = 0.001), and carrying mutant alleles of CYP2C9*3 (OR = 3.42; 95% CI = 1.15-10.19; p = 0.028), CYP2A6*4 (OR = 3.23; 95% CI = 1.40-7.48; p = 0.006) and CPS1 4217C>A (OR = 3.25; 95% CI = 1.52-6.94; p = 0.002). Our findings indicated that multiple genetic and non-genetic risk factors that were identified can be used to predict the development of VPA-induced hyperammonaemia in Chinese paediatric patients with epilepsy.