In this paper structural elements from an optimization point of view are considered, i.e. only the geometry of a structural element is optimized. Reliability modelling of the structural element is discussed both from an element point of view and from a system point of view. <br/><br/>The optimization procedures are demonstrated in an example where the geometry of a K-joint in an offshore structure is optimized. The constraints require that the reliability against yielding, local buckling, punching and fatigue should be greater than critical limits.