Barca won 3-0 at the Santiago Bernabeu to reach the Copa del Rey final in midweek and, three days later, they prevailed once more at the home of their bitter rivals in a game that saw captains Sergio Ramos and Lionel Messi involved in a flashpoint.
Rakitic struck the only goal with a cute chip that beat Thibaut Courtois with Barca comfortably holding Los Blancos at bay to inflict more Clasico misery and consecutive home league losses on Madrid.
Gareth Bale was a surprise starter but the Wales forward wasted an early free-kick opportunity, with a Messi chip floating off target at the other end.
Barca took the lead in the 26th minute, Rakitic racing clear of Ramos and delicately dinking a fine finish over Courtois after swapping passes with Sergi Roberto.
Courtois made a fine save to deny Luis Suarez before Luka Modric headed over the crossbar, the first half ending in controversy as Ramos avoided punishment after clashing with Messi.
Karim Benzema missed a great chance shortly after the restart, although the offside flag was raised as he failed to turn home Casemiro's cross, then Vinicius Junior was denied by Marc-Andre ter Stegen as Madrid pushed for an equaliser.
Bale made way to boos as Solari turned to Federico Valverde and Marco Asensio before introducing third substitute Isco in a bid to change the game, but despite late pressure on Barca's goal the champions held on to perhaps strike a decisive blow in the title race.
What does it mean? Title race all-but over
Speaking at a pre-match news conference, Ernesto Valverde dismissed his side's treble chances and claimed their result at the Bernabeu would not decide the title.
But Barca's points advantage is now double figures, they are in the final of the Copa del Rey and on track to reach the Champions League quarter-finals. Valverde, whose team did the double last term, can expect to answer more questions about the treble in the weeks to come.
Utility man Roberto keeps Vinicius quiet
In Wednesday's Copa fixture, Vinicius had the run of the Madrid left wing with Nelson Semedo unable to keep him out of the game. Only the Brazilian's lack of composure prevented his side leading at half-time.
Barca dropped Semedo and moved Roberto to right-back to counter the threat of Vinicius and he not only managed to restrict the teenager's effectiveness but also created the winning goal for Rakitic.
Ramos shows lack of discipline... again
Madrid captain Ramos is no stranger to disciplinary issues and he again courted controversy moments before the interval by appearing to shove his forearm into the face of Messi, the defender perhaps spared the intervention of VAR by the half-time whistle.
Bale, meanwhile, was booed off by the Madrid fans after struggling to make an impact in what might well prove to be his final Clasico appearance for Los Blancos. They have now lost all five LaLiga Clasicos at home to Barcelona when Bale has played.
Key Opta Facts
- Barcelona have recorded 96 victories in Clasico history in all competitions, while Real Madrid have 95. It is the first time since April 1931 that the Blaugrana have overtaken Madrid in this head-to-head.
- Barca have gone three Clasicos in a row without conceding at the Santiago Bernabeu for the first time ever in all competitions.
- Santiago Solari is the first Real Madrid coach to fail to win against Barca in his first three meetings in all competitions (D1 L2) since Leo Beenhakeer in 1987 (D2 L2).
- Real Madrid have lost each of their six Clasicos at the Santiago Bernabeu in all competitions when Gareth Bale has featured.
- Lionel Messi has gone three Clasicos in a row without being involved in a goal, his worst run since 2016.
- Gerard Pique made 14 clearances against Madrid, the most for the player in a single LaLiga game since the match against Athletic Bilbao in November 2009 (15)
Big games keep coming for Madrid as they host Ajax on Tuesday, holding a 2-1 lead from the first leg of their Champions League last-16 tie. Barca will likely hand minutes to rising talent in Wednesday's Supercopa de Catalunya against Girona.