The resonance frequency $\ensuremath{\omega}$ and internal friction ${Q}^{\ensuremath{-}1}$ of the first eigenmode of microfabricated silicon cantilevers are measured in the temperature range of 15\char21{}300 K. The analysis shows that variation of Young's modulus is responsible for the temperature dependence of the resonance frequency, whereas the dependence of the geometrical dimensions can be neglected. Accordingly, the data can be fitted by the Wachtman equation, yielding a Debye temperature ${\ensuremath{\Theta}}_{D}=634\mathrm{K}.$ The temperature variation of internal friction ${Q}^{\ensuremath{-}1}$ is analyzed in terms of Zener's theory of thermoelastic damping. Due to the temperature dependence of the thermal expansion coefficient $\ensuremath{\alpha},$ thermoelastic damping is expected to vanish at 20 K and 125 K. A minimum of internal friction is observed at 20 K, whereas the minimum at 125 K appears to be hidden by other dissipation effects. A maximum of internal friction at 160 K is observed, which is an activation peak due to phonon scattering by atomic-scale defects. The best force sensitivity is achieved at 20 K, where a factor of 10 is gained compared to room temperature.