We show the existence of a competitive equilibrium in an economy with many consumers whose preferences may change over time. The demand correspondence of an individual consumer is determined by the set of subgame-perfect equilibrium outcomes in his intrapersonal game. For additively separable preferences with concave period utility functions that are unbounded above, this demand correspondence will satisfy the usual boundary conditions. Whenever consumers can recall their own mixed actions, this correspondence is convex-valued. This ensures the existence of a symmetric competitive equilibrium.