The North American Nanohertz Observatory for Gravitational Waves (NANOGrav) recently reported evidence for the presence of a common stochastic signal across their array of pulsars. The origin of this signal is still unclear. One possibility is that it is due to a stochastic gravitational-wave background (SGWB) in the ∼1-10 nHz frequency region. Taking the NANOGrav observational result at face value, we show that this signal would be fully consistent with an SGWB produced by an unresolved population of in-spiralling massive black hole binaries (MBHBs) predicted by current theoretical models. Considering an astrophysically agnostic model, the MBHB merger rate is loosely constrained. Including additional constraints from galaxy pairing fraction and MBH-bulge scaling relations, we find that the MBHB merger rate is 1.2 × 10−5−4.5 × 10−4Mpc−3Gyr−1 , the MBHB merger time-scale is ≤2.7Gyr , and the norm of the MBH-Mbulge relation is ≥1.2×108M⊙ (all quoted at 90 per cent credible intervals). Regardless of the astrophysical details of MBHB assembly, the NANOGrav result would imply that a sufficiently large population of massive black holes pair up, form binaries and merge within a Hubble time.