In this paper, the transmission and absorption properties of nonsymmetrical cavity structure with metal material have been studied through transfer matrix method and electromagnetic (EM) field simulations. The absorption is found to be dependent on the cavity resonance effect. For a nonsymmetrical structure, the EM wave can be totally absorbed from one incidence direction, at the same time the EM wave is totally reflected from the opposite incidence direction. The reasons of the nonreciprocal absorption are analyzed in detail.