In this paper, the structural, electronic and absorption properties of 2,2′-iminobis (acetamide oxime) (IBO) under pressure of 0–300GPa are calculated by the density functional theory (DFT) calculations. Analysis of the variation trend of lattice constant, bond length and bond angle of IBO under compression conditions, shows there are complex transformations under different pressure. In addition, it is found that the structure of IBO in the a-axis is stiffer than that along the b- and c-axes, which indicates that the crystal has anisotropic compressibility. By analyzing the band structure and the density of states of IBO, it is seen that at 120GPa, the electronic structure of IBO changes into metallic system, and becomes more sensitive under compression conditions. The transition between metal and semiconductor occurs again at 150Gpa. Finally, at 180GPa, the crystal transforms into metal again. The three obvious phase transitions indicate that the structure of IBO becomes more unstable with the increase of pressure. The absorption spectra show that with the increase of pressure, the optical activity of IBO crystal grows higher, and three obvious structural transitions are, respectively, observed at 120, 150 and 180GPa.