Abstract In a previous paper, we found that perpendicular and parallel proton temperatures are clearly associated with the proton-scale turbulence in the solar wind, and magnetic helicity signature appears to be an important indicator in the association. Based on 15 yr of in situ measurements, the present paper further investigates the magnetic helicity of solar wind turbulence and its role in regulating magnetic energy spectra and proton temperatures. Results show that the presence of the helicity signature is very common in solar wind turbulence at scales , with k being the wavenumber and ρ p the proton gyroradius. The sign of the helicity is mostly positive, indicating the dominance of right-handed polarization of the turbulence. The helicity magnitude usually increases with k and (the proton parallel beta) when and are less than unity. As helicity magnitude increases, the power index of the energy spectrum becomes more negative, and the proton temperatures and rise significantly, where and are the perpendicular and parallel temperatures with respect to the background magnetic field. In particular, the rise of is faster than when is satisfied. The faster rise of with the helicity magnitude may be interpreted as the result of the preferentially perpendicular heating of solar wind protons by kinetic Alfvén wave turbulence.