This utility model relates to the field of temperature sensor technology and discloses a temperature sensor with a sealed structure, including a temperature sensor body. A mounting sleeve is fixedly installed at the top of the temperature sensor body, and a mounting connecting sleeve is movably connected to the top of the mounting sleeve. A probe is fixedly installed at the top of the mounting connecting sleeve. The probe is electrically connected to the temperature sensor body. Preliminary positioning is achieved by aligning the positioning rod on the mounting connecting sleeve with the positioning hole of the mounting sleeve and inserting it. A connecting ring is placed into the connecting groove, and simultaneously, the limiting block is pulled to retract the movable rod and the positioning block outwards. After the connecting ring is placed in the appropriate position, the limiting block is released, and the positioning block is inserted into the positioning connecting hole, thus stably connecting the mounting sleeve and the mounting connecting sleeve and facilitating disassembly. This allows for the installation and connection of the probe and the temperature sensor body.