Neutron reflectivity measurements were used to investigate the thermal stability of layer-by-layer (LBL) films of poly(o-methoxyaniline) (POMA), which was probed by increasing the temperature up to 80 degrees C of a D2O solution in contact with the LBL films. The study was made possible by adsorbing POMA layers on a PEI/(PSS/PAH)5/PSS LBL film template, leading to less rough POMA layers in comparison with the POMA/poly(vinylsulfonic acid sodium salt) (PVS) LBL films adsorbed directly on glass and silicon substrates. While the latter yielded almost fringeless neutron reflectivity curves due to the large roughness, the fitting of the data for POMA films adsorbed onto the template film and UV-vis measurements indicated that the topmost layer is affected for films heated in solution up to 80 degrees C. This is essentially the same thermal stability of LBL films from the template films made with conventional polyelectrolytes. A decrease in thickness of approximately 10 A was inferred when the solution temperature increased from 25 degrees C to 80 degrees C, which was maintained when the sample was cooled back to 25 degrees C. This decrease, observed for solutions of pH 3 and pH 8, is consistent with thermally-stimulated desorption and was corroborated by UV-VIS absorption experiments. The unexpected stability of the POMA layer at pH 8 is attributed to the layer-by-layer structure of the films that allows POMA to remain doped, in its salt emeraldine form, even at high pH.