Br[CH2:2][CH2:3][CH2:4][CH2:5][C:6]([O:8][CH3:9])=[O:7].[CH3:10][O-:11].[Na+]>CO>[CH3:10][O:11][CH2:2][CH2:3][CH2:4][CH2:5][C:6]([O:8][CH3:9])=[O:7]A solution of methyl 5-bromovalerate (10.0 g, 51.3 mmol), NaOMe (12.3 ml of 25% solution, 53.8 mmol) in 100 ml of MeOH was refluxed for 5 hrs. The MeOH was removed in vacuo and residue was partitioned between CHCl3 (200 ml) and water (50 ml). The organic layer was separated and washed with water (100 ml). After drying (Na2SO4) and evaporation of solvent, methyl 5-methoxyvalerate (7.33 g, 97.8%) was obtained as a colorless oil.