The invention belongs to the technical field of organic synthesis, and particularly relates to a method for separating formic acid and levulinic acid from hydrate molten salt. The method comprises the following steps: reacting under the coexistence of levulinic acid, formic acid and alcohol in hydrate molten salt, respectively reacting formic acid and levulinic acid with alcohol to generate formate and levulinic acid ester, and carrying out ester exchange on formate and levulinic acid to generate levulinic acid ester and formic acid, after the reaction is finished, the reaction liquid contains levulinic acid ester, formate, levulinic acid, formic acid and alcohol, separating the reaction liquid to obtain an organic phase, distilling the organic phase to respectively obtain levulinic acid ester and formate, and hydrolyzing to respectively obtain levulinic acid and formic acid. The method is simple in technological process, low in energy consumption and easy to separate, and the product can be spontaneously separated from the hydrate molten salt, so that the subsequent purification cost is reduced.