The ecological succession of bacteria which developed in pre-cooked potato-topped pies stored at two different temperatures was examined. Bacillus, Streptococcus and Staphylococcus-Micrococcus spp. were the predominant organisms isolated from freshly prepared pies and those stored at 4 degrees and 37 degrees C. None of these groups of bacteria caused significant biodeterioration of pies held at 4 degrees C, but all groups grew well in pies stored at 37 degrees C and achieved counts of ca 10(8)/g of sample. Bacillus spp. were the first group to grow, followed by Streptococcus and Staphylococcus-Micrococcus spp. Growth which occurred at 37 degrees C did so at the expense of glucose, lactate accumulated and the pH of pie components decreased. Amylase activity detected in all pie components during storage was associated with the growth of Bacillus spp. and probably supplemented glucose already present in pies, by hydrolytic cleavage of potato, flour or binder starches. Spoilage caused by growth and activity of the bacteria isolated was not associated with visual signs of biodeterioration, nor production of 'off' odour usually associated with spoilage of meats. These results suggest that pre-cooked potato-topped pies held at inappropriate temperatures represent a potential public health risk.