Callum Fordyce put Cowdenbeath to the sword with a hat-trick of headers to move Livi off bottom spot in the Championship.
But while the Lions ran out comfortable winners, it was Cowdenbeath who scored first. Kane Hemmings smashed the ball past Livi goalie Darren Jamieson.
But the Lions were level by the break with Fordyce heading in his first, from a Martin Scott corner.
With nothing to choose between the sides at the interval, there was no warning of the hammering that was about to come Cowden’s way.
The Livi defender headed the Lions ahead on the hour mark, connecting with a Stefan Scougall corner.
And the points were made safe when Andy Barrowman fired home Livi’s third, as Cowdenbeath capitulated.
But the scoring was far from over.
Sub Mark Burchill bagged his first ever goal for Livi to make it 4-1, before Fordyce grabbed his treble by heading home from a Scott free-kick.
Livingston: 1 Jamieson, 4 Mensing, 5 Fordyce, 19 Donaldson, 21 McDonald, 6 Scott, 7 Jacobs (Wilkie 84), 8 O'Brien, 10 Scougall (Burchill 76), 9 McNulty (Denholm 77), 22 Barrowman
Subs not used: 17 Walker, 45 Rutherford, 48 Mullen, 49 Lander
Cowdenbeath: 17 Adam, 3 Adamson, 4 O'Brien, 5 Armstrong, 14 Brett, 6 Wedderburn, 7 McKenzie (Russell 65), 8 Stevenson, 18 Milne (Morton 65), 22 Robertson, 21 Hemmings
Subs not used: 1 Flynn, 2 Cowan, 20 Miller, 24 Callaghan
Referee: Craig Charleston