PSG has now claimed the season-opening trophy on 14 different occasions.
Paris Saint-Germain required a stoppage-time equaliser followed by a successful spot-kick decider to overcome Marseille in the Gulf and capture a fourth straight Trophee des Champions title.
The Champions League holders appeared to be sailing towards a comfortable triumph in the match featuring the Ligue 1 champions and the Coupe de France holders after Ousmane Dembele opened the net early on.
However, Marseille struck twice late to seize a shock advantage. First, the English forward converted from the penalty spot, before Willian Pacho unfortunately turned the ball into his own net for an own goal.
In a breathtaking twist of fortune, the Portuguese striker snatched a crucial leveler in the final seconds to send the match into a deciding shootout. The Parisian shot-stopper Lucas Chevalier then stood as the key figure, saving decisive kicks from O'Riley and Hamed Traore.
In the shootout, Ramos, the midfielder, the full-back, and Desire Doue all converted with composure for Paris Saint-Germain to complete a 4-1 penalty win.
The record champions PSG, who faced last season's Ligue 1 second-placed team Marseille after completing a domestic double, have now lifted this trophy for the twelfth time in the last 13 years.