Putting nail polish remover or hand sanitizer on the hair can remove tree sap. After rubbing one of these substances on the affected hair, clean it with soap and water.
Tree sap can also be removed from the hair by applying a grease-cutting soap or vegetable oil to the tresses. Peanut butter may also get tree sap out of hair; the oils in peanut butter break down the sap so it can be combed out of the hair. Cover the affected areas with peanut butter and soften the sap and peanut butter with a hair dryer. Comb the hair out, and wash it as usual.