Andrew Surman scored in stoppage time to give Bournemouth a last-minute win against a Gillingham side that has still to claim an away victory. The visitors missed a host of first-half chances before Neil Harris finished from a Matt Jarvis cross.
Bournemouth equalised soon after when James Hayter took advantage of John Wallis' mistake to fire home.
And victory was sealed when Surman dived to head home Hayter's cross in the second minute of stoppage time.
Bournemouth: Stewart, Hart (Purches 78), Young, Cooper (Howe 80), Foley (Rodrigues 78), Stock, Browning, Surman, O'Connor, Fletcher, Hayter.
Subs Not Used: Moss, Pitman.
Booked: O'Connor, Surman.
Goals: Hayter 66, Surman 90.
Gillingham: Brown, Wallis, Sancho, Cox, Jackman, Jarvis, Spiller, Flynn, Williams, Fobi-Edusei (Shields 45), Harris.
Subs Not Used: Crichton, Rose, Grant, Collin.
Booked: Wallis, Cox.
Goals: Harris 62.
Att: 6,177
Ref: C Penton (Sussex).