DMA is prepared commercially by the reaction of dimethylamine with acetic anhydride or acetic acid. Dehydration of the salt of dimethylamine and acetic acid also furnishes this compound: CH3CO2H·HN(CH3)2 → H2O + CH3CON(CH3) Dimethylacetamide can also be produced by the reaction of dimethylamine with methyl acetate.