You can cash out your 401(k) if you quit your job. However, experts generally do not advise cashing out a 401(k), as doing so will trigger taxes and penalties on the withdrawn amount. Instead, it is usually better to either leave the funds in the account or roll them over into a new employer's plan or an IRA.