@Cody Brown Many 401(k)s allow you to take a loan and so it is not necessarily true that you cannot touch the funds until you retire. But be aware that there are certain restrictions and disadvantages with taking a 401(k) loan. For example, there are circumstances when you may have to repay the entire loan in a lump-sum and if you can't, you will be penalized. With that said, real estate is often considered better than saving in a 401(k) due to at least (and I am probably missing certain advantages and disadvantages so do more research):
- Real estate tends to give you more control - You have more control of how you invest the money (location, forced appreciation, rent properties and build long-term passive income, etc.). There are self-directed 401(k)s that allows you more freedom but not utilized by many.. You can also sell real estate at any time or take the cash flow from a rental and use the funds for whatever.
- You can use leverage with real estate
- Tax benefits - both 401(k) and real estate have tax benefits (can defer real estate taxes through 1031 exchange while 401(k) contributions are pre-tax and deferred until withdrawing the money). But with real estate you have depreciation and interest expense deductions. Can also be tax free for heirs when you pass away while 401k will be paid out and taxed to beneficiaries.
- Rent increases with inflation.
401(k) obviously have the matching contributions which is nice.
It is never a bad idea to diversify rather than putting everything in one asset class. As such, it may make sense to at least take advantage of matching contributions. My wife and I used to max out both of our 401(k)s but after learning about real estate, we now only take advantage of the match - the rest goes towards real estate. We are also likely going to take a loan from the 401(k) accounts for a property in near future.