How to Build a DIY Rain Garden That Handles Runoff

Last Updated: November 2, 2026
Quick Summary
To build a DIY rain garden, dig a shallow, level basin at least 10 feet from your foundation in a spot that catches runoff, amend the soil with compost, and plant natives that tolerate wet feet. Size the basin at 20 to 30 percent of the drainage area and 6 to 8 inches deep, and call 811 before you dig.
- Keep the basin at least 10 feet from the house foundation and grade overflow away from the house.
- Call 811 before digging so underground utilities are marked for free.
- Run a percolation test: under 2 hours per inch means good drainage and standard sizing works.
- In clay soil, dig 6 to 8 inches deeper and mix the dug soil half-and-half with compost.
- If water stands more than 48 hours after a storm, check the inlet first, then break up any silt layer.
Table of Contents
- Rain Garden Basics: What It Does and Where to Put It
- Testing Soil Type, Drainage, and Infiltration Rate
- How to Build a Rain Garden in Clay Soil
- Sizing the Garden to Your Roof and Paved Area
- How to Build a DIY Rain Garden on a Slope
- Digging, Amending, and Building the Basin
- Rain Garden Plants for Sun, Shade, and Wet Feet
- Downspout Rain Garden: Directing Roof Water Without Erosion
- Materials, Tools, and a Simple Project Timeline
- Keeping It Working: Maintenance and Troubleshooting
- Frequently Asked Questions
Rain Garden Basics: What It Does and Where to Put It
A rain garden is a shallow, planted bowl that catches stormwater runoff from your roof, driveway, or lawn and lets it soak into the ground instead of running off.
Below, we walk through how to build a DIY rain garden from start to finish, including the soil test most guides skip.
A rain garden is best understood as a drainage structure first and a garden second. For more practical landscaping guidance for Central NY homeowners, browse landscaping tips and insights.
Choosing a Location and Checking Distance From the Foundation
Location decides whether your rain garden works or becomes a problem. Pick a spot that:
- Sits at least 10 feet from the house foundation
- Catches water from a downspout, driveway, or slope
- Gets full sun or partial sun for most of the day
The foundation distance matters most. A basin that holds water against your basement wall invites seepage and structural trouble. Keep it 10 feet out, and grade the overflow away from the house.
Calling 811 Before You Dig and Checking Local Rules
Call 811 before any shovel hits the ground (811 Before You Dig). The free service marks underground utilities.
Local stormwater rules vary by town; some municipalities require a permit for grading work or any structure that changes drainage.
Watch out: building a rain garden that pushes water onto a neighbor's property can create a legal dispute.
Testing Soil Type, Drainage, and Infiltration Rate
Soil type decides how big your basin needs to be. Clay holds water; sand lets it go. Many yards have heavy clay soil, which can contribute to water pooling.
Start with a simple soil test. Squeeze a handful of damp soil:
- Sandy soil: falls apart, feels gritty
- Loam: holds shape but crumbles easily
- Clay: stays in a tight ball, feels slick
Then measure how fast water drains, the step that separates a working garden from a swamp.
Running a Percolation Test
A percolation test tells you how fast your soil absorbs water. Dig a hole about 12 inches deep and 6 inches wide. Fill it with water and let it drain overnight. The next day, fill it again and time how long the water level drops one inch.
- Under 2 hours per inch: good drainage, standard sizing works
- 2 to 6 hours per inch: slow, amend the soil heavily
- Over 6 hours per inch: poor, plan a deeper amended bed or a different spot
How to Build a Rain Garden in Clay Soil
Clay soil needs more than a hole. Water barely moves through it, so a plain basin fills up and sits. The fix is a soil amendment: mix compost into the excavated soil to open the structure and speed infiltration.
Here is how we approach clay:
- Dig the basin 6 to 8 inches deeper than the target depth
- Break up the clay at the bottom with a fork
- Mix the dug soil half-and-half with compost
Watch out: smearing the basin walls with a shovel creates a sealed surface. Rough up the sides so water can move sideways into the soil.
Sizing the Garden to Your Roof and Paved Area
Garden size tracks the runoff it must handle. Measure the roof and paved area draining toward the garden, then size the basin to a fraction of that footprint, commonly 20 to 30 percent of the drainage area, adjusted for soil.
DIY Small-Scale Rain Garden
Milwaukee Metropolitan Sewerage District - MMSD
Measure the footprint, not the sloped roof surface. A 20-by-30-foot section of roof covers 600 square feet of ground.
Calculating Drainage Area and Basin Depth
Drainage area is the total surface feeding the garden. Add roof area, driveway, and any paved area that slopes toward it. Then set basin depth:
- 6 to 8 inches deep for most residential gardens
- Deeper only where soil drains fast
- Shallower where soil drains slowly
How to Build a DIY Rain Garden on a Slope
A slope needs a berm on the downhill side to hold water. Build it from excavated soil, pack it firm, and plant it so it holds.
For steeper yards, a retaining wall or a series of terraced basins may work better than one deep bowl. If the grade drops sharply, professional grading and wall work may be the safer call.
Digging, Amending, and Building the Basin

Mark the outline with spray paint or a hose, then dig. Keep the edges soft and the floor level. Pile the dug soil nearby for the berm.
- Mark the outline and check the floor slope with a level
- Dig to depth, keeping walls rough
- Amend the soil with compost
Inlet, Overflow, and Erosion Control
The inlet is where water enters, usually a downspout or a shallow swale. Line it with rocks or riprap so fast water does not carve a channel. The overflow is a low notch on the berm that lets extreme rainfall escape without washing out the garden.
Rain Garden Plants for Sun, Shade, and Wet Feet
Plant choice depends on sun exposure and how wet the basin stays. Go with native plants that tolerate both wet and dry spells.
Shade changes the list. For help thinking through planting and layout choices that complement your rain garden, see this backyard landscape design guide. Ferns, sedges, and woodland natives handle partial sun and damp soil.
Downspout Rain Garden: Directing Roof Water Without Erosion
A downspout rain garden captures roof water right where it leaves the gutter. Extend the downspout to the garden edge, then set a splash block or river rock apron to slow the flow. Bury the line for a cleaner look.
Keep these points in mind:
- Slope the line gently toward the garden
- Use rock at the outlet to stop erosion
- Add a leaf screen to keep debris out
Materials, Tools, and a Simple Project Timeline
Most homeowners can build a small garden over a weekend, but planning and soil testing stretch the calendar to two or three weeks before a shovel moves. Bigger basins or clay-heavy sites push it longer. Here is a realistic schedule and materials list so you can budget before you dig.
Project Timeline
- Plan and call 811: What You Do: Mark spot, check local rules, request utility locate; Time Needed: 1 to 2 weeks (utility locate typically completes in 2 to 3 business days)
- Soil test: What You Do: Percolation test and soil type check; Time Needed: 2 to 3 days (overnight soak plus timed refill)
- Dig and shape: What You Do: Excavate basin, build berm, rough up walls; Time Needed: 1 day for a 100-150 sq ft basin; 2 days for larger
- Amend and plant: What You Do: Mix compost, set plants, add mulch, set inlet rock; Time Needed: 1 day
- Water and watch: What You Do: Water weekly through first season, check overflow after storms; Time Needed: First growing season
Tools Checklist
- Shovel and a sturdy garden fork for breaking up clay at the basin floor
- Wheelbarrow for hauling excavated soil to the berm
- 4-foot level and a straightedge (a 2x4 works) to check the basin floor
You can rent a trencher for burying a downspout line, but most small gardens do not need one.
Materials and Cost Ranges
Prices vary by region and supplier, so treat these as planning ranges rather than quotes.
- Compost or soil amendment: Typical Quantity for 100-150 sq ft: 2 to 4 cubic yards; Planning Cost Range (USD): $60-$200
- Native plants (plugs or 1-gal pots): Typical Quantity for 100-150 sq ft: 15 to 30 plants; Planning Cost Range (USD): $150-$600
- Shredded hardwood mulch: Typical Quantity for 100-150 sq ft: 2 to 3 cubic yards; Planning Cost Range (USD): $60-$150
- River rock or riprap for inlet: Typical Quantity for 100-150 sq ft: 0.5 to 1 cubic yard; Planning Cost Range (USD): $50-$150
- Downspout extension or splash block: Typical Quantity for 100-150 sq ft: 1 to 2; Planning Cost Range (USD): $15-$60
- Optional: soil test lab fee: Typical Quantity for 100-150 sq ft: 1 sample; Planning Cost Range (USD): $15-$40
Plant costs swing the most. Plugs cost far less than gallon containers but take an extra season to fill in.
Ordering compost by the cubic yard typically requires delivery access, while bagged compost is an option for small basins.
Keeping It Working: Maintenance and Troubleshooting
A rain garden is a drainage structure, so maintenance is mostly about protecting flow paths. The plants take care of themselves once established; the inlet, basin floor, and overflow notch are what fail first.
First-Season Establishment
Newly planted natives need consistent moisture until roots reach the basin subsoil, usually through the first growing season. Water deeply once a week during dry spells, roughly an inch per week, and more often during the first month.
Weed aggressively in the first two seasons. Young natives are slow to canopy, and aggressive weeds can outcompete them. A 2- to 3-inch mulch layer suppresses weeds and holds moisture, but keep mulch off plant crowns and away from the inlet so it does not float into the basin during storms.
Routine Seasonal Maintenance
- After every heavy rain: check the inlet and overflow notch for debris, leaves, and eroded soil.
- Spring: refresh mulch, cut back last year's perennial stems, and inspect the berm for animal burrows or settling.
- Late fall: clear leaves from the inlet and basin floor; a mat of wet leaves seals the surface and slows infiltration.
Troubleshooting Standing Water
If water remains in the basin more than 48 hours after a storm, the infiltration rate has dropped. Work through this sequence:
- Check the inlet first. A clogged inlet or a leaf screen packed with debris can make the garden look like it is not draining when the real problem is upstream.
- Look for a silt layer. Fine sediment washing off the roof or driveway settles on the basin floor and forms a low-permeability crust. Break it up with a fork and amend with compost.
- Check for compaction. Foot traffic or equipment on a saturated basin floor compacts the soil. Aerate the floor with a fork and top-dress with compost.
- Re-run the percolation test. If the floor still holds water after these steps, the underlying soil may not be suitable, and the garden may need a deeper amended bed, a different location, or conversion to a lined planter with controlled outflow.
Sediment and Erosion Repair
Sediment is the slow killer of rain gardens. Where the inlet drops water too fast, it scours a channel and dumps soil into the basin. Repair by resetting the inlet rock, adding a splash apron, or widening the inlet so flow spreads out. On the berm, refill eroded ruts with the same soil-compost mix and re-pack; if the overflow notch is eroding, line it with riprap.
Overflow Planning for Extreme Rainfall
Every rain garden has a capacity limit, and a storm larger than that limit has to go somewhere. Design the overflow before the first big storm, not after.
- Set the overflow notch at least 2 inches below the top of the berm so water exits before it overtops.
- Route overflow to a safe area, a lawn, a swale, or a storm drain if local rules allow, and away from the foundation and neighboring property.
- Size the overflow path for the largest storm you expect; a shallow grass swale is usually enough for residential lots, but steep sites may need riprap or a buried line.
A garden that handles typical storms well can still fail in a much larger storm if the overflow was not planned. Planning for that event helps a garden last.
Frequently Asked Questions
How deep does a rain garden need to be?
Most residential rain gardens are 6 to 12 inches deep, with the bottom level so water spreads evenly instead of pooling in one corner. Depth depends on how much runoff the garden receives and how fast your soil absorbs water. A percolation test tells you the infiltration rate, and that number, plus the size of your drainage area, sets the depth. Deeper is not better: a basin that holds water too long kills plants and breeds mosquitoes.
Can I build a rain garden in clay soil?
Yes, but clay needs help. Dig the basin, then loosen the subsoil and mix in compost and sand to improve drainage. A percolation test is essential: if water drains less than half an inch per hour, enlarge the garden or add a gravel storage layer beneath the soil. Choose plants that tolerate wet feet, and plan an overflow channel so extreme rain has somewhere to go.
What are the disadvantages of rain gardens?
A rain garden needs the right site. Too close to the foundation, and it can worsen seepage; over utilities, and excavation is unsafe. Poorly draining soil means standing water, and without overflow planning, heavy storms can erode the basin. Maintenance is modest but real: weeding, trimming, and clearing the inlet each season. None of these are dealbreakers, but they are reasons to test soil and plan before digging.
Can you build a rain garden on a slope?
Yes. On a slope, build a berm on the downhill side to hold water and keep the basin bottom level. Use the excavated soil for the berm, and add riprap or rocks at the inlet and overflow to control erosion. A slope garden often works better than a flat one because gravity moves water in, but the berm and overflow need careful shaping so storms do not cut through them.
Get a Free Estimate
Add naturescompanionlandscaping.com as a preferred source on Google →
Planning a project in Central New York? Explore our yard drainage and French drain services and request an estimate for your property.
Recent Blog
.png)

Let’s Plan Your Outdoor Project
Planning a patio, walkway or retaining wall for 2027? Request a free estimate. Include your town, approximate project size, preferred timing and budget range, if known, so we can discuss suitable options.
.png)







