A temperature sensor for measuring and/or monitoring the temperature of a medium flowing in a flow conduit (17) of an internal combustion engine, comprising a one-piece plastic body (11) that has a sensor part (111) and a plug part (112), on an end remote from the plug part, a NTC resistor element is disposed, and whose plug part (112) has two externally accessible electrical terminals (13), which are connected to the resistor element (12) via two electrical lines embedded in the sensor part (111), and having a housing (15) that completely surrounds the sensor part (111) and has means for sealing and securing the plastic body in a receiving bore (19) in the wall (18) of the flow conduit (17), the housing (15), of temperature-resistant plastic that absorbs little or no moisture, is applied directly onto the sensor part (111) to completely surround the sensor part (111).