Multi-layered unconsolidated sandstone gas reservoir is featured by unconsolidated lithology, interbeded gas-water zones and active edge water. Irrational production proration will lead to water breakthrough and sand inflow(AOF) is already incompetent in solving problems nowadays. Based on multipoint well test deliverability analysis, production data dynamic analysis, single well controlled reserves and critical situation of inflow calculation, and combining the calculation of minimum liquid hold-up gas rate an maximum erosion gas rate, meanwhile considering balanced gas recovery factor, balanced pressure drop, safe sand inflow and safe liquid hold-up, the multi-factor production plan has been set up, which is improved and adjusted by integrating water influx performance and years of stable production, through gas reservoir numerical simulation. A scientific and rational production proration pattern particularly for this type of gas reservoir has been determined. The reservoir simulation results of case study show that the water production in gas well can be controlled and the gas reservoir sustained stable production can last more than 1.3 year.