[CH2:1]([CH:3]1[C:8](=[O:9])[CH:7]=[CH:6][CH:5]([OH:10])[O:4]1)[CH3:2].[CH:11]([O-])([O-])OC.S([O-])([O-])(=O)=O.[Mg+2]>>[CH2:1]([CH:3]1[C:8](=[O:9])[CH:7]=[CH:6][CH:5]([O:10][CH3:11])[O:4]1)[CH3:2]A 14.2 g quantity of 2-ethyl-6-hydroxy-3-oxo-3,6-dihydro-2H-pyran and 50 g of methyl orthoformate are reacted in the presence of 10 g of magnesium sulfate under reflux for 24 hours. After the reaction, the mixture is filtered to remove the magnesium sulfate, and the filtrate is concentrated in vacuum to remove the excess methyl orthoformate. The residue is poured into 50 ml of water, the mixture is extracted with ether, and the ethereal layer is washed with a sodium carbonate solution and dried over magnesium sulfate. The dried mass is distilled to remove the ether, and the residue is further distilled at a reduced pressure of 12 mm Hg to give 13.4 g of 2-ethyl-6-methoxy-3-oxo-3,6-dihydro-2H-pyran as a yellow liquid fraction at 85° to 90° C in a yield of 86%.