Hair Oil Overnight: How Long to Leave It In, and Masks Too
If you want a treatment that stays in while you sleep, hair oil overnight is the obvious choice: you work a little oil into your lengths and ends, sleep with it in and wash it out in the morning. A rinse-out hair mask is different, and stays in for as long as its label says. We have not found a study showing that a whole night does more than an hour. Below you will find what oil does in hair according to research, how long to leave it in, which hair it suits and how to keep oil marks off your pillow and your silk.
A hair mask is not the same as hair oil
Many different products are called hair treatments: masks and conditioners that you rinse out after a few minutes, leave-in treatments and plain oils. For the night, the difference matters. A mask is made for the time its maker gives on the label. An oil stays in the hair until you wash it out and is used before washing or, in small amounts, to care for the lengths. Products made specifically for overnight use are a group of their own, and the label applies to them too.
What hair oil does overnight
Oil forms a thin film on the surface of the hair. A dermatology review sums up what the film did in studies: hair became more slippery, took less force to comb when wet, and fewer split ends formed in lab tests. The same review also notes that few studies have looked at oils on human hair.
Most of the studies we found are on coconut oil. In the best-known lab studies it penetrated the hair shaft and reduced the protein lost during washing, while mineral oil stayed on the surface. For sunflower oil the results were mixed: in one study it did not reduce protein loss, in another it penetrated at least partly. A later study using a different method found that mineral oil penetrated better than the plant oils tested. So the question is not settled. The coconut oil studies also come from researchers who worked for, or were commissioned by, a maker of coconut hair oil.
Some oils let less water into the hair, so it swells less when you wash it. Researchers suspect that this helps hair cope with repeated swelling and drying; that has not been shown so far. Many people find their lengths feel softer after an oil treatment. That is not a repair, and the studies above did not look at hair growth. How readily your hair takes up water in the first place is called porosity; our guide to the hair porosity test explains how it is checked at home and what those checks cannot tell you.
How long to leave oil in hair
We have not found a study that compares one hour with a whole night. The best-known coconut oil study left the oil on hair samples in the lab for at least 14 hours, to simulate overnight use, and tested an eight-hour application on people's heads. A small study that measured how much coconut oil gets into the hair found somewhat more oil inside the hair after six hours than after one hour, but the values overlapped. It used very few samples, and the hair had been soaked in oil. That does not show that one hour is always enough, and it does not show that a night does more.
Leaving oil in overnight is mainly convenient: the oil stays in while you sleep and does not get in your way during the day. If you would rather not sleep with oil in your hair, leave it in for one to two hours before you wash; that is a rule of thumb, not a research finding. Either way, the oil should come out at your next wash.
Leaving a hair mask on overnight
With a rinse-out hair mask, the time on the label applies. We have not found a study showing that a mask conditions hair better if left on overnight, nor one showing that it makes hair brittle, although you will read both claims. If the label gives a short time, stick to it. If you want to care for your hair overnight, an oil or a product made for overnight use is the simpler choice.
Leaving oil in your hair overnight: step by step
- Go to bed with dry hair. Why wet hair is more fragile at night is explained in our guide to sleeping with wet hair.
- Take a little oil and work it into your lengths and ends, not your scalp. Start with a small amount; you can always add more.
- Braid your hair loosely or twist it into a bun that does not pull, so that it is not lying under you. How to wear your hair at night is covered in our guide on how to protect hair while sleeping.
- Put an old spare pillowcase over your pillow, because oil leaves marks.
- Wash the oil out thoroughly in the morning. Work some shampoo into the oiled lengths too, not only the roots, and count this as one of your washes that week.
Which hair suits an overnight hair oil treatment
An oil treatment usually makes most sense for dry, thick or curly lengths. Too much oil can make hair look heavy and greasy, as the review mentioned above also points out; with fine hair, you will notice it first. In that case, very little oil on the ends is enough, or a short treatment before you wash. No oil permanently closes ends that have already split; they can only be cut off, as our guide to split ends explains. If your hair is mainly dry, our guide on how to fix dry hair covers care from washing to conditioner.
If shine is what you are after, look at the cause first: dull hair often has causes other than dryness, such as residue on the surface. Our guide on how to get shiny hair goes through them one by one.
Your scalp: keep the oil on your lengths
On the scalp, the sources disagree. In a letter to a journal about one particular group of patients, three US authors, two of them from a university dermatology department, advise keeping oil off the scalp for dandruff and caring for the lengths only. A US paediatric dermatology society likewise advises putting hair products on the hair itself, not the scalp. Germany's public health information service, run by the institute IQWiG, on the other hand, names olive oil overnight as a gentle way to soften dandruff flakes.
We therefore stick to the lengths and ends. If you keep getting dandruff, or your scalp itches or looks red, have a dermatologist take a look rather than treating it yourself with oil.
Oil, pillowcases and silk
Oil leaves marks on any pillowcase, silk included. Plant oils that are not fully washed out can form yellow stains over time. So on nights with oil, use an old spare pillowcase, even if you normally sleep on a silk pillowcase.
If oil does get onto silk, blot the excess straight away and do not rub. Do not use bleach on the stain. Where home treatment ends for oily stains is explained in our guide on how to wash silk.
Washing the oil out in the morning
Oil does not mix with water, so rinsing alone is usually not enough. Put the shampoo on the oiled lengths while they are still dry, work it in and then rinse; with a lot of oil, wash a second time. Then use your usual conditioner.
Frequently asked questions
Can I sleep with oil in my hair?
Yes. Work a little oil into your lengths and ends, wear your hair loosely gathered and protect your pillow with an old spare pillowcase. Wash the oil out with shampoo in the morning.
How long should you leave oil in your hair?
As a rule of thumb, from one to two hours before you wash to overnight. In the best-known coconut oil study, the oil stayed on hair samples for at least 14 hours to simulate overnight use; we have not found a study showing that a night does more than one to two hours.
Is overnight hair oil suitable for fine hair?
Yes, with very little oil, on the ends only. Fine hair quickly looks heavy with too much oil, so leaving it in for a short time before you wash is often the better choice.
Do you have to wash hair oil out?
After an oil treatment, yes. A few drops on the ends once your hair is dry, as a finishing touch, can stay where they are; an amount left in overnight should come out with shampoo in the morning.
What happens if you leave a hair treatment on too long?
We have not found evidence that a mask or an oil damages hair overnight. With a mask, the time on the label is still the safe choice; with oil, what matters after a long treatment is washing it out thoroughly.
Can you leave coconut oil in your hair overnight?
Yes, you can leave coconut oil in your hair overnight, on your lengths and ends rather than your scalp, and wash it out with shampoo in the morning. Use only a little, and protect your pillow with an old spare pillowcase.
Sources
- Rele AS, Mohile RB. Effect of mineral oil, sunflower oil, and coconut oil on prevention of hair damage. Journal of Cosmetic Science, 2003;54(2):175-192. PubMed 12715094
- Ruetsch SB et al. Secondary ion mass spectrometric investigation of penetration of coconut and mineral oils into human hair fibers: relevance to hair damage. Journal of Cosmetic Science, 2001;52(3):169-184. PubMed 11413497
- Keis K et al. Investigation of penetration abilities of various oils into human hair fibers. Journal of Cosmetic Science, 2005;56(5):283-295. PubMed 16258695
- Gode V et al. Quantitative measurement of the penetration of coconut oil into human hair using radiolabeled coconut oil. Journal of Cosmetic Science, 2012;63(1):27-31. PubMed 22487449
- Srivastav A et al. Penetration study of oils and its formulations into the human hair using confocal microscopy. Journal of Cosmetic Dermatology, 2019;18(6):1947-1954. doi:10.1111/jocd.12918
- Gavazzoni Dias MF. Hair cosmetics: an overview. International Journal of Trichology, 2015;7(1):2-15. doi:10.4103/0974-7753.153450
- Mayo T et al. Hair Oils May Worsen Seborrheic Dermatitis in Black Patients. Skin Appendage Disorders, 2023;9(2):151-152. doi:10.1159/000527778
- Society for Pediatric Dermatology: Patient Perspectives: Seborrheic dermatitis
- IQWiG, gesundheitsinformation.de: Seborrhoisches Ekzem: Welche Mittel helfen Jugendlichen und Erwachsenen? (in German)
- Cornell Cooperative Extension: Removing Stains at Home
RENESSY · Updated September 2026


