Central to the biological function of microtubules. is their ability to modify their length which occurs by addition and removal of subunits at the ends of the polymer, both in vivo and in vitro. This dynamic behavior is strongly influenced by temperature. Here, we show that the lateral interaction between tubulin subunits forming microtubule is strongly temperature dependent. Microtubules deposited on prefabricated substrates were deformed in an atomic force microscope during imaging, in two different experimental geometries. Microtubules were modeled as anisotropic, with the Young's modulus corresponding to the resistance of protofilaments to stretching and the shear modulus describing the weak interaction between the protofilaments. Measurements involving radial compression of raicrotubules deposited on flat mica confirm that microtubule elasticity depends on the temperature. Bending measurements performed on microtubules deposited on lithographically fabricated substrates show that this temperature dependence is due to changing shear modulus, implying that the lateral interaction between the protofilaments is strongly determined by the temperature. These measurements are in good agreement with previously repot led measurements of the disassembly rate of microtubules, demonstrating that the mechanical and dynamic properties of microtubules are closely related.