Heptanitrocubane is an experimental high explosive based on the cubic eight-carbon cubane molecule and closely related to octanitrocubane. Seven of the eight hydrogen atoms at the corners of the cubane molecule are replaced by nitro groups, giving the final molecular formula C8H(NO2)7.