Provided are a drug inspection device, a drug inspection method, and a program which are capable of performing an accurate drug inspection by a simple operation and with good efficiency. A drug inspection device (30) includes an image acquisition unit (40) that acquires a plurality of captured images obtained by imaging a bundle of drug sheets bundled in a state where at least some thereof overlap each other, the image acquisition unit (40) acquiring the plurality of captured images including at least some of respective drug sheets with respect to all the drug sheets constituting the bundle of drug sheets; a drug classification specifying unit (42) that specifies a drug classification from the captured images; an outer edge information extraction unit (44) that extracts information of an outer edge of each of the drug sheets from the captured images; a number-of-sheets counting unit (46) that counts the number of drug sheets on the basis of the information of the outer edge; an outermost layer sheet specifying unit (48) that specifies an outermost layer sheet present on an outermost surface portion of the bundle of drug sheets; and a first drug counting unit (50) that counts the number of drugs in the outermost layer sheet.