The invention discloses an environment-friendly aluminum cleaning agent and a preparation method thereof. The cleaning agent is composed of the following components in percentage by weight: 20% to 25% of inorganic acid, 10% to 20% of organic acid, 10% to 18% of surfactant, 8% to 15% of osmotic agent, 6% to 18% of emulsifier, 2% to 8% of antifoaming agent, 5% to 8% of complexing agent, and 25% to 30% of water. In the provided cleaning agent, the using amount of hydrochloric acid, sulfuric acid, and nitric acid is reduced, the aluminum parts are washed by medium-strong acids and organic acids, and the cleaning agent has a very good oil stain and rust removing ability. The cleaning agent is acidic, the pH value of the cleaning agent is 2.1 to 5.6, and the cleaning agent can well remove the oxide scale on the aluminum surface. Because the acidity of the organic acids is weak, the over-corrosion on work tools and acid volatilization, which can harm the workers' health, are effectively avoided, and the cleaning effect is not influenced at the same time. Moreover the adopted organic acids are easy to decompose, and thus the cleaning agent is environment-friendly.