PIH is generally caused by an injury or inflammation to the skin. Common triggers include acne, eczema, psoriasis, and physical trauma such as cuts, burns, or surgical procedures. The inflammatory response leads to the release of inflammatory mediators that stimulate melanocytes to produce more melanin. This excess melanin is then deposited in the epidermis or dermis, leading to hyperpigmented lesions.