Sensor casing comprising a head part with a sensor chamber for reception of a sensor and a connecting part, which adjoins the head part, with a terminal chamber for reception of a terminal connecting block, wherein - the head part has in a rear wall adjoining the connecting part a passage opening for cable and/or plug passage into the sensor chamber, - the connecting part is connected with the head part by way of connecting means, - the connecting part has a first side wall, which adjoins the rear wall of the head part, with a passage opening, which at least overlaps the passage opening of the head part, for cable and/or plug passage from the sensor chamber into the terminal chamber and - the connecting part has a second side wall with an entry opening for cable and/or plug passage into the terminal chamber, characterised in that - a plug connecting part by which an electrical connection between the sensor, which is arranged in the head part, and the terminal connecting block is producible is arranged in the terminal chamber, - the plug connecting part comprises a base body, which consists of an electrically insulating material, at least two contact means, which consist of an electrically conductive material, for electrical contact-making with the sensor and at least two contact surfaces, which consist of an electrically conductive material, for connection with the terminal connecting block, - the contact means are constructed as contact pins or as contact sleeves of a plug connection for producing an electrically operative connection with a plug connecting counter-member of the sensor, - at least two contact means are each in electrically operative connection with a respective contact surface and - the contact surfaces are arranged at a mutual spacing on a first side surface (26.3) of the base body, wherein the first side surface (26.3) of the base body is configured as a planar surface. - the head part has in a rear wall adjoining the connecting part a passage opening for cable and/or plug passage into the sensor chamber, - the connecting part is connected with the head part by way of connecting means, - the connecting part has a first side wall, which adjoins the rear wall of the head part, with a passage opening, which at least overlaps the passage opening of the head part, for cable and/or plug passage from the sensor chamber into the terminal chamber and - the connecting part has a second side wall with an entry opening for cable and/or plug passage into the terminal chamber, characterised in that - a plug connecting part by which an electrical connection between the sensor, which is arranged in the head part, and the terminal connecting block is producible is arranged in the terminal chamber, - the plug connecting part comprises a base body, which consists of an electrically insulating material, at least two contact means, which consist of an electrically conductive material, for electrical contact-making with the sensor and at least two contact surfaces, which consist of an electrically conductive material, for connection with the terminal connecting block, - the contact means are constructed as contact pins or as contact sleeves of a plug connection for producing an electrically operative connection with a plug connecting counter-member of the sensor, - at least two contact means are each in electrically operative connection with a respective contact surface and - the contact surfaces are arranged at a mutual spacing on a first side surface (26.3) of the base body, wherein the first side surface (26.3) of the base body is configured as a planar surface.