We examine recovery rates of defaulted bonds in the US corporate bond market, based on a complete set of traded prices and volumes. A study of the trading microstructure around various types of default events is provided. We document temporary price pressure with high trading volumes on the default day and the following 30 days, and low trading activity thereafter. Based on this analysis, we determine market-based recovery rates and quantify various liquidity measures. We study the relation between the recovery rates and these measures, considering additionally a comprehensive set of bond characteristics, firm fundamentals, and macroeconomic variables.