A temperature sensor is described having a measuring resistor, a printed circuit board onto which the measuring resistor is soldered, a cover plate which is fastened onto the printed circuit board, the cover plate having a recess in which the measuring resistor sits.