How to Install a Sump Pump (and Backup Options)

A sump pump is quiet insurance against a wet basement. Groundwater collects in a pit below the floor, and when the water level rises, the pump pushes it outside before it can spread across your basement. If your basement has ever taken on water during a heavy storm, a properly installed pump is the difference between a dry floor and a ruined one.
This guide walks you through the full installation: choosing the pit location, sizing the pump, setting it level, plumbing the discharge with a check valve, and wiring it safely. It also covers the two backup options worth considering, because the storms that flood basements are exactly the storms that knock out power.
| Main parts | Sump pit (basin), pump, float switch, check valve, discharge pipe |
|---|---|
| Typical pump size | 1/3 to 1/2 horsepower for most homes |
| Pit size | About 18 inches wide and 22 to 30 inches deep |
| Discharge distance | At least 10 feet from the foundation, sloping away |
| Power | Dedicated GFCI-protected outlet; never an extension cord |
Choose the Pit Location and Pump Size
The pit goes at the lowest point of the basement floor, where water naturally collects, and most homes need a 1/3 or 1/2 horsepower pump.
Start by watching where water enters during rain. The pit belongs in that low corner, close to a wall so the discharge pipe has a short, straight run outside. If your home already has a perimeter drain tile, the pit should sit where that tile can drain into it. Mark the spot and confirm there are no supply lines or drains buried where you plan to dig.
For a bigger picture of how this fits your drainage system, read the complete guide to home plumbing systems before you cut into the floor.
Dig the Pit and Set the Basin
Dig a hole slightly wider and deeper than the basin, line it with gravel, and set the basin flush with the finished floor.
Break through the concrete with a rented jackhammer or a heavy sledge, then dig the hole about 6 inches wider than the basin and a few inches deeper. If you hit the perimeter drain tile, position the basin so the tile ends inside it. Many basins come pre-drilled with inlet holes; if yours does not, drill several 1/4-inch holes in the lower half.
Pour 3 to 4 inches of washed gravel into the bottom of the hole and level it. The gravel bed keeps the basin stable and lets water move freely toward the pump. Lower the basin so its rim sits flush with the floor surface, then backfill around it with more gravel up to a few inches below the rim.
Set the Pump and Fit the Check Valve
Set the pump on a flat block inside the pit so it sits level, then fit a check valve on the discharge pipe to stop water flowing back.
Place a flat paver or brick under the pump so it never sits in the silt that collects at the bottom of the pit. The pump must sit level; a tilted pump can bind the float switch against the pit wall, and a stuck float is the most common reason sump pumps fail. Test the float by hand and make sure it travels freely through its full range.
Attach the discharge pipe, usually 1 1/2-inch PVC, to the pump outlet with a threaded adapter. About 12 to 18 inches above the pump, install the check valve with its arrow pointing away from the pump. The check valve keeps the column of water in the pipe from draining back into the pit every time the pump stops, which would force the pump to re-pump the same water and wear it out early.
Run the Discharge Line Outside
Run the discharge pipe up and out through the rim joist, then extend it at least 10 feet from the house, sloping down away from the foundation.
The vertical pipe rises from the pit to the rim joist, where it turns and exits through the wall. Seal the hole around the pipe with caulk or foam so outdoor air and pests stay out. Outside, the line should pitch downward continuously; any low spot will hold water that can freeze in winter and block the discharge completely.
End the line at least 10 feet from the foundation, farther if your lot allows it, and never connect it to a sewer line or septic system. Dumping sump water into a sewer is illegal in most places and overloads the system during storms. The termination rules in common plumbing code requirements are worth checking before you choose the exit point.
Add a Backup Pump for Power Outages
A battery backup pump or a water-powered backup keeps the pit draining when the power fails, which is when flooding risk is highest.
Your main pump runs on house power, and house power fails most often during the same storms that fill your pit fastest. A battery backup system pairs a smaller 12-volt pump with a deep-cycle battery and a charger. It switches on automatically when the main pump cannot run or cannot keep up, and a good battery can cycle for hours. Test it twice a year and expect to replace the battery every 3 to 5 years.
Whichever you choose, install a high-water alarm as well. The alarm is cheap, loud, and often the only warning you get before water reaches the floor. Once the system is in, learn how to test and maintain a sump pump so the backup is ready when you actually need it.
Test the System and Know When to Call a Pro
Test the finished installation by filling the pit with water and watching two full pump cycles before you call the job done.
Budget-wise, a pump itself typically costs $100 to $400, a basin and piping add $50 to $150, and a battery backup system adds $250 to $600. Professional installation of the whole system usually runs $800 to $2,500 depending on whether a new pit must be cut into the floor. This project sits comfortably inside the skills covered by our plumbing installation guide, but there is no shame in stopping halfway.
Stop and call for help if you strike a drain line while digging, if the pit fills faster than any residential pump can handle, or if the job needs new electrical work beyond plugging into an existing GFCI outlet. For excavation, drainage, or electrical complications, professional plumbing services can finish the installation safely and to code.
Frequently asked questions
Do I need a permit to install a sump pump?
In many areas a basic pump swap needs no permit, but cutting a new pit, adding electrical work, or changing discharge routing often does. Check with your local building department before you start digging.
How deep should a sump pit be?
Most residential basins are 22 to 30 inches deep, which gives the float switch room to cycle without short, frequent starts. The rim should finish flush with the basement floor.
Can I discharge sump water into my sewer or septic line?
No. Most codes prohibit it because storm volumes overwhelm sewers and septic systems. Discharge to the yard at least 10 feet from the foundation, sloping away from the house.
How long does a sump pump last?
A typical pump lasts about 7 to 10 years with regular testing. Pumps that cycle constantly in a high water table wear out faster, which is one reason a backup system matters.
What size pump do I need for my basement?
Most homes do well with 1/3 horsepower. Step up to 1/2 horsepower if the discharge lift is over about 10 feet or the pit fills very quickly during heavy rain.
Plumbing Fix Daily

