The hydrogen solubility in ferritic and martensitic steels is affected by hydrostatic stress, pressure and temperature. In general, compressive stresses decrease but tensile stresses increase the hydrogen solubility. This important aspect must be considered when qualifying materials for high‐pressure hydrogen applications (e.g., for pipelines or tanks) by using autoclave systems. This work proposes a pressure equivalent for compensating the effect of compressive stresses on the hydrogen solubility inside of closed autoclaves, to achieve solubilities that are equivalent to those in pipelines and tanks subjected to tensile stresses. Moreover, it is shown that the temperature effect becomes critical at low temperatures (e.g., under cryogenic conditions for storing liquid hydrogen). Trapping of hydrogen in the microstructure can increase the hydrogen solubility with decreasing temperature, having a solubility minimum at about room temperature. In order to demonstrate this effect, the generalized law of the hydrogen solubility is parametrized for different steels using measured contents of gaseous hydrogen. The constant parameter sets are verified and critically discussed with respect to the high‐pressure hydrogen experiments.This article is protected by copyright. All rights reserved.