For non-deductible contributions to a traditional IRA (where you make too much income to qualify for a deduction), or regular contributions to a Roth IRA, or saving in a taxable account, you pay income tax as you earn the money, regardless of what you do with it.
FORBES: Taxes and Investments: The Inside Scoop