Isn't there a 401k limit per year on how much you can do this? Like 18k or something. I can see people abusing this and putting million into the 401k tax free
But, yes, as pointed out, you do pay taxes, but ONLY when withdraw from it, which you can do without a penalty when you reach a certain age. The capital gains are tax free. But I was saying distributing stock into a 401k is not a taxable event, not that you'd never pay taxes.
It's not abusive to fill up your 401k, that's what it is there for.