A threaded connection for pipe including a tubular pin and a tubular box , the pin and the box adapted to be made up as the pin is screwed into the box , wherein: the pin includes: a first male thread ; a second male thread located further toward a tip than the first male thread and having a smaller diameter than the first male thread ; a pin intermediate shoulder surface located between the first male thread and the second male thread ; a pin end shoulder surface located at the tip of the pin ; and a pin sealing surface located between the second male thread and the pin end shoulder surface ; the box includes: a first female thread adapted to be engaged by the first male thread when the connection is made up; a second female thread adapted to be engaged by the second male thread when the connection is made up; a box intermediate shoulder surface adapted to be in contact with the pin intermediate shoulder surface when the connection is made up; a box end shoulder surface corresponding to the pin end shoulder surface ; and a box sealing surface located between the second female thread and the box end shoulder surface and adapted to be in contact with the pin sealing surface along an entire circumference when the connection is made up; and an axial distance between the box intermediate shoulder surface and the box end shoulder surface of the box before make-up, L B , is larger than an axial distance between the pin intermediate shoulder surface and the pin end shoulder surface of the pin before make-up, Lp; characterized in that , a difference between the axial distances, (L B -L P ), is such that, when the connection is made up and upon application of an axial compressive load, the pin end shoulder surface starts to be in contact with the box end shoulder surface before the threaded connection for pipe yields; and the axial distances L B and Lp are such that, when the connection is made up and no axial compressive load is applied, a clearance is formed between the pin end shoulder surface and the box end shoulder surface . the pin includes: a first male thread ; a second male thread located further toward a tip than the first male thread and having a smaller diameter than the first male thread ; a pin intermediate shoulder surface located between the first male thread and the second male thread ; a pin end shoulder surface located at the tip of the pin ; and a pin sealing surface located between the second male thread and the pin end shoulder surface ; the box includes: a first female thread adapted to be engaged by the first male thread when the connection is made up; a second female thread adapted to be engaged by the second male thread when the connection is made up; a box intermediate shoulder surface adapted to be in contact with the pin intermediate shoulder surface when the connection is made up; a box end shoulder surface corresponding to the pin end shoulder surface ; and a box sealing surface located between the second female thread and the box end shoulder surface and adapted to be in contact with the pin sealing surface along an entire circumference when the connection is made up; and an axial distance between the box intermediate shoulder surface and the box end shoulder surface of the box before make-up, L B , is larger than an axial distance between the pin intermediate shoulder surface and the pin end shoulder surface of the pin before make-up, Lp; characterized in that , a difference between the axial distances, (L B -L P ), is such that, when the connection is made up and upon application of an axial compressive load, the pin end shoulder surface starts to be in contact with the box end shoulder surface before the threaded connection for pipe yields; and the axial distances L B and Lp are such that, when the connection is made up and no axial compressive load is applied, a clearance is formed between the pin end shoulder surface and the box end shoulder surface . <EOS>