<prompt> Human: Hello. Is it worth investing in my companys 401k if I plan on leaving in 1-2 years? They only contribute 100 of their match if I stay 5 years. 1-2 years will be 10-20 of their match. The 401k stays with the company if I change jobs, right? Am I better off just investing the money in an index fund?  <response>: 401k follows you, at least for your contribution. The match depends on your companys terms. 