The invention discloses a rare earth electrolytic tank for producing rare earth and alloys thereof. The rare earth electrolytic tank comprises an electrolytic tank body, a cathode group structure, ananode group structure and a tank upper portion structure, wherein the electrolytic tank body comprises a tank shell and a tank lining, the tank upper portion structure comprises a vertical column girder frame, a material feeding system, a shell ramming system, an anode lifting and busbar switching system and a tank hood plate, the upper end of the anode group structure is connected with the anodelifting and busbar switching system, anode blocks at the lower end are vertically inserted in electrolyte inside the tank body, the parts, exposed outside the electrolyte level face, of the anode blocks are covered by an anode covering material, the anode lifting and busbar switching system is used for adjusting the polar distance between the anode blocks and the cathode group structure, the material feeding system, the shell ramming system and the anode lifting and busbar switching system are integrated into an intelligent tank control system, the upper edge of the tank hood plate is connected with the edge of the side portion of a horizontal hood plate, and the lower edge of the tank hood plate is connected with the upper surface of the tank shell to realize closeness of the electrolytictank. By means of the rare earth electrolytic tank for producing the rare earth and the alloys thereof, rare earth electrolytic tank automatic continuous, high-efficiency, low-energy-consumption, low-cost and clean production is realized.