Ronnie Moore’s men found themselves behind in the ninth minute as Paddy McMadden opened the scoring before Sam Foley doubled the Glovers’ advantage on the half-hour mark.
But the Merseysiders are made of stern stuff these days and replied moments before the break through James Wallace.
Jake Cassidy then levelled accounts six minutes into the second half and, after Yeovil lost Joe Edwards 17 minutes from time to a red card, Rovers made the extra man count as Danny Holmes bagged the winner.
The win extended Tranmere’s lead at the top to seven points after their two nearest rivals both slipped up.
Second-placed Stevenage suffered a 1-0 defeat at Colchester as Sanchez Watt hit a winner just before the hour and moments after the visitors had Anthony Grant sent off.
The defeat leaves them on 23 points, one ahead of both Sheffield United, who conceded an equaliser in the seventh minute of stoppage time at Oldham, and big-spending Crawley Town, who beat basement boys Bury
3-2 courtesy of a late Nicky Adams winner.
Elsewhere Eddie Howe’s second stint in charge of Bournemouth yielded three points as the south coast outfit saw off visitors Leyton Orient 2-0.
Lewis Grabban (65) and Marc Pugh (67) scored to give the former Burnley boss an ideal start.
Meanwhile in yesterday’s lunchtime kick-off, Preston held Milton Keynes to a goalless draw at Deepdale.