This study aimed to investigate the growth and phenol content changes of basil (Ocimum basilicum L.) under five different light intensities and photoperiods, maintaining the same Daily Light Integral (DLI) conditions in a plant factory. Basil seeds were sown on a rockwool medium for four weeks and then transplanted. To maintain a DLI 17mol·m-2·d-1, light intensity and photoperiod were set at 16h-295, 18h-260, 20h-235, 22h-215, and 24h-200μ mol·m-2·s-1 and cultivated for four weeks. The harvested results showed that basil plant height, number of lateral branches, and leaf number tended to decrease from the 16h-295 treatment to the 24h-200 treatment. Shoot fresh weight, dry weight, leaf area, leaf width, and leaf length were significantly higher in the 18 h-260 treatment. The total phenolic contents in the 18h-260 treatment was significantly higher by 51.3%, 172.7%, 111%, and 119.7% compared to the 16h-295, 20h-235, 22h-215, and 24h-200 treatments, respectively. Therefore, it is anticipated that cultivating basil under the condition of 18h-260 treatment could yield enhanced growth quality and an increase in total phenolic contents.