Depends. Here are some canons related to age.
Can. 97 §1. A person who has completed the eighteenth year of age has reached majority; below this age, a person is a minor.
§2. A minor before the completion of the seventh year is called an infant and is considered not responsible for oneself (non sui compos). With the completion of the seventh year, however, a minor is presumed to have the use of reason.
Can. 98 §1. A person who has reached majority has the full exercise of his or her rights.
Can. 1083 §1. A man before he has completed his sixteenth year of age and a woman before she has completed her fourteenth year of age cannot enter into a valid marriage.
§2. The conference of bishops is free to establish a higher age for the licit celebration of marriage.