Investors & landlords

Gains or losses within a 401(k) tax deferred retirement account are not reported on a tax return. 

If you made a withdrawal from the account then you would be receiving a Form 1099-R and that is reported on a tax return.