The invention discloses a medicine cabinet with a drying function. The medicine cabinet comprises a cabinet body, a first upper door, a second upper door, a first lower door, a second lower door, a partition plate, a vertical rod, a placement plate, a pipeline, a nitrogen bottle, an exhaust hole, a storage battery box, a fan, an electric heating wire, an LED lamp bar, a plastic transparent plate,a sealing strip, universal wheels and a cabinet door lock. When air is humid, an electric heating wire and a fan can be started, at the moment, the fan blows hot air into the medicine cabinet, air inside the cabinet is dried, the phenomenon that medicine goes bag is effectively avoided, the nitrogen bottle is arranged at the lower half portion, the sealing performance is good, after medicine is stored, nitrogen is introduced into the cabinet, the concentration of oxygen inside the cabinet is lowered, the phenomenon that medicine is oxidized is effectively lowered, medicine easy to store and medicine not easy to store are placed into the same medicine cabinet, medicine can be taken and found conveniently, and use is convenient.