This paper presents a near-infrared (near-IR) photodetector based on a gold nanoparticles-doped (AuNPs-doped), single-walled carbon nanotube–germanium (SWCNT/Ge) heterojunction. The responsivity, detectivity, and response time of the AuNPs-doped, SWCNT/Ge heterojunction photodetector measured 476 mA W−1 (a 291% improvement), 1.0 × 1012 cm Hz1/2 W−1 (a 208% improvement), and 8 μs, respectively. The mechanism of the enhanced performance originated from the surface modification by gold doping, which effectively improved the work function of the carbon nanotube films and thus increased the barrier height between the heterojunctions, as measured by the contact potential distribution (CPD) and open circuit voltage (Voc) of the SWCNT/Ge interface. In addition, we investigated the effect of various particle sizes on the performance and stability of the photodetector. The results demonstrate the promising prospects of the presented heterojunction photodetector for infrared detection applications.