Sensor housing 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 back wall adjoining the connecting part a passage opening for the passage of electrical connections into the sensor chamber, - the connecting part comprises a terminal chamber lower part and a terminal chamber cover, - the terminal chamber lower part and the terminal chamber cover are assembled in a closing direction so that the terminal chamber lower part and the terminal chamber cover adjoin one another and enclose the terminal chamber, - the terminal chamber cover is connected with the head part by way of connecting means, - the terminal chamber cover has a side wall, which adjoins the back wall of the head part, with a passage opening, which at least partly overlaps the passage opening of the head part, for passage of electrical connections from the sensor chamber into the terminal chamber, - the terminal chamber lower part has a side wall with an inlet opening for cable and/or plug passage, - the terminal chamber cover and the terminal chamber lower part each have a sealing surface (26.1, 26.2), wherein the sealing surfaces (26.1, 26.2) face one another, - the sealing surfaces (26.1, 26.2) extend parallel to one another or to one another at an angle of at most 3°, - the sealing surfaces each extend along a closed curve about a centre axis, which extends parallel to the closing direction, of the connecting part and - an encircling sealing element for sealing the terminal chamber is arranged between the sealing surface (26.1) of the terminal chamber cover and the sealing surface (26.2) of the terminal chamber lower part, characterised in that - the sealing surfaces (26.1, 26.2) respectively extend at an angle of at least 0° and at most 45° to the centre axis so that a spacing between each sealing surface (26.1, 26.2) and the centre axis in closing direction is constant or decreases. - the head part has in a back wall adjoining the connecting part a passage opening for the passage of electrical connections into the sensor chamber, - the connecting part comprises a terminal chamber lower part and a terminal chamber cover, - the terminal chamber lower part and the terminal chamber cover are assembled in a closing direction so that the terminal chamber lower part and the terminal chamber cover adjoin one another and enclose the terminal chamber, - the terminal chamber cover is connected with the head part by way of connecting means, - the terminal chamber cover has a side wall, which adjoins the back wall of the head part, with a passage opening, which at least partly overlaps the passage opening of the head part, for passage of electrical connections from the sensor chamber into the terminal chamber, - the terminal chamber lower part has a side wall with an inlet opening for cable and/or plug passage, - the terminal chamber cover and the terminal chamber lower part each have a sealing surface (26.1, 26.2), wherein the sealing surfaces (26.1, 26.2) face one another, - the sealing surfaces (26.1, 26.2) extend parallel to one another or to one another at an angle of at most 3°, - the sealing surfaces each extend along a closed curve about a centre axis, which extends parallel to the closing direction, of the connecting part and - an encircling sealing element for sealing the terminal chamber is arranged between the sealing surface (26.1) of the terminal chamber cover and the sealing surface (26.2) of the terminal chamber lower part, - the sealing surfaces (26.1, 26.2) respectively extend at an angle of at least 0° and at most 45° to the centre axis so that a spacing between each sealing surface (26.1, 26.2) and the centre axis in closing direction is constant or decreases.