Nanomechanical motion of bacteria adhered to a chemically functionalized silicon surface is studied by means of a microcantilever. A non-specific binding agent is used to attach Escherichia coli (E. coli) to the surface of a silicon microcantilever. The microcantilever is kept in a liquid medium, and its nanomechanical fluctuations are monitored using an optical displacement transducer. The motion of the bacteria couples efficiently to the microcantilever well below its resonance frequency, causing a measurable increase in the microcantilever fluctuations. In the time domain, the fluctuations exhibit large-amplitude low-frequency oscillations. In corresponding frequency-domain measurements, it is observed that the mechanical energy is focused at low frequencies with a 1/fα -type power law. A basic physical model is used for explaining the observed spectral distribution of the mechanical energy. These results lay the groundwork for understanding the motion of microorganisms adhered to surfaces and for developing micromechanical sensors for bacteria.