The present disclosure provides methods for purifying a solution comprising cantharidin and cantharidin-associated impurities. A method to purify the solution can comprise recrystallization or sublimation, for example. The purified cantharidin can be analyzed using a detection method comprising a stationary phase and one or more mobile phases.