<prompt> Human: Long story short: Im deadset on purchasing a home, after some math I figured I could finish paying a home much faster if I didnt contribute to my 401k. After even more math I found out that if I could invest onto 401k while renting, then cash out when I aquire the mortgage, it would be even faster. Yes I also calculated tax and 10 penalty fee for 401k withdrawal, this is because my employer matches my contribution, maximum of 6So my questions are,Could I cash out on 401k after only a few months?Could I legally do the above as many times as I want?Employers match at same time of each paycheck contribution, right?  <response>: Besides it being a very bad no good terrible idea to force an immediate 10 loss on your investments, youll also come up on two major roadblocks. Non-hardship withdrawals from a 401k are prohibited while you are still working at the employer sponsoring the plan Employer contributions are often vested on a schedule, meaning that you might have to wait 1 years before accessing the match 