It is not recommended that you leave tea tree oil in your hair, as it could aggravate your skin and hair follicles if left for a long period of time.