Components that are vulnerable to the external environment and harsh working conditions easily fail during their life cycle under variable loads of offshore oil and gas equipment. The reliability of the system in the life cycle is reduced, various risks are increased, and substantial maintenance costs are generated. However, the current reliability-based design optimization method has difficulty meeting the situation that the life cycle is taken as the time dimension of design considering reliability, risk, and maintenance. To solve the problem, a life cycle integrity design optimization method considering robustness is proposed. A simplified integrity model is established through random load sampling and global sensitivity analysis. A multiobjective particle swam hierarchical optimization algorithm is proposed, in which hierarchical optimization order is determined by the priority of objectives, and the optimization design with structural integrity as the optimization objective is completed. The method is applied in the design of pressure pipeline of all-electric surface-controlled subsurface safety valve system.