Many cosmological scenarios beyond the Standard Model lead to the formation of a network of cosmic strings. In this talk, I will review how these models lead in a natural way to the production of a stochastic gravitational wave background and how this signal could account for the recently reported results from the NANOGrav collaboration. Finally, we will explain how future observations could allow us to confirm this interpretation of the NANOGrav data.