The invention relates to a method of treating or preventing seborrheic keratosis. The method comprises locally applying to a subject in need thereof artemisinin and/or one or more structurally related compounds. Also disclosed are topical formulations comprising artemisinin and/or one or more structurally related compounds.