The heat transfer and pressure distribution in a rectangular cavity in a Mach 3 flow were investigated for a rectangular and an inverted-wedge recompression step. Noticeable differences between the results for the two steps were found in the recovery factors, but no real differences were detected in the heat-transfer coefficients or the velocity profiles. Heat-transfer coefficients in the cavity were determined by transient techniques and were found to range from 50 to 110 percent of the flat-plate value just prior to the expansion step.