Homemade Laundry Detergent That Actually Works (Non-Toxic Recipe)

Make your own homemade laundry detergent with washing soda, baking soda, and castile soap. Non-toxic, effective, and costs a fraction of store-bought brands.

Making your own laundry detergent has become a genuine household hack for a lot of families — not because it’s trendy, but because it makes practical sense. It’s cheaper than most commercial detergents, uses a short list of simple ingredients, and cuts out the synthetic fragrances and surfactants that some people prefer to avoid.

If you’ve tried DIY laundry detergent before and found it underwhelming, the recipe and tips below address the most common failure points.

Why Make Your Own?

Cost. The per-load cost of homemade laundry detergent is significantly lower than most commercial brands. Once you have the base ingredients, a single batch typically makes enough for dozens of loads.

Fewer synthetic chemicals. Commercial detergents often contain synthetic fragrances, optical brighteners (chemicals that make clothes appear whiter under UV light), and surfactants that can linger on fabric. For people with sensitive skin, eczema, or allergies, a simple homemade formula with known ingredients can make a real difference.

HE machine compatible. Because this recipe is low-sudsing, it works in high-efficiency (HE) washing machines — which is often a concern with DIY versions.

It actually cleans. Let’s be direct: some DIY laundry detergent recipes online don’t clean well. The recipe below uses a combination of ingredients that work together for real cleaning power.

The Ingredients

Washing Soda (Sodium Carbonate)

The workhorse of this recipe. Washing soda (different from baking soda) is a powerful water softener and pH booster. It helps lift grease and grime from fabric and improves the effectiveness of everything else in the formula.

Find it in the laundry aisle of most grocery stores, sometimes labeled as “Super Washing Soda.” Arm & Hammer is the most common brand in the US.

Do not confuse with baking soda (sodium bicarbonate) — they’re chemically different and have different cleaning strengths. Washing soda is more alkaline and more effective for laundry.

Note: Avoid direct skin contact with dry washing soda — it can irritate skin. Wear gloves when mixing the dry powder.

Baking Soda (Sodium Bicarbonate)

Milder than washing soda, baking soda deodorizes and softens water. It balances pH in the wash and helps prevent residue buildup. Using it alongside washing soda gives you both cleaning power and gentleness.

Castile Soap (Grated Bar)

Castile soap is made from plant-based oils (typically olive oil, coconut oil, or a blend) rather than synthetic surfactants. It provides the surfactant action needed to actually lift oils and particles from fabric.

Use a bar of castile soap, not liquid — liquid castile soap reacts with the washing soda and can create a clumpy mess. Dr. Bronner’s unscented bar soap works well and is widely available.

Grate the bar using a cheese grater (dedicate one to household use). Finer grating helps it dissolve better in water.

Optional: Borax

Some recipes include borax (sodium tetraborate) as a booster. It’s a naturally occurring mineral that further enhances cleaning and has antifungal properties. Whether to use it is a personal choice — it’s effective, but some people prefer to leave it out. It’s not a requirement in this recipe.

Optional: Essential Oils

Adding 20–30 drops of essential oil per batch adds scent if you miss fragrance. Lavender, lemon, and tea tree are popular choices. Tea tree also has antimicrobial properties. This is completely optional.

The Recipe (Powder Formula)

This makes approximately 40–50 loads depending on load size and soil level.

Ingredients:

Directions:

  1. Grate the castile soap bar using the fine side of a box grater. For best dissolving, grate as finely as possible. You can also pulse it in a food processor (again, one dedicated to household use).

  2. Combine grated soap, washing soda, baking soda, and borax (if using) in a large bowl or container.

  3. Mix well. If using essential oils, add them now and mix again.

  4. Store in an airtight container. A glass jar, a repurposed plastic container, or a dedicated laundry storage canister all work.

To use:

Making It Dissolve Better

The most common complaint with powder homemade detergents is incomplete dissolving, particularly in cold water. A few ways to address this:

Grate the soap finer. Coarser soap flakes don’t dissolve as well. The finer your grate, the better.

Pre-dissolve in hot water. For cold water cycles, dissolve your 2 tablespoons of detergent in a cup of hot water before adding it to the machine.

Use warm water when possible. Most fabrics (except delicates and wool) tolerate warm water cycles without issue, and warm water improves dissolving significantly.

Don’t overfill. More detergent doesn’t mean cleaner clothes — it often means more residue. Stick to the 2-tablespoon guideline.

Liquid Version

If you prefer liquid detergent, the formula is similar but requires cooking:

  1. Grate the castile soap bar and melt it in 4 cups of hot water on the stove over low heat, stirring until dissolved.
  2. In a large bucket (1 gallon capacity), dissolve 1 cup washing soda and ½ cup baking soda in 4 cups of hot water.
  3. Combine the soap mixture and the soda mixture in the bucket. Stir well.
  4. Add 6–8 more cups of water. Stir.
  5. Let cool completely. The mixture will gel as it cools — this is normal.
  6. Transfer to labeled containers.

To use: ½ cup per load. Shake or stir before each use as the gel can separate.

What It Doesn’t Do

A few honest limitations:

It won’t brighten whites the way commercial detergents do. Commercial detergents use optical brighteners — UV-reactive chemicals that make whites glow. Homemade detergent doesn’t. Your whites will be clean, not chemically brightened. Adding a half cup of oxygen bleach (non-chlorine) to the wash can help if white brightness matters to you.

It doesn’t work as well on heavily soiled work clothes. For clothing with heavy grease, motor oil, or industrial soil, commercial degreasers or enzyme-based cleaners work better. DIY detergent handles everyday household laundry well.

It may affect some fabric softeners. If you use fabric softener, add it in the rinse cycle as usual — it isn’t affected.

Storage and Shelf Life

The dry powder version lasts essentially indefinitely if kept in an airtight container away from moisture. The liquid version should be used within 2–3 months. Label your containers clearly (especially important if other household members aren’t familiar with the switch).

Getting Started

If you’re new to DIY cleaning products, laundry detergent is one of the best starting points. The ingredients are inexpensive and easy to find, the process takes about 15 minutes, and the results are immediately testable. Start with a single batch, run a few loads, and adjust the amount per load based on how your machine and clothes respond.