The invention discloses a method for producing rare earth fluoride from bastnasite. The method comprises the following steps that 1, bastnasite is burnt, decarburized and oxidized; 2, the burnt, decarburized and oxidized bastnasite is added into a hydrochloric acid water solution with a complexing agent for acid leaching; 3, after acid leaching, a flocculating agent is added for solid-liquid separation, a fluorine-containing rare earth material and leached residue are obtained, and the leached residue is washed and recycled; 4, the fluorine-containing rare earth material is heated to be boiled and kept warm, standing is carried out after the reaction is finished, solid-liquid separation is carried out after clarification, and a fluorinated rare earth solid phase and a rare earth chloride clear liquid phase are obtained; and 5, the fluorinated rare earth solid phase is washed till pH is 6-7, heating and dehydration are carried out after filtration, and therefore rare earth fluoride is obtained. Rare earth ore is decomposed, the rare earth fluoride product is obtained, the leaching rate of rare earth in the rare earth ore is larger than 94%, and the utilization rate of fluorine resources in rare earth ore is larger than 91%. Fluorine resources in rare earth ore concentrate are sufficiently utilized, rare earth fluoride is produced, and a remarkable effect is obtained in the aspects of cost, energy saving and consumption reducing, environmental protection and the like.