A medication managing apparatus includes a medicine package case (1) and a main body unit (2) removably storing the medicine package case (1). The medicine package case (1) includes blocks (12a-12g) each storing a medicine package, openings provided at walls (13) of each block (12a-12g) and formed at positions facing each other such that the medicine package stored in the block (12a-12g) is sandwiched therebetween, and an openable/closable cover (10). The main body unit (2) includes a sensor portion (a medicine package sensor) disposed corresponding to each opening at the opposing walls (13) of each block (12a-12g), to sense a medicine package based on that the medicine package stored in the block (12a-12g) blocks a gap between a pair of openings, and a switch lever and a micro-switch (a medicine package case sensor) sensing attachment/removal of the medicine package case (1) to/from the main body unit (2).