
What Is a Sump Pump? How It Works, Types, and Code Rules
What is a sump pump? It is an automatic, electric pump set in a pit below floor level that lifts groundwater, subsoil drainage and other clear water up to a point where it can drain away by gravity, normally to the storm system. Unlike a sewage ejector pump, which lifts sewage and solids from below-grade fixtures to the sanitary drainage system, a sump pump is never meant to handle raw sewage.
What does a sump pump do?
A sump pump empties a pit that gravity drainage cannot reach. To see how the code defines a sump pump, look at Chapter 2 of the 2021 IPC. There a sump is a tank or pit below the normal grade of the gravity system that has to be emptied mechanically. On a basement job, the pump picks up what the perimeter subsoil drains and building subdrains collect and raises it to a level where it can flow away. That is the whole purpose of a sump pump.
The sewage ejector pump does a different job. The UPC defines a sewage ejector as a device that lifts sewage by entraining it on a high-velocity jet of air or water. A sewage pump is any other permanently installed mechanical device that removes sewage or liquid waste from a sump. Both serve fixtures that sit below the sewer, so both must pass solids. Under IPC 712.4.2, a unit taking water closet discharge must handle spherical solids up to 2 inches in diameter, and other units up to 1/2 inch. UPC 710.3 sets 20 gpm minimum capacity for units serving water closets or urinals. It also requires a 1 1/2-inch ball and a discharge of at least 2 inches in single dwelling units, and a 2-inch ball and a discharge of at least 3 inches everywhere else. Other sewage pump and ejector variants the codes recognize include grinder pumps, which need a discharge opening of at least 1 1/4 inches, macerating toilet assemblies serving one water closet, which need at least 3/4 inch, and pneumatic ejectors, which work on air pressure inside the ejector.
Ejector pump vs sump pump
| Sump pump | Sewage ejector or sewage pump | |
|---|---|---|
| What it receives | Subsoil drains, building subdrains, seepage and rainwater. Never raw sewage | Discharge from water closets, urinals and other fixtures below sewer level |
| Solids handling | No solids rating set in the sump pump sections | IPC: 2 in spheres with water closets, 1/2 in otherwise. UPC: 1 1/2 in ball in single dwelling units, 2 in elsewhere |
| Pit cover | Removable cover strong enough for the loads where it sits. IPC does not require a subsoil sump cover to be gastight | Gastight cover (IPC). Bolt-and-gasket manhole or equivalent (UPC) |
| Venting | IPC does not require a subsoil sump to be vented | Vented like a gravity system. UPC minimum 1 1/2 in |
| Where it discharges | Storm drain, approved watercourse or other approved disposal point | Building drain or building sewer |
The difference
Clear water goes to the storm side through a simple pit. Sewage goes to the sanitary side through a sealed, vented basin.
The types of sump pumps the codes name follow the clear water they lift. A subsoil sump takes perimeter subsoil drains that cannot reach their outlet by gravity, and it must have an approved automatic electric pump (UPC 1101.6.2). A building subdrain sump takes building subdrains below public sewer level and lifts its contents automatically (IPC 1112.1, UPC 1101.7). A rainwater sump handles rainwater (UPC 1101.14).
How does a sump pump work?
A sump pump works by sensing the water level in the pit and starting automatically once it reaches a set height. Water flows into the pit by gravity, which is why the IPC and UPC both require every pipe to fall into the pit. The level rises to the starting level, the level control switches the motor on, and the pump drives the water up the discharge line until the level drops and the pump stops. The code cares about where that starting level sits. IPC 712.3.4 says the level control must be set and kept so the water never comes within 2 inches of the invert of the gravity inlet. UPC 710.9 puts it the other way round: the lowest inlet must sit at least 2 inches above the high-water or starting level.
Watch out
A level control set too high lets water back up into the incoming drain before the pump starts. When you set or replace the control, check the start point against the invert of the lowest inlet, not against the rim of the pit.
How to test a sump pump on site:
- Pour clean water into the pit until it reaches the starting level, and confirm the pump starts on its own.
- Watch the rising water and check that the pump starts before the level comes within the inlet clearance set out above.
- Let the pump run until the level drops, and confirm it stops by itself.
- After it stops, check that the water in the riser does not run back into the pit, which would point to a faulty check valve.
Check valve and shutoff valve order on the discharge line
Most pump or ejector discharges need two valves, in a fixed order. The check valve comes first, so water already lifted cannot fall back into the pit each time the pump stops. The shutoff valve goes on the discharge side of the check valve, so you can isolate the line and pull the check valve or pump without draining the riser onto the floor. IPC 712.2 calls the second valve a full open valve. IPC 1113.1.4 asks for a gate valve and a full flow check valve, but in one- and two-family dwellings only the check valve is required. UPC 710.4 allows a backwater or swing check valve followed by a gate or ball valve, and requires that valve to be fullway type with corrosion-resistant working parts. Both valves must be accessible. Under the IPC they sit above the sump cover, or in an access pit with a removable cover where an ejector discharge runs below grade. The layout in this sump pump diagram shows the order.
The rest of the discharge line has its own rules:
- Materials and ratings (IPC 712.3.3.1 and 712.3.3.2): copper or copper-alloy, CPVC, ductile iron, PE or PVC, rated for the maximum operating pressure and temperature and suitable for burial where buried.
- Size (IPC 1113.1.4): pipe and fittings the same size as the pump discharge tapping, or larger.
- Connection (IPC 712.3.5): into a horizontal drain only from the top through a wye, at least 10 pipe diameters from the base of any soil stack, waste stack or fixture drain.
- Service: a union or other approved quick-disconnect so the pump can come out (UPC 1101.6.2), and unions kept accessible for inspection and repair (UPC 710.6).
Pit covers and venting: sealed sewage basins versus clear-water sumps
The cover and vent follow what is in the pit. A basin holding sewage must keep gases in and air pressure equal to the atmosphere. A pit holding only groundwater needs a sound, removable lid. The table sets the rules side by side.
| Pit | Minimum size | Cover | Vent |
|---|---|---|---|
| IPC 712.3.2 sump (Chapter 7) | 18 in diameter, 24 in deep, unless approved otherwise | Gastight, removable, no more than 2 in below grade or floor, rated for expected loads | Vented per Chapter 9 |
| IPC subsoil sump (1111.1, 1113.1.2) | 18 in diameter, 24 in deep, unless approved otherwise | Removable, rated for expected loads, gastight not required | Not required |
| UPC sewage sump or receiving tank (710.8, 710.10) | No figure given | Watertight tank with a substantial cover that has a bolt-and-gasket manhole or equivalent opening | Vent pipe from the top, through the roof on its own or combined with other vents where permitted, sized from Table 703.2 and never under 1 1/2 in |
| UPC subsoil sump (1101.6.2) | 15 in diameter, 18 in deep | Fitted cover | No vent rule given |
For sewage pumps and ejectors other than pneumatic, the IPC sizes the sump vent from IPC Table 906.5.1 by pump discharge rate and developed length. For example, a 1 1/4-inch vent has no length limit at 10 gpm but is not permitted at 150 gpm. A pneumatic ejector's air pressure relief pipe must run to its own vent stack through the roof and be at least 1 1/4 inches. The UPC likewise keeps the vent from an air-operated ejector separate from all other vents.
Where clear sump water may and may not discharge
Clear water belongs in the storm system, not the sanitary sewer. UPC 1101.3 bars storm water from sewers meant for sanitary drainage. UPC 714.2 bars rain, surface or subsurface water from any drainage system unless the Authority Having Jurisdiction approves it first. UPC 1101.6.1 sends subsoil drains to a storm drain, an approved watercourse, the street curb or gutter, or an alley. Where a continuously flowing spring or groundwater is found, only a storm drain or approved watercourse will do. Under IPC 1111.1, subsoil drains go to a trapped area drain, a sump, a dry well or an approved location above ground. Where the public sewer is combined, IPC 703.6 still requires the sanitary sewer to connect to it independently.
Warning
Never tie a sump discharge into a floor drain, laundry standpipe or sanitary stack because it is the closest pipe. Under the UPC that needs prior approval from the Authority Having Jurisdiction, and storm water into a sanitary sewer is prohibited outright.
Check yourself
You are piping a sewage ejector in a small office under the 2021 UPC. Which discharge arrangement meets the code?
- Check valve first, then a fullway gate or ball valve on its discharge side, connected into the top of the horizontal building drain through a wye
- Fullway ball valve first, then the check valve, connected into the side of the building drain
- Check valve only, with the vent tied into the nearest storm leader
- Check valve and gate valve, discharging into the storm drain to keep load off the sanitary sewer
Duplex pumps and alarms for public use buildings
Where many people depend on one pit, one pump is not enough. UPC 710.9 requires sewage sumps and receiving tanks in a public use occupancy to have two pumps or ejectors. They take turns in normal service, and either one can run on its own if the other fails or the inflow overloads one unit. These pumps must have a readily accessible audible and visual alarm that signals pump failure or overload. UPC 1101.14 applies the same two-pump, alternating arrangement to rainwater sumps in public use buildings. It also requires pumps rated 600 V or less to comply with UL 778 and to be installed to the manufacturer's instructions. For storm drainage sumps and pumping systems under IPC Section 1113, IPC 1113.1.3 requires electrical outlets, where required, to meet NFPA 70.
Frequently asked questions
What does a sump pump look like on site?
Usually you see a covered pit set into the basement floor, with a discharge pipe rising out of it. In the pit sits the pump, resting on the solid bottom the code requires for permanent support. The riser carries a check valve, a shutoff valve and often a union before it heads to its discharge point.
What is a sump pump used for besides basement groundwater?
Codes call for a pumped sump wherever clear water cannot drain by gravity. That includes building subdrains below public sewer level, subsoil drains around basements and crawl spaces, and rainwater sumps. Under UPC 1101.8, basement entrance areaways of up to 100 square feet drain like subsoil drains, so where they cannot reach their outlet by gravity they also end up in the sump.
Can a house sump pump discharge onto the ground instead of a storm drain?
Under UPC 1101.6.3, a separate dwelling that is not serving a continuously flowing spring or groundwater may discharge onto a concrete splash block at least 24 inches long. The pipe must end within 4 inches of the block and point the flow along it. A UPC subsoil sump pump must also deliver at least 15 gpm through discharge pipe of at least 1 1/2 inches.
Disclaimer: The information provided in this educational content has been prepared with care to reflect current regulatory requirements for continuing education. However, licensing rules and regulations can vary by state and are subject to change. While we strive for accuracy, ExpertCE cannot guarantee that all details are complete or up to date at the time of reading. For the most current and authoritative information, always refer directly to your state’s official licensing board or regulatory agency.


