A solution-gated carbon nanotube field-effect transistor (CNTFET) based on stochastic resonance (SR) was investigated in order to enhance small-signal detection under ambient noise conditions. When noise of optimal intensity was introduced at the reference electrode in a nonlinear CNTFET, the electric double layer in the solution was modulated, resulting in SR behavior. Moreover, when the CNTFET was used as a pH sensor, high sensitivity was achieved, which enabled the detection of small differences in pH. The best results were obtained in a noisy environment; therefore, a solution-gated SR-based CNTFET operated in the subthreshold regime is a promising high-sensitivity sensor.