You can build a septic tank yourself, but most homeowners hire contractors because of the cost, permits, and risk of failure

A septic tank is a large underground container that holds wastewater from your home while bacteria break down solids. Building one yourself means excavating a hole, installing a concrete or fiberglass tank, laying drain field pipes, and connecting everything to your house plumbing — all while meeting local health codes. Most people hire a licensed septic contractor instead because the work requires heavy equipment, precise grading, soil testing, and multiple inspections. If you fail at any step, you risk contaminating groundwater, failing a property inspection, or facing fines from your health department.

If you still want to understand the process or do parts of it yourself, the steps are: get a soil test and site plan approved by your health department, excavate the tank location, install the tank, connect inlet and outlet pipes, build the drain field, and pass final inspection. Each step has specific code requirements that vary by state and county. This guide explains what each step involves so you can decide whether to do it yourself or hire help.

Key Takeaways

  • Your local health department must approve your site plan and soil test before you dig, and they will inspect the finished tank and drain field.
  • Tank installation requires heavy equipment to excavate and position a 1,000- to 2,000-gallon concrete or fiberglass tank without cracking it.
  • Drain field pipes must slope correctly and sit in gravel at the right depth — mistakes here cause backups and system failure within months.
  • Most counties require a licensed contractor to install septic systems, so check your local rules before you start any work.
  • The total cost of materials and equipment rental ranges widely by location and soil type, but hiring a contractor often costs less than doing it wrong yourself.

Check your local septic codes and get health department approval first

Before you buy materials or rent equipment, contact your county health department or environmental health office. They will tell you whether you can install a septic system yourself in your area — many counties require a licensed contractor. Ask for the septic code book, which lists tank size requirements, drain field dimensions, setback distances from wells and property lines, and soil percolation rates.

You will need a soil percolation test (perc test), which measures how fast water drains through your soil. The health department may do this or require you to hire a soil scientist. The test results determine how large your drain field must be. You will also need a site plan showing your house, well, property lines, and the proposed tank and drain field locations. The health department reviews this plan and either approves it or tells you to move the system. This approval is not optional — without it, you cannot legally operate a septic system, and you will fail a property inspection or sale.

Excavate the tank location and prepare the foundation

Once you have approval, mark the tank location with stakes. You will need to excavate a hole large enough for your tank — typically 4 to 6 feet deep and 8 to 10 feet wide for a 1,000-gallon tank. Rent a backhoe or hire an excavator; doing this by hand is impractical and dangerous. The hole must be level at the bottom so the tank sits evenly without tilting.

Check for underground utilities before you dig. Call 811 or your local utility locating service to mark gas, electric, water, and sewer lines. Hitting a gas line or electrical cable can kill you. Once utilities are marked, excavate carefully and remove rocks that could puncture the tank. Spread 4 to 6 inches of sand or gravel at the bottom of the hole to create a level, stable base. The tank will weigh 3,000 to 5,000 pounds when full, so the foundation must be solid.

Install the tank and connect inlet and outlet pipes

Lower the tank into the hole using a crane or heavy equipment — do not try to roll it or use a forklift. Concrete tanks can crack if dropped or tilted. Position the tank so the inlet (from your house) and outlet (to the drain field) are at the correct heights. The inlet should be 2 to 4 inches higher than the outlet so gravity moves water through the tank.

Connect the inlet pipe from your house to the tank inlet using PVC or cast iron pipe. The pipe should slope downward at 1/4 inch per 10 feet. Install a baffle (a divider inside the tank) at the inlet to slow incoming water and let solids settle. Connect the outlet pipe to the outlet port and run it to the drain field. Backfill around the tank with sand or gravel, not soil, so water can drain away from the tank walls. Soil holds water and can cause the tank to float or crack during heavy rain.

Build the drain field with proper slope and spacing

The drain field (also called a leach field) is a series of perforated pipes buried in gravel that lets treated wastewater soak into the soil. The size depends on your soil percolation rate and the number of bedrooms in your house. A typical 3-bedroom house needs a drain field of 1,000 to 1,500 square feet.

Excavate trenches 18 to 36 inches deep, spaced 6 to 8 feet apart. Lay 4 inches of gravel in the bottom of each trench, then place perforated PVC pipe on top. Cover the pipe with 2 more inches of gravel, then lay landscape fabric over the gravel to keep soil from clogging it. Backfill with soil. The trenches must slope slightly (1/8 inch per 10 feet) so water moves through all the pipes evenly. If one trench is higher than the others, water will pool in the low trenches and back up into the tank.

Do not install the drain field under a driveway, patio, or building. Do not plant trees or shrubs over it — roots will clog the pipes. Keep it at least 50 feet from a well and 10 feet from a property line, though your local code may require more distance.

Pass the health department inspection and maintain the system

Once the tank and drain field are installed, call the health department for a final inspection. They will check that the tank is at the correct depth, the inlet and outlet pipes are properly connected, the drain field is the right size and slope, and all setback distances are correct. If anything fails inspection, you will have to dig up and fix it. Inspections are not optional — you cannot legally use the system without approval.

After the system is approved, maintain it by pumping the tank every 3 to 5 years (more often if you have a garbage disposal or use a lot of water). Do not flush anything except human waste and toilet paper. Do not pour grease, chemicals, or medications down the drain. Do not drive or build over the drain field. A well-maintained septic system lasts 25 to 40 years; neglect will destroy it in 5 to 10 years.

Hiring a contractor may cost less than doing it wrong

A licensed septic contractor has the equipment, experience, and insurance to install the system correctly the first time. They know the local codes, handle the health department paperwork, and may provide their work. If something fails, they fix it at no cost. If you do the work yourself and make a mistake, you pay to dig everything up and redo it — often costing more than hiring a contractor would have.

Get quotes from at least three contractors in your area. Ask whether the price includes the soil test, site plan, excavation, tank, pipes, drain field, and final inspection. Some contractors charge separately for each part. Ask for references and check that they are licensed and insured. A contractor who skips the health department approval or tries to install a system without a perc test is not worth hiring — they are breaking the law and putting your property at risk.

Frequently Asked Questions

Can I install a septic tank in my backyard myself?

You can do some of the work yourself, but most counties require a licensed contractor to install the tank and drain field. Check with your health department first — they will tell you what you are allowed to do. Even if you can do the work, you still need health department approval of your site plan and a final inspection before you can use the system.

How much does it cost to build a septic tank system?

The cost varies by location, soil type, and tank size. Materials alone (tank, pipes, gravel) typically run $2,000 to $5,000. Equipment rental (backhoe, crane) adds $500 to $2,000. Labor from a contractor ranges from $3,000 to $10,000 or more. Doing it yourself saves labor but not equipment or materials, and mistakes can cost thousands to fix.

What happens if my drain field fails?

If the drain field clogs or slopes incorrectly, wastewater backs up into the tank and into your house. You will see slow drains, sewage smells, or wet spots in your yard. Fixing a failed drain field means excavating the entire field and rebuilding it, which costs $5,000 to $15,000. Prevention through proper installation and regular pumping is much cheaper.

Do I need a permit to install a septic tank?

Yes. Your health department issues a permit after approving your site plan and soil test. You cannot legally install a septic system without one. The permit also requires final inspection before you can use the system. Installing without a permit is illegal and will cause problems when you sell the house or explore for a loan.

How deep should a septic tank be buried?

Septic tanks are typically buried 4 to 6 feet deep, with the top 1 to 2 feet below ground level. The exact depth depends on your local code and soil conditions. Burying it too shallow risks freezing in cold climates and damage from vehicles. Burying it too deep makes pumping difficult. Your health department will specify the correct depth for your area.