The world’s most famous engine will operate separate excursions from Edinburgh on the Borders Railway, and over the Forth Bridge to Fife, on Sunday, 15 May.
A total of 425 seats will be available, with tickets £59-£170.
The finishing touches are being made to a £4.2 million refurbishment of Flying Scotsman by the National Railway Museum in York. It is due to return to the east coast main line next Thursday, travelling from London to York.
Marcus Robertson, chairman of operator Steam Dreams, which is organising 14 runs with Flying Scotsman across Britain, said: “Of all the trips, our visit to Edinburgh, bringing this iconic engine back to Scotland, is by far the most significant.”
They are expected to sell out like ten of the others so far.
The locomotive was last in Scotland in 2000 when it visited Edinburgh during a trip on the east coast main line, over which it hauled the luxury train of the same name from the 1920s to the 1950s.
Its return to the line is due on Thursday, with an excursion from London to York.