The key to diagnosing idiopathic pulmonary fibrosis (IPF) is a high-resolution computed-tomography (HRCT) scan. If the HRCT scan shows a usual interstitial pneumonia (UIP) pattern and alternative causes of interstitial lung disease (ILD) can be ruled out, a diagnosis of IPF is indicated.