Light intensity is a key factor affecting the synthesis of secondary metabolites in plants. However, the response mechanisms of metabolites and genes in Gentiana macrophylla under different light intensities have not been determined. In the present study, G. macrophylla seedlings were treated with LED light intensities of 15 µmol/m2/s (low light, LL), 90 µmol/m2/s (medium light, ML), and 200 µmol/m2/s (high light, HL), and leaves were collected on the 5th day for further investigation. A total of 2162 metabolites were detected, in which, the most abundant metabolites were identified as flavonoids, carbohydrates, terpenoids and amino acids. A total of 3313 and 613 differentially expressed genes (DEGs) were identified in the LL and HL groups compared with the ML group, respectively, mainly enriched in KEGG pathways such as carotenoid biosynthesis, carbon metabolism, glycolysis/gluconeogenesis, amino acids biosynthesis, plant MAPK pathway and plant hormone signaling. Besides, the transcription factors of GmMYB5 and GmbHLH20 were determined to be significantly correlated with loganic acid biosynthesis; the expression of photosystem-related enzyme genes was altered under different light intensities, regulating the expression of enzyme genes involved in the carotenoid, chlorophyll, glycolysis and amino acids pathway, then affecting their metabolic biosynthesis. As a result, low light inhibited photosynthesis, delayed glycolysis, thus, increased certain amino acids and decreased loganic acid production, while high light got an opposite trend. Our research contributed significantly to understand the molecular mechanism of light intensity in controlling metabolic accumulation in G. macrophylla.