Based on your financial expertise, provide your response or viewpoint on the given financial question or topic. The response format is open.

What is the tax levied against stock portion cashed out of 401k?
Withdrawals from a traditional 401(k) plan are always treated as cash income and the taxable portion is taxed at ordinary income tax rates, even if the money was held in stocks within the 401(k) plan and the amount withdrawn is equal to whatever capital gains you made by selling the stock within the 401(k) plan. If your plan permits you to take the distribution as stock shares (transferred to your taxable brokerage account), then, for tax purposes, it is treated as if you took a distribution of cash equal to the market price of the shares as of the day of the distribution and promptly bought the same number of shares in your brokerage account.  And yes, if the 401(k) plan assets in your ex-employer's plan consists solely of pretax contributions and the earnings thereon, then the entire distribution is ordinary taxable income regardless of whether you sold the stock within the 401(k) plan or took a distribution of stock from the plan and promptly (or after a few days) sold it. The capital gains or losses (if any) from such a sale are, of course, outside the 401(k) plan and taxable accordingly. Finally, the 10% penalty for premature withdrawal from a traditional 401(k) will also apply if you are not 59.5 years of age or older (or maybe 55 since you are separated from service), and it will be computed on the entire distribution.