The second shell, associated with principal quantum number n=2, can have a maximum of 8 electrons and corresponds to the second period of the periodic table. The third shell also has 8 electrons, but things get more complicated after than because the subshells spread out enough that there is overlap between them. Lewis Dot Diagrams.