The invention relates to a sewage treatment process for removing the nitrogen and phosphorus simultaneously; the whole process reaction is carried out in a sequence batch type bioreactor, respectively undergoes six stages of an anaerobic period, an aerobic period, a hypoxia period, an aerobic period, static precipitation, and a water drainage idle period, namely an anaerobic section and an aerobic section are reduced on the basis of a (AO)3SBR process, so denitrifying phosphorus accumulating bacteria can be cultivated easily and become a advantageous bacteria type of the phosphorus accumulating bacteria; moreover, denitrifying phosphorus absorption is carried out on the denitrifying phosphorus accumulating bacteria in a 'one-carbon dual-use' of the reaction and no carbon source is needed to be added additionally, so the aim of carbon source conservation is achieved, one aerobic section is reduced, the aerobic time is decreased to 90min from 130min, and the energy consumption is reduced by about 31 percent; in addition, as (AO)2SBR process lacks an (A / O) alternate operation compared with the(AO)3SBR process, the service life of instrument is prolonged; the removal effect for TN, TP, COD, and TOC of the sewage is respectively 78.47 percent, 99.5 percent, 86 percent, and 79.3 percent; when part of sodium acetate is added to the sewage, the removal effects of the nitrogen and the phosphorus are both increased to a certain extent.