A method for determining water content of a preferably solid pharmaceutical preparation/sample, wherein at least two electrodes are brought into direct contact with the pharmaceutical preparation/sample in a measurement chamber such that the electrodes are electrically connected to one another via the pharmaceutical preparation/sample, and wherein a resistance of the pharmaceutical preparation/sample is determined by means of the electrodes and the water content and/or the sample quality of the pharmaceutical preparation/sample is determined with the ohmic resistance.