Energy and the cAMP-response element binding protein (CREB)/steroidogenic acute regulatory protein (StAR) signaling pathway play important roles in steroid hormone production and follicular development in hens. This present study aimed to investigate the effects of exogenous energy on the synthesis of steroid hormones and the expression characteristics of the CREB/StAR signaling pathway in theca cells of laying hen. The primary theca cells of small yellow follicles were randomly divided into six treatments and cultured in medium with glucose concentrations of 1, 1.5, 3, 4.5, 6 and 7.5 mg/mL for 48 h. It was found that growth was robust and cell outlines were clear when cells were cultured with 1, 1.5, 3 and 4.5 mg/mL glucose, but cell viability was diminished and cell density decreased after exposure to glucose at 6 and 7.5 mg/mL for 48 h. Cell viability showed an increasing and then decreasing quadratic response to increasing glucose concentration in culture (r2 = 0.688, P < 0.001). The cell viability of theca cells cultured with 4.5 mg/mL glucose was greater than those cultured with 1, 1.5, 6 and 7.5 mg/mL glucose (P < 0.05). The concentration of estradiol in the medium containing 3 mg/mL glucose was higher than in medium containing 1, 1.5 and 6 mg/mL glucose (P < 0.05). There was an increasing and then decreasing quadratic correlation between progesterone concentrations and glucose concentrations (r2 = 0.522, P = 0.002). The concentration of progesterone in medium with 4.5 mg/mL glucose was higher than in medium with 1 and 7.5 mg/mL glucose (P < 0.05). There was an increasing and then decreasing quadratic correlation between the relative expression of CREB1 (r2 = 0.752, P < 0.001), StAR (r2 = 0.456, P = 0.002), CYP1B1 (r2 = 0.568, P < 0.001), and 3β-HSD (r2 = 0.319, P = 0.018) in theca cells of laying hens and glucose concentrations after treatment with different glucose concentrations for 48 h. After treatment with 4.5 mg/mL glucose, the expression of StAR, CYP1B1 and 3β-HSD genes were increased compared to treatment with 1, 1.5, 3, 6 and 7.5 mg/mL glucose (P < 0.001). There was an increasing and then decreasing quadratic correlation between glucose concentrations and protein expression of CREB1 (r2 = 0.819, P < 0.001), StAR (r2 = 0.844, P < 0.001), 3β-HSD (r2 = 0.801, P < 0.001) and CYP11A1 (r2 = 0.800, P < 0.001) in theca cells of laying hens. The protein expression of CREB1, StAR and 3β-HSD in theca cells cultured with 4.5 mg/mL glucose was higher than in other groups (P < 0.001). The results indicate that the appropriate glucose concentration (4.5 mg/mL) can improve the synthesis of steroid hormones in theca cells of laying hens through the upregulation of key genes and proteins in the CREB/StAR signaling pathway.