The device for inspecting separately conveyed tablets or capsules has a guide device for guiding the separately conveyed tablets or capsules, which defines a predetermined tablet pathway, and a heating element designed as a hotplate, which is arranged in an area of the guide device. The device further has an IR sensor for detecting radiation in an infrared range arranged opposite the heating element such that the tablet pathway passes between the heating element and the IR sensor, and an evaluation unit connected to the IR sensor and adapted to compare actual measurement values of the IR sensor with at least one predetermined nominal measurement value.