Pompey moved to within two points of the play-off places by beating Rotherham at Fratton Park.
Ronan Curtis fired home the opener after just 33 seconds, only for Freddie Ladapo to level for the visitors.
John Marquis then stabbed home before the break to restore the advantage, but again Ladapo equalised, this time from the penalty spot.