Merely ecclesiastical laws bind those who have been baptized in the Catholic Church or received into it, possess the efficient use of reason, and, unless the law expressly provides otherwise, have completed seven years of age.
Source: Code of Canon Law (Vatican.va)