The electronic structures of minute lithium aggregates in an MgO matrix is calculated by means of molecular self-consistent method. The electronic levels of the aggregates in the matrix are lowered with respect to those corresponding to the isolated aggregates. The total charge effect of the ions removed to form the cavity is examined.