4-Fluoro-3-nitrophenol (3.14 g) was dissolved in acetone (40 ml). To this solution was added methyl iodide (5.68 g) and potassium carbonate (5.53 )
g) and the mixture was stirred at 40 C for 6 hours. Then, dichloromethane (50 ml) was added to it, the insoluble material was removed by filtration and the filtrate was concentrated under reduced pressure. The residue was dissolved in ethyl acetate (50 )
ml) in it. The organic layer was washed with 1N aqueous sodium hydroxide, water and brine, dried over sodium sulfate and filtered. The filtrate was concentrated under reduced pressure to give 4-fluoro-3-nitroanisole (3.47 g) as a brown oil.