Homemade Laundry Detergent Recipe (Powder and Liquid), Plus the Honest Downsides
By Clara
6 min read

The short answer
A simple powder recipe mixes one finely grated 4 to 5 ounce bar of soap with 1 cup of washing soda and 1 cup of borax. Use 1 to 2 tablespoons per load. It is cheap and works on light to normal soil, but it has no enzymes for tough stains, and bar soap can leave residue in hard water and in HE machines. Check your washer manual before using it.
Safety first
- Borax can irritate skin and is corrosive to eyes. Wear gloves and a dust mask when mixing, and store it away from children and pets.
- Label the jar clearly and keep it out of reach of children.
- Never mix homemade detergent with bleach or ammonia, and do not add vinegar to the wash with soap, since it cancels the soap.
- Check your washer manual first. Many makers say to use only HE detergent in an HE machine.
Making your own laundry detergent takes about ten minutes and uses three cheap ingredients. It is popular because it is simple and low in cost, but it is not a perfect swap for store detergent, and the internet often leaves out the downsides.
Here is a powder recipe, a liquid recipe, a borax free version, and an honest look at how well it cleans, what it costs and where it can go wrong.

Ingredients and what each one does
Each ingredient has a clear job, which helps you adjust the recipe.
| Ingredient | Role |
|---|---|
| Bar soap | The cleaning agent. It lifts dirt and oils off fabric. |
| Washing soda | Sodium carbonate. It softens water and helps cut oils. |
| Borax | A mineral salt that boosts cleaning and softens water. |
Choose a plain bar of soap with no added moisturizers or heavy oils, since those can leave marks on clothes. Washing soda is not baking soda, so check the box. Borax is the one to handle with care: the National Pesticide Information Center notes that in the form of borax it can be corrosive to the eye and irritating to the skin. Wear gloves, avoid breathing the dust and keep it away from children.

Powder laundry detergent recipe
This makes about 40 loads.
You will need:
- 1 bar of soap (4 to 5 ounces)
- 1 cup washing soda
- 1 cup borax
- An airtight jar and a scoop
Steps:
- Grate the soap as finely as you can. A box grater works, and a food processor makes it faster and finer. Fine shavings dissolve better, which matters because lumps cause residue.
- Mix everything together. Stir the grated soap, washing soda and borax in a large bowl until evenly mixed.
- Store it in an airtight jar. Add a scoop and label the jar.
- Use 1 to 2 tablespoons per load. Add it to the drum before the clothes, so it has time to dissolve in the water. Use the smaller amount for lightly soiled loads.

Powder works best in warm or hot water, because soap shavings dissolve poorly in cold water. If you wash in cold, dissolve the powder in a cup of hot water first and pour it in the drum.
Liquid laundry detergent recipe
Liquid takes a little longer to make, and the texture varies between batches. The result is often a thin gel, and it is fine if it separates.
You will need: 1/2 bar of grated soap, 1/2 cup washing soda, 1/2 cup borax, hot water and a bucket with a lid.
- Heat 4 cups of water until it is hot and add the grated soap. Stir until it dissolves.
- Stir in the washing soda and borax until they dissolve.
- Pour the mixture into a bucket and add 1 gallon of hot water. Stir.
- Cover and let it sit overnight. It will thicken or form a loose gel.
- Stir or shake before each use and add about 1/2 cup per load.
Liquid soap mixtures can grow bacteria or go rancid if they sit for a long time, so make small batches and use them within a few weeks.
Is homemade detergent safe for HE washers?
Be honest with yourself here: this is the biggest weakness of the recipe. High efficiency washers use far less water than older machines, and manufacturers say to use only HE detergent in them. Whirlpool, for example, says to always use only HE high efficiency detergent in a high efficiency machine, and notes that too much detergent causes oversudsing, longer cycles, poor rinsing and weaker cleaning. It also warns that powder detergent may leave residue if it does not fully dissolve.
Bar soap is a particular problem. Soap does not rinse as cleanly as modern detergent, and in hard water it forms a film called soap scum that can build up in the drum, the gasket and the fabric. That residue can make laundry look dull or smell musty, and it can feed odors in the washer.
If you want to try the recipe anyway:
- Check your washer manual first. If it requires HE detergent only, follow it.
- Use the smallest amount that works, such as 1 tablespoon per load.
- Dissolve the powder in hot water before adding it.
- Watch for suds, residue on dark clothes and a film in the drum.
- Run a monthly cleaning cycle. Our guide to how to clean a washing machine shows how.
Cost per load: homemade vs store-bought
Homemade detergent is usually cheaper, but the saving depends on what you pay where you shop. To work out your own number, add up the price of a box of washing soda, a box of borax and a bar of soap, divide by the number of batches each one makes, then divide by 40 loads. Compare that with the price of your usual detergent divided by the loads on its label.
Remember that homemade detergent has no enzymes, optical brighteners or stain fighters, so you may spend extra on a stain remover. If you would rather keep things simple, a plain store detergent in the right amount is hard to beat for convenience.
Does it actually work?
For light to normal loads, such as everyday cotton clothes, towels and sheets, many people are happy with it. It cleans by the same basic action as soap, and washing soda and borax help with hardness. But it has limits:
- No enzymes. Store detergents contain enzymes that break down protein and grease stains. Homemade recipes do not, so tough stains need a pretreatment.
- Hard water. Soap reacts with minerals and leaves scum, so results are worse in hard water.
- Cold water. Soap shavings dissolve poorly in cold water.
- Whites and brights. Without brighteners, whites may look duller over time.
If your clothes smell fine and feel soft, the recipe is working. If they look dingy or feel stiff, switch back to a store detergent and consider laundry stripping to remove buildup, since it uses the same ingredients.
A natural, borax free version
If you want to avoid borax, leave it out. Mix 1 grated bar of soap with 2 cups of washing soda. Use 1 to 2 tablespoons per load. The result is a little less effective on hard water, but still fine for light soil. Do not replace borax with baking soda, since it is a much milder cleaner and does not soften water the same way.
Storage and scent
Store the powder in an airtight glass jar with a scoop, away from steam and damp, so it does not clump. A little room near the machine is ideal, and our guide to how to organize your laundry room has ideas for storage.

For scent, you can stir in a few drops of essential oil, but it is optional, and oils can irritate skin or stain fabric if you add too much. Use only a few drops, and skip it for baby clothes or sensitive skin.
Add detergent day to your weekly cleaning routine so you do not run out. For more guides, see the laundry section, and read how we write our guides to see where our advice comes from.
Common questions
Does homemade laundry detergent ruin washers?
It can cause problems if you use too much or use it in an HE machine. Bar soap does not rinse as cleanly as modern detergent, especially in hard water, and can leave a film that builds up over time. Use the smallest amount that works and run a monthly cleaning cycle to keep the drum clear.
Is homemade laundry detergent cheaper?
Usually, yes. A box of washing soda, a box of borax and a few bars of soap make many loads, so the cost per load is typically lower than store detergent. The saving depends on local prices, so add up what you pay for each ingredient and divide by the number of loads.
Can you use homemade detergent on baby clothes?
It is not the safest choice. Borax can irritate sensitive skin, and any soap residue left in fabric can bother a baby. Use a fragrance free detergent made for babies, and ask your pediatrician if your baby has eczema or very sensitive skin.
Is homemade detergent safe for HE washers?
Be careful. High efficiency washers use little water and manufacturers say to use HE detergent only, because other products can oversuds and leave residue. If you try a homemade recipe, use a very small amount, watch for suds or residue, and check your manual.
Sources
- HE Detergent use in a Washer, Whirlpool Product Help
- Boric Acid Fact Sheet, National Pesticide Information Center (NPIC), Oregon State University
This guide is general cleaning information. Always follow the product label and your manufacturer’s care instructions, test on a hidden spot first, and never mix bleach with vinegar, ammonia or other cleaners.
Reviewed by Clara, Founder and editor, on . How we research and check articles.
Related articles

How to Fold Towels: 5 Ways to Save Space
Five simple ways to fold towels: the hotel tri-fold, roll, file fold for drawers, hand towel and washcloth folds, with a step by step diagram for each.

DIY Fabric Softener: 3 Easy Recipes (Vinegar, Conditioner and Dryer Balls)
Make homemade fabric softener with white vinegar, hair conditioner or wool dryer balls. Exact amounts, how to use each and which works for towels and HE washers.

Can You Wash Sheets and Towels Together? (And How to Wash Each One Properly)
Why it is better not to wash sheets and towels together (lint, tangling, different heat), plus the right settings for each and how often to wash them.