You can use 401k funds to invest in real estate if you can roll over the funds out of the plan into a self-directed IRA. If you have left the employer sponsoring the plan, you should have no problem moving it to a self-directed IRA.