The structure and mechanical properties of pipes from steel 26KhMFA after hardening and tempering at various temperatures are considered. The possibilities of ensuring mechanical properties in pipes of strength group E and higher are considered. The highest strength categories attainable by heat treatment are determined for each composition. Effective compositions and modes of heat treatment are recommended for the production of hydrosulfide-resistant pipes.