Prevention of flash rusting of iron-containing substrates is achieved by contacting the substrates with aqueous solutions containing carbonate and/or bicarbonate salts. The treatment process can be effected during cleaning of the substrates with an aqueous alkaline cleaner or during a