The present invention relates to microcapsules comprising one or more biocides such as, in particular, iodopropargyl compounds, and at least one melamine-formaldehyde polymer, to a process for producing such microcapsules, and to their use for protecting technical materials.