In the United States, there are no federal laws about how old you have to be to dye your hair. However, some states and individual salons may have their own rules. For example, some salons may require parental consent for minors to get their hair dyed.
It's always a good idea to check with your local salon or state laws to be sure.