A medication dispenser includes a base seat, a circuitry unit and an outer casing. The base seat includes a mouthpiece. The circuitry unit includes a first circuit board, a battery, and first and second switches disposed on the first circuit board. The outer casing is movable relative to the base seat between a close position where the outer casing covers the mouthpiece and where the first switch is actuated such that electric power is prevented from being supplied from the battery to the first circuit board, and an open position where the outer casing uncovers the mouthpiece and where the second switch is actuated such that electric power is supplied from the battery to the first circuit board.