Highly deviated and horizontal wells are the key factor in the successful development of shale gas.The shale gas reservoirs in Weiyuan region form is in very complex conditions.Several situations exist at the same time,such as leakage,blowout and borehole collapse.And they make the drilling cycle too long.Because most of shale gas resources are low permeability tight formations,compared with conventional gas reservoirs,there is more difficult and challenging in development work.How to optimize the drilling casing program,and effectively reduce the risk of the shale gas drilling in Weiguan region,is currently a difficult problem.So,based on the original theoretical design,combined statistical analysis with the actual drilling research method,this paper puts forward the optimization design of casing program for Weiyuan structure.