Yes, you can get to Melrose via the train from Edinburgh. The train journey is 35 miles from the country’s capital and takes roughly 58 minutes. It will drop you off at Tweedbank train station.