There's no tax on a rollover from a Roth 401(k) to a Roth IRA. You also don't need to do this rollover five years before you withdraw. You could roll the Roth 401(k) into your Roth IRA, withdraw the principal a week later, and no tax will be due. Note that for this purpose the "principal" consists of the original amounts of your mega backdoor conversions, and does not include any growth that happened after the Roth conversions. To withdraw that growth for free from your Roth IRA you'll need to be 59½ and also have had some money in some Roth IRA for at least five years. Make sure to open a Roth IRA and contribute at least $1 sometime before your 54½th birthday and you should be all set there.