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
The National Trust say they're "devastated" to have discovered wet rot in the beams of one of the Lake District's oldest buildings.
Performers gather for the free summer event takes place against beautiful backdrop of Dumfries and Galloway’s Morton Castle
Environment Agency and Annan District Salmon Fisheries Board crackdown on illegal fishing