Bobby Barr was Livingston's goal hero as the visitors won at Hamilton to stay fifth in the First Division.
Barr fired over from the edge of the area shortly before the half hour then Hamilton keeper Alan Coombe did well to parry Liam Fox's 20-yard effort.
With 20 minutes to go, winger Barr collected Mark Fotheringham's pass and fired high into the net from 25 yards.
Gordon Smith might have levelled for Hamilton five minutes from time but headed over from close range.
Hamilton: Coombe, McAlister, Mensing, Canning, McGlinchey, Imrie, Fraser (Currie 69), Crawford (Paterson 75), Neil, Smith, Spence. Subs Not Used: Hutton, Kilday, McBride.
Booked: Smith, McGlinchey.
Livingston: McNeil, Ross, Craig Barr, Watson, Talbot (McNulty 52), Keaghan Jacobs, Kyle Jacobs, Fotheringham, Fox, Robert Barr, Deuchar (Boulding 77). Subs Not Used: Murphy, Scougall, Sinclair.
Booked: Deuchar, Ross, Robert Barr.
Goals: Robert Barr 70.
Referee: Craig Charleston