Scottish Water was carrying out the works at Philiphaugh on the outskirts of Selkirk whilst laying new pipes between Howden and Yarrowford.
A Scottish Borders Council's archaeologist said:
"It is an exciting discovery. It is not every day that medieval villages are found - most of them are known, this one was completely unknown."
More top news
ITV Border has been given exclusive access to the most hazardous building in western Europe, to see a new 360-tonne machine.
Two sisters have told a jury how they heard a woman's screams from a house in Carlisle, where a young mother was found dead.
A moment of frustration landed Queen of the South legend Jim Thomson in court …. and a fine of £200.