Objective The daily step count is associated with mortality in idiopathic pulmonary fibrosis (IPF). However, the factors associated with this phenomenon are not yet fully understood. We therefore clarified its association with clinical parameters. Methods Fifty-nine patients with IPF with available data for daily step counts; 6-minute walk distance (6MWD); chest, abdominal, and pelvic computed tomography (CT); pulmonary function; psychological evaluations; and sarcopenia assessments were prospectively enrolled. The daily step count was measured continuously for seven consecutive days. The cross-sectional areas of the erector spinae muscles at the level of the 12th vertebra (ESM) and psoas major muscle volume (PMV) obtained by CT were assessed. Results The average age of the patients was 73.3±8.1 years old, and the percent predicted forced vital capacity was 81.6% ±15.8%. The average daily step count was 4,258 (2,155-6,991) steps. The average 6MWD, ESM, and PMV were 413±97 m, 25.5±6.7 cm, and 270±75.6 cm, respectively. A linear regression analysis for daily step count showed that the ESM and 6MWD were independent factors for the daily step count, whereas the PMV and skeletal muscle index were not. The daily step count, ESM, and 6MWD were lower in patients with sarcopenia than in those without sarcopenia. Conclusions A lower daily step count was associated with a smaller erector spinae muscle area and sarcopenia in patients with IPF. Further studies are warranted to confirm the importance of physical therapy for muscle strengthening in patients with IPF.