We establish a relationship between the helicity of a magnetic flow on a closed surface of genus $\geq 2$ and the Ma\~n\'e critical value.