We propose and simulate a method for generating a three-dimensional (3D) optical cage in the vicinity of focus by focusing a double-ring shaped radially and azimuthally polarized beam. Our study shows that the combination of an inner ring with an azimuthally polarized field and an outer ring with a