In the bleomycin model of lung fibrosis, the conditional deletion of Il11ra1 in AT2 cells prevents the accumulation of profibrotic Krt8+ transitional cells, enhances alveolar epithelial regeneration, and protects against fibrosis. Here, KRT8 is linked to pulmonary fibrosis.