While flavonoid metabolism's regulation under light conditions by structural genes and transcription factors is understood, the roles of microRNAs (miRNAs) in this pathway have been rarely reported. In this paper, the accurate control of light was firstly enabled through the specially designed plant growth chamber which ensures consistency and accuracy of the cultivation of longan ECs and the repeatability of the experiments. Then, longan ECs were cultured in this chamber for 25 days. , and duration from 8 h to 16 h. In addition, the contents of total flavonoids, rutin, and epicatechin were determined. Results indicated that flavonoid contents of longan ECs reached the highest value under blue light, at 32 μmolÁm Ás -1 for 12 h/d inhibited the expression of miR393, miR394 and miR395, which promoted the expression of target genes and the accumulation of flavonoids and epicatechin, but inhibited the synthesis of rutin.