A concise and diastereoselective formal totalsynthesis of triptolide, a natural product with a wide range of biological properties, is described. The key reaction is an unprecedented 6-endo-Trig cationiccyclization of a 2-alkenyl-1,3-dithiolane precursor induced by TMSOTf as Lewis acid.