The structural and electronic properties of both Br substitution and vacancy structures of black orthorhombic CsPbI 3 (γ ‐ CsPbI 3 ) perovskite are investigated by carrying out first‐principle calculations in density functional theory (DFT). For mixed perovskites CsPb(I 1− x Br x ) 3 , x is 0.0, 0.25, 0.5, 0.75, and 1.0, respectively. The studies suggest that the I II site should be preferentially substituted by Br atom rather than the I I site and the structure becomes more stable with increasing Br content. These compounds are direct‐bandgap semiconductors in the range of 1.887−2.137 eV. Moreover, the vacancy changes the electroconductibility of γ‐CsPbI 3 . γ‐CsPbI 3 :V Pb and γ‐CsPbI 3 :V I exhibit p‐type and n‐type conductivity, respectively. γ‐CsPbI 3 :V Cs still is a semiconductor with a direct bandgap, which presents a slight decrease in electroconductibility due to the increase in bandgap. The calculated structural parameters show that both substitution and vacancy can induce structural distortion. Partial density of states (PDOS) suggests that the top of the valence band arises from hybridization of Pb s ‐ and halogen p ‐orbitals, whereas the bottom of the conduction band has predominantly Pb p ‐orbitals for two kinds of crystal structures. These results provide strong support for developing high‐performance perovskite photovoltaic materials in optoelectronic devices.