An automatic analyzer 10 comprising: a dispensing portion that has a dispensing probe 1a and is configured to move a tip portion 1e of the dispensing probe to a liquid level in a container and suck and discharge a liquid; an oscillation circuit connected to the dispensing probe to output an AC signal of an oscillation frequency according to a capacitance between the tip portion of the dispensing probe and a peripheral portion; a detector that detects whether the tip portion of the dispensing probe 1a has come into contact with the liquid level in the container based on the oscillation frequency of the AC signal output from the oscillation circuit; a first controller that controls an operation of the dispensing portion 1 based on a detection result of the detector; a feature amount extraction unit that divides time-series data of the oscillation frequency of the AC signal output by the oscillation circuit until a certain time elapses after the dispensing probe 1a starts to be lowered for each certain section, extracts a feature amount for each certain section, and outputs the extracted feature amount as a data series; a bubble contact determination processing unit that computes a correlation between a waveform of the data series of the feature amount output from the feature amount extraction unit and an abnormal waveform model based on a waveform observed when the tip portion of the dispensing probe 1a comes into contact with a bubble on the liquid level in the container, and determines whether liquid level detection has been normally performed based on a result of computing the correlation; and a second controller that determines a deviation between the tip portion 1e of the dispensing probe 1a and the liquid level in the container and a factor of the deviation based on a determination result of the bubble contact determination processing unit, characterized in that the feature amount is a minimum value and/or a maximum value for each certain section of the time-series data of the oscillation frequency; the abnormal waveform model corresponds to a trapezoidal waveform having continuous peak values in a section corresponding to several milliseconds; and a waveform of a data series of the feature amount for which a correlation with the abnormal waveform model is computed is a waveform of a data series in which a feature amount extracted by the feature amount extraction unit before the detector determines that the tip portion 1e of the dispensing probe 1a has come into contact with the liquid level in the container is deleted from the data series of the feature amount. a dispensing portion that has a dispensing probe 1a and is configured to move a tip portion 1e of the dispensing probe to a liquid level in a container and suck and discharge a liquid; an oscillation circuit connected to the dispensing probe to output an AC signal of an oscillation frequency according to a capacitance between the tip portion of the dispensing probe and a peripheral portion; a detector that detects whether the tip portion of the dispensing probe 1a has come into contact with the liquid level in the container based on the oscillation frequency of the AC signal output from the oscillation circuit; a first controller that controls an operation of the dispensing portion 1 based on a detection result of the detector; a feature amount extraction unit that divides time-series data of the oscillation frequency of the AC signal output by the oscillation circuit until a certain time elapses after the dispensing probe 1a starts to be lowered for each certain section, extracts a feature amount for each certain section, and outputs the extracted feature amount as a data series; a bubble contact determination processing unit that computes a correlation between a waveform of the data series of the feature amount output from the feature amount extraction unit and an abnormal waveform model based on a waveform observed when the tip portion of the dispensing probe 1a comes into contact with a bubble on the liquid level in the container, and determines whether liquid level detection has been normally performed based on a result of computing the correlation; and a second controller that determines a deviation between the tip portion 1e of the dispensing probe 1a and the liquid level in the container and a factor of the deviation based on a determination result of the bubble contact determination processing unit, characterized in that the feature amount is a minimum value and/or a maximum value for each certain section of the time-series data of the oscillation frequency; the abnormal waveform model corresponds to a trapezoidal waveform having continuous peak values in a section corresponding to several milliseconds; and a waveform of a data series of the feature amount for which a correlation with the abnormal waveform model is computed is a waveform of a data series in which a feature amount extracted by the feature amount extraction unit before the detector determines that the tip portion 1e of the dispensing probe 1a has come into contact with the liquid level in the container is deleted from the data series of the feature amount.