Digestion of cattle manure collected from a livestock farm together with bedding material (straw) has been studied under mesophilic and thermophilic conditions in batch reactors. The digestion was carried out for a prolonged period with the aim of evaluating the changes undergone by the organic matter. The mesophilic digestion carried out revealed a greater capacity to produce gas and transform organic matter, while a higher conversion rate, but a lower gas yield, was obtained under thermophilic conditions. Degradation of the organic matter was evaluated by means of thermal analysis and (1)H NMR. Stabilisation through anaerobic digestion (either mesophilic or thermophilic) resulted in an increase in the quality of the organic matter, as characterised by an enrichment in thermostable compounds, and an accumulation of long chain aliphatic materials. The experiments performed demonstrated the transformation of organic matter into complex materials under anaerobic conditions with an accumulation of aliphatic components under both types of conditions tested. Degradation through mesophilic digestion, in comparison to the thermophilic process, resulted in a greater destruction of straw particles.