A Maitland-Japp inspired synthesis of dihydropyran-4-ones and their stereoselective conversion to functionalised tetrahydropyran-4-ones.