Porous materials have generated a great deal of interest for use in energy storage technologies, as their architectures have high surface areas due to their porous nature. They are promising candidates for use in many fields such as gas storage, metal storage, gas separation, sensing and magnetism. Novel porous materials which are non-toxic, cheap and have high storage capacities are actively considered for the storage of Li ions in Li-ion batteries. In this study, we employed density functional theory simulations to examine the encapsulation of lithium in both stoichiometric and electride forms of C12A7. This study shows that in both forms of C12A7, Li atoms are thermodynamically stable when compared with isolated gas-phase atoms. Lithium encapsulation through the stoichiometric form (C12A7:O2−) turns its insulating nature metallic and introduces Li+ ions in the lattice. The resulting compound may be of interest as an electrode material for use in Li-ion batteries, as it possesses a metallic character and consists of Li+ ions. The electride form (C12A7:e−) retains its metallic character upon encapsulation, but the concentration of electrons increases in the lattice along with the formation of Li+ ions. The promising features of this material can be tested by performing intercalation experiments in order to determine its applicability in Li-ion batteries.