This study employed a two-step hydrothermal reduction process and freeze-drying technique. Initially, carbon nanosphere composite aerogels (CNSs) were synthesized through the hydrothermal reduction of glucose. Subsequently, boron-doped graphene/carbon nanosphere composite aerogel (BGA/CNS) was prepared by utilizing graphene oxide (GO) and boric acid as carbon (C) and boron (B) sources, respectively, in conjunction with CNS. The photo-enhanced thermionic electron emission (PETE) performance of the samples was assessed using a custom-made device. Boron atom doping was found to modulate the bandgap of graphene aerogel and induce P-type semiconductor characteristics, while the addition of CNSs increased its specific surface area, thereby enhancing its photoelectric properties. The results indicated that BGA/CNS-8h exhibited superior PETE effects, with a short-circuit current, open-circuit voltage, and maximum power of 5.81 µA, −2.10V, and −1.57µW.