The Aufbau principle states that in the ground state of an atom or ion, electrons fill atomic orbitals of the lowest available energy levels before occupying higher levels (e.g., 1s before 2s). In this way, the electrons of an atom or ion form the most stable electron configuration possible.