According to the Tesla terms and conditions after 6 months from the time the credit was added. Unofficially, however, it has been shown that the expiration date is extended by another 6 months when additional credit is added through a Tesla referral code.