Endotoxin is detected by electrochemical measurement. A detection device 15 of endotoxin detects endotoxin contained in a fluid to be tested (for example, a dialysate) specifically in the following manner. First, the fluid to be tested is brought into contact with an adsorbent 17 that adsorbs endotoxin to cause the adsorbent 17 to adsorb the endotoxin. Then, a basic solution is brought into contact with the adsorbent 17 to desorb the endotoxin. Electrochemical measurement of the basic solution containing the desorbed endotoxin is performed. The endotoxin can be detected by the electrochemical measurement with high sensitivity at low cost.