Methods of electrochemical synthesis have been classified. Coatings of transition-metal carbides and diborides have been obtained by high-temperature electrochemical synthesis from melts. The microhardness of the coatings obtained by electrolysis has been measured, and their concentrated acid resistance has been studied.