We have prepared uniform films of chitosan with thicknesses 20 nm < h < 200 nm by spincoating solutions of chitosan dissolved in dilute acetic acid onto silicon substrates while controlling the spin speed and the relative humidity inside the spincoater. After neutralizing the films, they readily absorbed water in the presence of high humidity. Heating of the films to elevated temperatures caused a large irreversible decrease in the film thickness, a small increase in the index of refraction, and a reduction in water absorption, as measured using ellipsometry. Comparisons of infrared absorption measurements of chitosan films collected before and after heating indicate an increase in the degree of acetylation with heating. Collectively, these observations are consistent with the release of bound water and a chemical change similar to acetylation at elevated temperatures.