Through iodine catalysis, the direct oxidative coupling/annulation of β-keto esters or 2-pyridinyl-β-esters with alkenes was achieved. This reaction procedure provides a simple and selective way for the synthesis of dihydrofurans and indolizines in one step.