Using density functional theory, this work investigated the photocatalytic potentials of gallium nitride nanotubes (GaNNTs) under separate doping of Si and B impurities. The study was performed by analyzing various parameters such as structural properties, band gap, effects of bond length variation, photogeneration properties, as well as analyzing overpotential values. Structural analysis results showed overall good stability when 3.12% of Si and B dopants were used separately on pristine GaNNT. The most stable bond length for doping GaNNT with either B or N atoms was 1.47 Å, which is in good agreement with previously reported experimental data. It was also found that Si-doped GaNNT absorbs light more than B-doped GaNNT. In addition, all doped systems absorb more light in parallel compared to the perpendicular direction of the axis of the nanotubes. Based on the obtained data, it was found that both Si-doped and B-doped GaNNT are suitable as photocatalysts for CO2 reduction and hydrogen evolution. The practical implications of our findings is the ability of the studied materials to help reduce atmospheric contamination caused by excessive emission of greenhouse gases.