We consider the consumption and portfolio choice problem of a long-run investor when the term structure is affine and when the investor has access to nominal bonds and a stock portfolio. In the presence of unhedgeable inflation risk, there exist multiple pricing kernels that produce the same bond prices, but a unique pricing kernel equal to the marginal utility of the investor. We apply our method to a three-factor Gaussian model with a time-varying price of risk that captures the failure of the expectations hypothesis seen in the data. We extend this model to account for time-varying expected inflation, and estimate the model with both inflation and term structure data. The estimates imply that the bond portfolio for the long-run investor ...