The invention belongs to the technical field of biological medicine, and particularly relates to an iridium complex, the structural general formula of the iridium complex is shown as a following formula I or formula II: wherein R1, R2, R3, R4, R5, R6, R7 and R8 are respectively and independently selected from one of hydrogen, alkoxy and aryl; Y1 and Y2 are ions counteracting the iridium complex main body; n1, n2, m1 and m2 are ionic valences, the absolute value of n1 is equal to the absolute value of n2, and the absolute value of m1 is equal to the absolute value of m2. The iridium complex disclosed by the invention is good in water solubility, can be specifically combined with cytolysosome, can generate singlet oxygen under an illumination condition, has an obvious photodynamic therapy effect on cells, does not generate singlet oxygen under a dark condition, does not have toxicity, and has a wide application prospect in photodynamic therapy drugs.