A high-pressure sensor comprises an inner part, a housing and a sealing system located between the inner part and the housing for sealing the high-pressure sensor. The inner part has a shaft having an end face resting, by means of a clamping force, at least along a sealing line on a support surface at a projection on the housing. Each of the projection and the shaft has an inner surface and an outer surface. The support surface is arranged in an acute angle with respect to the inner surface of the projection. The shaft by means of the clamping force is supported on the housing along a support line whereby the sealing effect can be increased with increasing pressure.