Based on the refraction theory of the lens, the SU-8 photoresist hard X-ray hourglass lenses with three different structure parameters are fabricated. The mask-back exposure technique is introduced to fabricate the lenses. The focusing performance of this device is tested at Beijing Synchrotron Radiation Facility (BSRF). At the distance of 1.65m from the lenses, an obviously focusing performance in one dimension is observed. The relative intensity of the lenses with the largest gain is about 217.7, the gain of the lens is about 1.15, and the dimension of the focus is about 33µm. The focusing performance of this device can be improved through the developing of the mask-back exposure technique.