Are 529 college savings plans set up with pre-tax or after-tax money?

Qualified tuition programs (QTPs) are also called "529 plans." States may establish and maintain programs that allow you to either prepay or contribute to an account for paying a student's qualified education expenses (defined later). Eligible educational institutions may establish and maintain programs that allow you to prepay a student's qualified education expenses. If you prepay tuition, the student (designated beneficiary) will be entitled to a waiver or a payment of qualified education expenses. You cannot deduct either payments or contributions to a QTP. For information on a specific QTP, you will need to contact the state agency or eligible educational institution that established and maintains it. Generally, the investment gains are either favorably or not taxed.