Dunfermline beat Ayr United 1-0 at Somerset Park on Friday night to move to the top of League 1.
Faissal El Bakhtaoui scored the only goal for Jim Jefferies' team after half an hour as the home side slipped to a third straight defeat.
Forfar will return to the summit if they beat Stenhousemuir at Station Park on Saturday.