Aluminium is more reactive than hydrogen and is placed above hydrogen in the reactivity series. Thus, when aluminium metal is added to dilute HCl, it displaces hydrogen from the acid and forms aluminium chloride and hydrogen gas. Following is the chemical equation for the reaction
2Al (s) + 6HCl (aq) → 2AlCl3 (s) + 3H2 (g)