Neutron star-neutron star mergers are known to be associated with short gammaray bursts 1-4 . If the neutron star equation of state is sufficiently stiff, at least some of such mergers will leave behind a supramassive or even a stable neutron star that spins rapidly with a strong magnetic field (i.e., a magnetar) 5-8 . Such a magnetar signature may have been observed as the X-ray plateau following a good fraction (up to 50%) of short gamma-ray bursts 9, 10 , and it has been expected that one may observe short gamma-ray burst-less X-ray transients powered by double neutron star mergers 11, 12 . A fast X-ray transient (CDF-S XT1) was recently found to be associated with a faint host galaxy whose redshift is unknown 13 . Its X-ray and host-galaxy properties allow several possible explanations including a short gamma-ray burst seen off axis, a low-luminosity gamma-ray burst at high redshift, or a tidal disruption event involving an intermediate mass black hole and a white dwarf 13 . Here we report a second X-ray transient, CDF-S XT2, that is associated with a galaxy at redshift z = 0.738 14 .The light curve is fully consistent with being powered by a millisecond magnetar. More intriguingly, CDF-S XT2 lies in the outskirts of its star-forming host galaxy with a moderate offset from the galaxy center, as short bursts often do 15,16 . The estimated event rate density of similar X-ray transients, when corrected to the local value, is consistent with the double neutron star merger rate density inferred from the detection of GW170817 1 .Upon the completion of the deepest X-ray survey to date, the 7 Ms Chandra Deep Field-