A tax-free distribution, earnings included, from a Roth account. From a Roth IRA, it must come after the 5-year period beginning with the first tax year you contributed to a Roth IRA, and be made on or after age 59½, because of disability, to a beneficiary after your death, or for a first home (up to a $10,000 lifetime limit). From a designated Roth account in a 401(k), it needs a 5-taxable-year period of participation and age 59½, death or disability; the first-home reason doesn't apply.[1][2]
For the full explanation, see Roth vs Traditional Solo 401k.