Background Acute exacerbation (AE) is a common cause of rapid deterioration and high mortality in idiopathic pulmonary fibrosis (IPF) patients. Osteopontin (OPN) plays an important role in IPF, but the studies about serum OPN in AE-IPF are unclear. We aimed to investigate whether OPN had a potential prognostic value in acute exacerbation and mortality in IPF. Methods Thirty-two patients with AE-IPF, 39 with S-IPF, and 20 healthy controls were included. Serum OPN and KL-6 levels were compared between AE-IPF and S-IPF. Logistic regression analysis was applied to identify the predicted value of OPN for AE. Kaplan–Meier curves were used to display survival, and Cox proportional hazards regression was used to identify risk for mortality. Results In AE-IPF patients, serum OPN levels were significantly higher than in S-IPF subjects (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (p < 0.001) or healthy controls (Conclusion Elevated OPN could be a potential serum predictor for AE status and survival in IPF patients.