Bankruptcy risk affects directly corporations' existence and maximum of shareholders' wealth.Therefore it is important to study the optimization of capital structure under bankru ptcy risk.In the paper bankruptcy risk is measured by probabilistic Bayesian approach.And a model of optimizatio n of capital structure on the conditi on of maximum of shareholders' wealth is presented in order to help C hinese corporations in optimizing t heir capital structure especially after bankruptcy mechanism is built and improved.