Ipswich have extended their unbeaten run to six games, edging out managerless Portsmouth 1-0 at Portman Road.
Over the course of the game it was Pompey who had the better of the play but it was the home side that stole all three points.
On-loan midfielder Keith Andrews scored the decisive goal in the 69th minute, prodding home from substitute Nathan Ellington's knockdown.
The Tractor Boys move within a point of second-placed West Ham while Pompey drop a place to 18th.