A medication management system (100) for controlling access to medication. The system (100) comprises of a portable, electronically locking cassette (102) and a docking station (104). The cassette (102) comprises at least one internal compartment (110) adapted for storing patient-specific medication, a cover (114) adapted for restricting access to said compartment (110), a locking mechanism (112) for securing said cover (114), and means for storing a cassette identifier associated with said cassette. The docking station (104) comprises means for storing at least one authorised cassette identifier and at least one authorised user identifier, an input device (140) for receiving a user identifier, a cassette identifier, and a function identifier, and a controller (500B) for coupling said cassette (102) dependent upon said cassette identifier and said at least one authorised cassette identifier, validating a received user identifier and a received cassette identifier based upon said at least one authorised user identifier and said at least one authorised cassette identifier, operating said locking mechanism (112) based upon a received function identifier and said validation, and uncoupling said cassette (102) dependent upon said validation.