To optimize key enzymes, such as to explore the gene resources and to modify the expression level, can maximize metabolic pathways of target products. β-carotene is a terpenoid compound with important application value. Lycopene cyclase (CrtY) is the key enzyme in β-carotene biosynthesis pathway, catalyzing flavin adenine dinucleotide (FAD)-dependent cyclization reaction and β-carotene synthesis from lycopene precursor. We optimized lycopene cyclase (CrtY) to improve the synthesis of β-carotene and determined the effect of CrtY expression on metabolic pathways. Frist, we developed a β-carotene synthesis module by coexpressing the lycopene β-cyclase gene crtY with crtEBI module in Escherichia coli. Then we simultaneously optimized the ribosome-binding site (RBS) intensity and the species of crtY using oligo-linker mediated DNA assembly method (OLMA). Five strains with high β-carotene production capacity were screened out from the OLMA library. The β-carotene yields of these strains were up to 15.79-18.90 mg/g DCW (Dry cell weight), 65% higher than that of the original strain at shake flask level. The optimal strain CP12 was further identified and evaluated for β-carotene production at 5 L fermentation level. After process optimization, the final β-carotene yield could reach to 1.9 g/L. The results of RBS strength and metabolic intermediate analysis indicated that an appropriate expression level of CrtY could be beneficial for the function of the β-carotene synthesis module. The results of this study provide important insight into the optimization of β-carotene synthesis pathway in metabolic engineering.