Marc McKenzie's strike just before half-time gave Cowdenbeath victory in a tight affair at East Fife.
The hosts looked comfortable against the league leaders but failed to test goalkeeper Thomas Flynn with their long-range efforts early on.
Greg Stewart then came close for Cowdenbeath but Michael Brown managed to parry away the striker's powerful shot.
McKenzie scored the winner by racing into the box and slotting past Brown.
The Fifers pushed forward after that but still found opportunities at a premium with Steven Hislop dragging his shot wide from just outside the box.
And, though Cowdenbeath rarely looked like adding a second, they saw out the game with ease to extend their unbeaten run to eight matches.
East Fife: Michael Brown, Scott Durie, McCormack, White, Cook, Linn, Janczyk (Martin 70), Darren Smith, Robert Sloan, Hislop (Dalziel 67), Wallace.
Subs Not Used: Collier, Campbell, Gordon.
Booked: Wallace, Scott Durie, Cook.
Cowdenbeath: Flynn, Cowan (Ramsay 69), Armstrong, Mbu, Adamson, McKenzie, Fisher (O'Brien 64), Robertson, Linton, Stewart (Coult 58), Lyle.
Subs Not Used: Wilson, Cameron.
Goals: McKenzie 43.
Ref: John McKendrick