Described is a measuring device, in particular for measuring the pH value in foodstuffs. The measuring device comprises an extended first electrode for plunging into a material to be measured and a sheath which at least partially surrounds the first electrode. The first electrode is pivotably mounted in order to prevent breakage as a result of transversal loads exerted perpendicularly to the axial direction of the electrode.