Dunfermline consigned Hamilton to a fifth league defeat after a convincing victory at New Douglas Park.
After a goalless first half, the Pars sprang to life just two minutes into the second period.
Stephen Jordan got to the byline to cross for Ryan Wallace, who fired in from 15 yards.
The striker grabbed his second in the 70th minute from Joe Cardle's low centre.
Substitute Ryan Thomson rounded off the victory one minute from time, heading home Stephen Husband's cross from close range.
Cuthbert, Canning, Neil, Page, Gillespie, Routledge, Fisher (Longridge 72), Hendrie, May, Keatings (Ryan 65), Crawford (Fraser 80).Subs Not Used: Christie, Devlin.
Gallacher, McMillan, Dowie, Morris, Jordan, Falkingham (Thomson 86), Husband, Geggan, Cardle, Barrowman (Kirk 81), Wallace.Subs Not Used: Hrivnak, Dargo, Potter.
Wallace 47, 70, Thomson 89.