The first shell (1s subshell) can hold a maximum of 2 electrons, the second shell (2s and 2p subshells) can hold up to 8 electrons in total (2 in the 2s subshell and 6 in the 2p subshell).