If it’s your owner-occupied home, lenders usually allow you to rent it out for a period (e.g., 6 years, known as the “6-year rule” for CGT purposes) while maintaining your owner-occupied loan. However, inform your lender. If you don’t return, it will revert to an investment loan.