Harlequins fly-half Nick Evans scored 28 points as his team put in a strong second half to beat Bath 38-28 at The Rec in the Aviva Premiership.
Evans put Harlequins in front as he hit a penalty but Bath pulled level moments later after Nick Easter came in from the side and George Ford stuck his kick between the posts to make it 3-3.
Quins took back the lead through Evans after Wilson was again at fault for the hosts for incorrect binding but the hosts would go in front with the first try of the day as Kyle Eastmond went over in the right corner.
Evans hit two more penalties to put Harlequins ahead before Ford hit his second penalty of the game to give his side a 13-12 lead at half time.
After the break, Evans put over another kick before Danny Care scored the away side's first try of the game as he broke from inside his own half, kicked over the Bath defence and seized on a Leroy Houston mistake to make it 22-13.
Evans then hit three more penalties, with Ford scoring one penalty in between, as Harlequins tightened their grip on the contest in the final 15 minutes.
Tim Visser thought he had put the Quins further ahead but TMO showed a forward pass but Dave Ward scored moments later after Eastmond was sin-binned for the home team.
Nick Auterac sparked a late comeback as he went over with five minutes remaining but Ford missed the conversion and Leroy Houston thought he had pulled Bath even closer but his attempt was ruled no try.
Semesa Rokoduguni crossed the line in the final minute but it was not enough as Harlequins jump to second in the table while last year's Premiership finalists sit in eighth.