Alkaline earth metals $\left(n s^{2}\right)$ are denser than alkali metals $\left(n s^{1}\right)$ because metallic bonding in alkaline earth metals is stronger than alkali metals due to presence of two electrons in valence shell as compared to one electron in alkali metals.