Natamycin is most effective as a preservative in environments with a pH between 5 and 7. Its effectiveness declines by up to 10% in more acidic conditions and up to 30% in more basic or acidic conditions outside of pH 4-9. It is stable at room temperature but its activity decreases with prolonged exposure to temperatures over 50°C or UV light. Other microorganisms and chemicals containing chlorine or peroxides can also degrade natamycin over long periods of time.