There are many proxies for the short-term interest rate that are used in asset pricing. Yet, they behave differently, especially in periods of economic stress. Derivatives markets offer a unique laboratory to extract a short-term borrowing and lending rate available to all investors that is relatively free from liquidity and credit effects. Interestingly, implied interest rates do not resemble benchmark interest rates such as the three-month T-bill rate or LIBOR, but instead are much more volatile. I argue that the volatility in the implied short-term rate in futures and option markets is due to frictions arising from borrowing and short-selling costs. I derive an equilibrium model of the futures market where demand imbalances from traders affect the implied interest rate. In the model, the implied interest rate depends on the true risk-free rate and a latent demand factor. I estimate the model based on S&P 500 index futures using the Kalman filter. The risk-free rate that results from this estimation has time-series properties similar to Treasury and LIBOR rates, and anticipates interest rate changes. The spread between the risk-free and the T-bill rate correlates with liquidity proxies of the Treasury market, while the spread between LIBOR and the risk-free rate is related to economic distress. The latent demand factor is closely related to proxies for demand pressure in the futures market, such as large speculator positions as well as investor sentiment. The demand factor is positive (negative) when buying (selling) pressure is high and is difficult to borrow (to short-sell the underlying). I also find that demand imbalances are correlated across different indexes, for both futures and options.