How old do you have to be to buy alcohol in Mexico?

in Mexico you can purchase alcohol when you are 18 yrs old.