Customer behavior modeling has gained increasing attention in the context of dynamic pricing. As an important behavior phenomenon, consumer inertia refers to consumers' inherent tendency of purchase procrastination and may induce consumers to wait even when immediate purchase is optimal from an objective perspective. This paper studies a dynamic pricing problem for a monopolist firm selling perishable goods to consumers who may be influenced by inertia. We formulate this problem using the finite-horizon dynamic programming approach and derive the optimal dynamic pricing policy. We demonstrate that consumer inertia produces negative effects on firms' expected revenues and optimal prices, which are monotonically decreasing in both inertia depth and breadth. Through numerical illustrations, we further show that the marginal effects of inertia depth on optimal prices and expected revenues are decreasing, whereas the marginal effects of inertia breadth are increasing. Finally we propose some suggestions for firms to influence the level of consumer inertia.