In the present work, TiO2 nanotubes (TNT) and carbon-doped TiO2 nanotubes (C-TNT) were produced via the anodization method. Carbon doping was performed on TNT in a tubular oven employing two different 15 cm(3)/min total flow rates with varying compositions of acetylene (C2H2) and argon (Ar) as V-C2H2/Ar = 7/93 (1 cm(3)/min C2H2 + 14 cm(3)/min Ar) for C-TNT (7:93) and V-C2H2/Ar = 33/67 (5 cm(3)/min C2H2 + 10 cm(3)/min Ar) for C-TNT (33:67). The synthesized C-doped TNT was characterized by x-ray diffraction (XRD), Raman spectroscopy, and scanning electron microscopy (SEM). XRD, Raman spectra, and SEM results reveal that a carbon film structure was formed on the TNT surface. In addition, the electronic structure of TNT changed with doping of carbon on the TNT surface. These carbon-doped TNTs were employed as catalysts for the photocatalytic oxidation of glucose (GA). Cyclic voltammetry (CV), chronoamperometry (CA), and electrochemical impedance spectroscopy (EIS) measurements were carried out to investigate the glucose electro-oxidation activity of the carbon-doped TNTs in the dark and under UV illumination (lambda = 354 nm). C-TNT (7:93) exhibited the highest glucose electro-oxidation activity under the dark and UV illumination compared to C-TNT (33:67) and TNT. The glucose electro-oxidation (GAEO) current density on C-TNT (7:93) improved significantly under UV illumination compared to glucose electro-oxidation activity obtained in the dark. C-TNT (7:93) enhanced glucose electro-oxidation activity and stability under UV illumination. This electrode production method is promising for the design of photocatalytic glucose fuel cells.