Wawrinka, the eighth seed, beat his more illustrious compatriot Federer in three sets 6-4, 6-3, 7-6 (7/4).
Fourteenth seed Tsonga, meanwhile, was taken to five sets by Japanese fifth seed Kei Nishikori before prevailing 6-1, 6-4, 4-6, 3-6, 6-3.
Federer, the second seed and 2009 champion at Roland Garros, had only ever lost twice in 18 previous meetings with Wawrinka but was well beaten on a windy Court Suzanne Lenglen.
The 17-time Grand Slam champion proved incapable of breaking his opponent's serve at all over the course of a match that lasted two hours and nine minutes.
Remarkably, it was just the third time in his career he had failed to break an opponent's serve in a Grand Slam match — the last came against Max Mirnyi at the 2002 US Open when he was just 21 and had not yet won a major.
It is a further sign of the decline of the 33-year-old, who was also beaten in the third round of the Australian Open earlier this year by Italy's Andreas Seppi.
Federer's last Grand Slam title was almost three years ago when he captured his seventh Wimbledon crown in 2012.
Wawrinka broke decisively in the first set and then twice more in the second. There were no breaks in a tighter third set, but Wawrinka won it on
his second match point in the tiebreak.
"We know Stan can do this and it's nice for him and important for him to string it together and do well," said a diplomatic Federer, who admitted his opponent handled the blustery conditions far better.
"I thought he played really great tennis today," he said.
"It was tough so it's all the more impressive the way Stan was able to play."
Wawrinka was the junior champion at Roland Garros in 2003 but is now through to the semifinals of the main draw for the first time.
"Today was my best match on clay and it's an incredible moment for me," the Lausanne native said.
"The conditions were difficult with a lot of wind but I believed in my game and it was a really incredible match from me," Wawrinka said.
The 2014 Australian Open champion's run in Paris comes after he beat Rafael Nadal in Rome recently before losing to Federer in the semifinals.
"I'm playing good tennis and I'm really pleased to be in the Paris semifinals for the first time," he said.
Falling debris causes delay
The quarterfinal between Nishikori and Tsonga on the main Court Philippe Chatrier lasted three and three quarter hours as Tsonga raced into a two-set lead before pegged back and forced all the way to a decider.
Tsonga took the first set and then had four set points on Nishikori's serve at 5-1 in the second.
However, last year's US Open runner-up fended them off to keep the set alive and the match was then delayed for more than half an hour when a metal sheet from a giant video screen was blown off in high winds, crashing into spectators and leaving three with minor injuries.
Although Tsonga returned to serve successfully for the second set, the pause clearly affected him and Nishikori fought back to square the match.
But Tsonga then broke decisively to lead 3-1 and took the decider 6-3 to roars of delight from the partisan crowd.
"It was tough," he said.
"I started really well and then there was this little incident," said Tsonga, who is through to a second French Open semifinal in three years..
"I heard there were no serious injuries so I'm happy about that," he said.
"I served very, very well in the fifth set and managed to turn the situation back in my favour."
The standout quarterfinal on Wednesday will see reigning champion Rafael Nadal, seeded six, put his dominance of the clay-court Grand Slam on the line against world number one Novak Djokovic.