The invention relates to a process for the production of single-phase or multiphase detergent shaped bodies containing surfactant(s), builder(s), perfume and optionally other typical ingredients of detergent shaped bodies, in which a perfume-free detergent shaped body is subsequently treated with a perfume or perfume-containing active-substance mixtures. The end products of this flexible process are distinguished by an improved odor impression.