The invention belongs to the technical field of luminescent materials, in particular relates to near-infrared phosphor, and relates to an illuminating device containing the phosphor. The near-infraredphosphor comprises an inorganic compound of the formula AxRpQqOr:Dy, wherein A is one or two of Zn, Ca, Mg, Sr and Ba elements, R is one or two of Ga, Al and B elements, Q is one or two of Ge and Sielements, D is one or two of Ni and Yb elements, and must contain the Ni element, 2<=x<=4, 1.5<=p<=2.5, 0.8 <= q <= 1.2, 6 <= r <= 10, 0.0001 <= y <= 0.2. The compound has the same crystal structure as spinel ZnGa2O4. The luminescent material can be efficiently emitted in a near-infrared region (1250-1300 nm), and is an ideal near-infrared luminescent material, and the illuminating device containing the phosphor can be widely applied to night vision monitoring, biological analysis sensing systems and Fields such as biological imaging systems.