NaMoO3F and Na5W3O9F5 were synthesized by solvothermal reaction of MoO3 and WO3, respectively, with NaF in nonaqueous solvents. These reactions were realized at low temperatures (150-200 °C) without the use of HF. This synthesis method is much more facile and safe procedure compared with general synthesis methods for oxyfluorides which includes hydrothermal reaction under a presence of HF or solid-state reaction at high temperatures in vacuum sealed tube or under high pressure. In the case of the reaction of MoO3 with NaF, the kind of solvent largely affected the obtained morphologies of NaMoO3F. The morphology in the case of acetonitrile as a solvent was rodlike with a micrometer-scale size, while that in the case of ethanol was polyhedral with a size of several hundred nanometers. In addition, the solvothermal reaction of WO3 with NaF led to the formation of Na5W3O9F5. Also, the difference of solvents for the solvothermal reaction affected the obtained particle sizes. The effect of the solvents on the morphologies of the obtained oxyfluorides probably resulted from the difference of the solubility of NaF and the subsequent dissolution ratio of MoO3 or WO3 in the used solvents. Our synthesis method can expand the applicability of oxyfluorides by providing a new phase and/or unique morphology.