The present invention relates to a pharmaceutical topical gel solution that contains 5-aminolevulinic acid (5-ALA) and an aqueous low viscous gel matrix. This invention also relates to a pharmaceutical preparation containing this composition. The formulation of this type can be used in photodynamic therapy as well as in the photodynamic detection of abnormally proliferating cells.