The invention relates to a phosphorus-free metal cleaning agent comprising the components of, by weight, 2-20% of a cleaning aid, 1-20% of a surfactant, 1-10% of a chelating agent, 1-20% of an emulsifier, 1-10% of an antirust agent, 0.2-4% of a copper alloy corrosion inhibitor, 1-10% of a penetration agent, 1-6% of a solubilizing agent, 0.1-0.6% of a defoaming agent, and balance of water. The cleaning agent provided by the invention has excellent cleaning capacity, long rust proof period, low foam, long service life, and the like. The cleaning agent is suitable for ferrous metal and non-ferrous metal processing industries. The agent has the advantages of no volatilization, no irritation, no toxic or harmful substance such as nitrite, no damage to health, and no environment pollution.