We present the relativistic hydrostatic equilibrium equations for a wide class of gravitational theories possessing a scalar-tensor representation. It turns out that the stellar structure equations can be written with respect to the scalar-tensor invariants, allowing to interpret their physical role.