These results reveal a novel ROCK/MEF2A/EZH2 axis in PF pathogenesis, highlighting MEF2A as a potential therapeutic target. Here, EZH2 is linked to pemphigus foliaceus.