For oxides with octahedron ligand field, such as perovskite, spinel, and mullite, unit occupancy of e g orbital plays a key role in governing the catalytic performance of oxygen redox in the application of renewable energy storage and conversion. The magnetic configurations greatly influence the e g occupancy of these oxides. In this work, using the perovskite LaCoO 3 as an example, we use density functional theory (DFT) calculations to achieve an intermediate spin configuration corresponding to unit-like e g occupancy via strain schemes. We determined that the introduction of strain by changing lattice constants effectively tailors electronic configurations. The low-spin (t 6 2g e 0 g ), intermediatespin (t 5 2g e 1 g ), and high-spin (t 4 2g e 2 g ) configurations are obtained with the strain γ < 1.0%, 1.0% ≤ γ < 4.0%, and γ ≥ 4.0%, respectively. To obtain the e g unit occupancy practically, Ba with a larger ionic radius relative to La is inserted into A site to replace La elements, introducing tensile strain to the pristine LaCoO 3 . The Ba substitution of La leads to the desirable spin configuration with the unit-like e g occupancy. These findings provide a scenario on how to precisely control the unit occupancy of e g via defect induced strain.