Dig a trench in the area of your yard where excess water accumulates. The trench should be from four to six inches wide and up to 12 inches deep.
Create a slope in the trench so that the water will be able to drain away. Check the trench at every two or three feet with a level to make sure there is a consistent slope. Or you can first finish digging the trench and then go back and add loose dirt to create a reasonable slope.
Put a layer of gravel at least four to six inches deep in the trench.
Add a layer of coarse sand on top of the gravel. The sand acts as a filter that only allows water to go down to the gravel. The sand should be at lest three inches thick.
Place a layer of soil on top of the sand to cover the trench. You can then plant grass seed or add sod to complete the project.
Adding a Drainpipe
Place a two- to four-inch layer of gravel in the trench.
Lay a perforated drainpipe on top of the gravel. The pipe should be at least four inches in diameter.
Place a filter fabric, or fabric used to keep weeds out of gardens, over the top of the pipe.
Add another two-inch layer of gravel on top of the drain
Fill in the remainder of the trench with dirt or topsoil.