Homemade Laundry Detergent: A Practical DIY Option for Everyday Laundry
Homemade laundry detergent can work reasonably well for lightly soiled, everyday laundry when made with basic ingredients like grated bar soap, washing soda, and borax, but results vary by water hardness, machine type, and fabric. It generally won’t match the stain-fighting or fabric-safety profile of commercial detergents tested for specific washer designs, so it’s best treated as a budget or DIY option rather than a universal replacement.
⚡ The TidyFormula™ Quick Decision
Best approach: Use a simple homemade detergent (grated bar soap, washing soda, and optionally borax) for regular, moderately soiled laundry loads, and mix only what you’ll use within a reasonable time.
Use caution with: High-efficiency (HE) washers, which are often designed for low-suds detergents; delicate fabrics; and hard water, which can reduce cleaning performance and leave residue.
If you have an HE washer, check the manual first. Clean the detergent drawer periodically to prevent buildup.
Stop and reassess if: You notice soap buildup on clothes or in the machine (including pet-hair buildup that traps residue — see how to remove pet hair from a washing machine), your washer’s manual advises against non-HE detergents, colors dull unexpectedly, or stains and odors aren’t lifting after a wash cycle.
What I Use For This Job
Using the right tools saves time and protects your belongings. Here are my exact recommendations:
*As an Amazon Associate, TidyFormula earns from qualifying purchases.

Why Make Your Own Laundry Detergent?
People try homemade laundry detergent for a few common reasons: cost savings, a desire for fewer synthetic ingredients, or curiosity about a more hands-on approach to household cleaning. It can be a reasonable option for many households, but it’s worth understanding both what it can do and where it may fall short compared to commercial formulas.
Basic Homemade Laundry Detergent Ingredients
Most homemade recipes rely on a small set of readily available ingredients. Each plays a different role in the wash:
- Grated bar soap: Often a plain, unscented bar soap, finely grated to help it dissolve. This acts as the main cleaning agent.
- Washing soda (sodium carbonate): Helps boost cleaning power and water softening. This is different from baking soda, so check labels carefully when purchasing.
- Borax (optional): Some recipes include borax for added cleaning boost, though some households choose to skip it. If you use it, follow product label instructions for handling and storage.
Recipes vary widely in ratios and additional ingredients, and there isn’t one universally “correct” formula. If you find a specific recipe you want to try, follow that source’s measurements rather than guessing proportions.
How to Make a Basic Powdered Detergent
- Grate a bar of plain soap finely, using a cheese grater or food processor dedicated to household (non-food) use.
- Combine the grated soap with washing soda in a large, dry container. If using borax, add it now.
- Mix thoroughly until the ingredients are evenly distributed. A whisk or your hands (with gloves, if desired) can help break up clumps.
- Store the finished detergent in a sealed, airtight container away from moisture, and label it clearly, especially if other household members will be using it.
How to Make a Liquid Version
Some people prefer a liquid detergent, which typically involves dissolving grated soap and washing soda in hot water, then diluting the mixture and storing it in a jug. Liquid versions can settle or gel over time depending on the soap used and your water’s mineral content. If you try a liquid recipe, expect to shake or stir it before each use, and follow a specific recipe’s water ratios rather than estimating, since too little water can leave the mixture too thick to dispense evenly.

Using Homemade Detergent Safely and Effectively
Check Your Washer Type First
High-efficiency washers are generally designed to work with low-suds detergents, and manufacturers often specify detergent requirements in the owner’s manual. Homemade recipes can produce more suds than HE machines are built to handle, which may affect rinsing or, in some cases, trigger error codes. If you have an HE washer, check your manufacturer’s guidance before switching to a homemade detergent, and keep routine maintenance up to date—including inspecting the washing machine filter when your model has one.
Consider Your Water Hardness
Hard water contains minerals that can react with soap-based detergents, sometimes leaving a dull, waxy residue on fabrics rather than rinsing cleanly. If you have hard water, you may notice homemade detergent performs less consistently than a commercial detergent formulated to handle mineral content. A water softener or adjusted recipe may help, but results can still vary. If residue appears on clothing, check our guide on removing detergent buildup from clothes for straightforward recovery steps.
Fabric and Care Label Considerations
Always check garment care labels before using any detergent, homemade or store-bought. Some fabrics, finishes, or specialty items (like activewear, wool, or flame-resistant clothing) may have specific detergent recommendations from the manufacturer. When a care label specifies a particular type of detergent or washing method, follow that guidance over a general recipe.
Start Small and Test
Before committing to homemade detergent for your full laundry routine, test it on a small, regular load of durable, colorfast items. Watch for how well it rinses out, whether clothes feel clean and soft, and whether any residue appears once items are dry. If you notice sour or persistent odors after washing, our troubleshooting guide on getting sour smell out of laundry can help you diagnose whether the problem is the detergent, water temperature, or machine issues.
Troubleshooting Common Issues
- Residue on clothes: This can happen with hard water or when too much detergent is used. Try reducing the amount per load or adding an extra rinse cycle if your washer allows it.
- Detergent not dissolving fully: Grate soap as finely as possible, and consider dissolving powdered detergent in warm water before adding it to the wash, particularly in cold-water cycles.
- Stains not lifting: Homemade detergents may be less effective on tough, set-in stains than commercial stain-fighting formulas. Pretreating a stain separately before washing may help, but always test any pretreatment on a hidden area first.
- Clumping in storage: Moisture is usually the cause. Store powdered detergent in a fully airtight container and keep it in a dry area.
Storage and Handling
Keep homemade detergent, especially liquid versions, in clearly labeled, sealed containers away from children and pets. Ingredients like washing soda and borax should be stored according to their original packaging instructions, and it’s best not to combine leftover homemade detergent with any other cleaning products. If your machine develops odor or persistent residue after trying multiple recipes, see why a washing machine can still smell after cleaning and how to reach the true source.
When a Commercial Detergent May Be the Better Choice
Homemade detergent isn’t the right fit for every laundry situation. You may want to stick with a commercial detergent formulated for your washer and fabric types if you’re dealing with heavily soiled workwear, specialty fabrics with specific manufacturer care instructions, an HE washer without confirmed compatibility, or persistent residue and rinsing issues you can’t resolve through adjustment. In these cases, a detergent designed and tested for your specific equipment and fabric needs is likely to give more consistent results.
Final Thoughts
Homemade laundry detergent can be a practical, lower-cost option for many everyday laundry needs, particularly for households with standard washers and moderate water hardness. Its performance depends heavily on your specific water, machine, and fabric types, so it’s worth testing on a small scale before relying on it fully. When care labels or manufacturer instructions point toward a specific detergent type, following that guidance will generally give you more predictable results than a general homemade recipe.
Everything Mentioned Above
Before you leave, grab the tools you need to get the job done right the first time:
*As an Amazon Associate, TidyFormula earns from qualifying purchases.

