Results: Pathological studies and biochemical indexes showed that cannabidiol treatment could significantly alleviate IPF symptoms, significantly reduce the levels of TNF-α, IL-1β, IL-6, MDA, and HYP, and increase the expression level of SOD (p < 0.05). The gene discussed is IL1B; the disease is idiopathic pulmonary fibrosis.