Two first-half goals earned Aberdeen's the points at Spartans in a match that was disrupted by a serious injury to the hosts' Rebecca Galbraith.
Bayley Hutchison and Hannah Stewart put Aberdeen in front after 25 minutes at Balmoral Stadium.
However, there was a lengthy delay before half time when Galbraith suffered a head knock and was eventually taken off on a stretcher.
When play resumed, Spartans' Caley Gibbs found the back of the net deep into stoppage time but it wasn't enough to mount a comeback.
There's now 10 points between the Dons in seventh and Spartans in 10th.