The fit-again Dan Carter kicked six penalties to ensure Racing 92 edged out Toulouse in a tense Top 14 quarter-final.
Toulouse ended the regular season with six wins in succession, but saw their campaign come to an end despite scoring the only try on Saturday in Colombes.
Gael Fickou crossed in the 66th minute as the visitors threatened to come from behind to win, but Carter's 18-point haul - together with a long-range penalty from Johan Goosen - ultimately proved decisive as Racing triumphed 21-16 to earn a semi-final meeting with Clermont Auvergne next Friday.
Toulouse, whose other points came from the boot of Sebastien Bezy, piled on the pressure in the closing stages, but their efforts proved in vain.
Making his first appearance since a calf problem cut short his involvement in Racing's European Champions Cup final defeat to Saracens, Carter landed four penalties to Bezy's two in a scrappy first half.
Racing extended their advantage to nine points before Fickou set up a grandstand finish with a classy finish on the left, the France centre stepping past one defender and powering through the tackle of another to touch down.
Bezy added the extras, but another Carter three-pointer left Toulouse needing another try and the visitors could not find a way through despite finishing strongly.
A knock-on from Joe Tekori allowed Racing to breathe a sigh of relief, Toulouse having been camped on their line in the final minutes of the match.