The invention relates to a medicine Snake-away medicine with beriberi treatment function, a snake-away insole containing the same and a preparation method thereof. The medicine is made from 80-120 parts of realgar, 20-40 parts of prepared gamboge, 15-35 parts of menthol, 5-15 parts of ablsam and 15-35 parts of borneol; and the insole comprises a lower layer, a middle layer and an upper layer, andthe middle layer is a loading layer loaded with the snake-away medicine. The preparation method of the snake-away insole comprises the following steps: preparation of the snake-away medicine, preparation of a snake-away binder, preparation of the loading layer, preparation of insole sheets, insole tailoring and the like. The medicine further has the efficacies of activating blood circulation and clearing the channels, clearing away heat and toxic materials, expelling wind and removing dampness, sterilizing and relieving itching, deodorizing and dispelling disease and the like in addition to the snake-away and snake-bite-proof functions, and has unique curative effects on symptoms such as beriberi, foot odor, sweaty feet, foot rheumatalgia and the like; and the insole can effectively eliminating odor of shoes, odor of socks, stink of sweat and odor in the event of frequent use and has the efficacy of comforting feet.