Boroughmuir came storming back from 18 points down to snatch victory with the last kick of the game in an astonishing reversal of fortune.
Melrose, who had clinically despatched league-leaders Ayr the previous week, controlled play in the first half and kept the scoreboard ticking over with tries from Lewis Carmichael and Fraser Thomson plus a conversion and two penalties from Joe Helps.
Boroughmuir, with a run of seven defeats behind them, didn’t get a look-in, let alone any points.
It all seemed to change early in the second half as the heavens opened and a downpour of biblical proportions lashed the Meggetland pitch. Melrose’s earlier dominance was washed away and they were suddenly having to repel wave after wave of attacks.
Two tries from Jordan Edmunds, one converted by David Reekie, closed the gap while a touchdown from Karl Furey two minutes into injury time brought the hosts to within a single point. The conversion was still required and Reekie stepped forward to nail the win.
Melrose coach John Dalziel said: “Coming on the back of our win over Ayr last week, this was a very disappointing performance.”