The invention discloses an electrochemical synchronous nitrogen and phosphorus removal apparatus and a municipal sewage treatment method, and belongs to the technical field of sewage treatment. A dimensionally stable electrode, an iron electrode, an aluminum electrode, a magnesium electrode and a copper modified stainless steel electrode which are commonly used in an electrochemical water treatment technology are combined to realize the nitrogen and phosphorus removal treatment of the municipal sewage in a same electrolytic cell. The apparatus has the advantages of simple structure, operation convenience, high efficiency, stable indexes of discharged water, and realization of the large-scale automatic sewage treatment. The municipal sewage method has the advantages of simple technology, operation convenience, manpower and material resource saving, low energy consumption, high removal rate of sewage pollution indexes, and realization of the removal rate of each of the municipal sewage indexes comprising the chemical oxygen demand, nitrate nitrogen, ammonia nitrogen and total phosphorus to reach above 92%.