Skip to content
24-Hour Plumbing Service • Always On Time • Nights & Weekends
plumbing

What Is Plumbing? History, Types, Components and How It Works

By Jerry Morrow October 25, 2026 17 min read Updated November 20, 2026

Plumbing is the system of pipes, valves, fixtures and apparatus installed inside buildings to bring in potable water and carry wastewater out. The word comes from the Latin plumbum, meaning lead, because water pipes were made of lead from Roman times onward. Everything from the kitchen faucet to the toilet, water heater and the hidden drain lines behind walls belongs to this network. Its job is simple to state: deliver clean fluids where people need them and remove used water safely.

Plumbing is different from municipal water and sewer systems, which serve whole communities through public mains and treatment infrastructure. Building plumbing begins where the utility connection ends and manages distribution and disposal only within one structure. That boundary matters for maintenance, because owners handle problems inside the property while utilities handle the public network. Trained plumbers install and repair these systems under codes designed to protect health, safety and efficiency.

What Does Plumbing Include?

Plumbing includes two core parts: a water supply system that brings clean water in and a drain-waste system that removes used water. Residential plumbing also covers waste, drain and sewer lines, water heaters and fixtures, so it extends well beyond the visible pipes. Vents belong to the drainage side, letting air move through the pipes, and some homes add hydronic piping for heating and cooling. Together these elements form a complete loop from clean intake to safe disposal.

The supply side ends at a clear boundary. Water companies deliver mains to a point just outside the property line. From the connection onward, the pipes inside the property are building plumbing, which is why a service line problem and a municipal main break are treated differently. Knowing where responsibility changes helps owners decide whom to call when water pressure drops or a leak appears. This division also explains why plumbing codes focus on what happens inside and around the structure.

Fixtures and fittings are often confused, yet they do different jobs. Fixtures are the points of use, such as sinks, toilets, tubs and showers. Fittings are the small connecting parts, including elbows, tees and couplings, that join sections of pipe and change direction or size. A faucet is something you operate, while a fitting quietly links one length of pipe to the next inside a wall. Both are part of plumbing, and both can be sources of leaks if worn or poorly installed.

When Was Plumbing Invented?

Plumbing has no single inventor, but the oldest known systems probably appeared in the Indus Valley around 2700 BC, using clay pipes. Romans later built extensive water conveyance and drainage networks, and their lead pipes gave plumbing its name. These early systems focused on moving water to where people lived and carrying waste away, the same basic goals plumbing serves today. Technology changed, but the central idea of separating clean supply from waste has remained constant.

The modern form of plumbing took shape in the 19th century, which brought indoor plumbing, sanitary sewers and water treatment facilities. Materials changed as well. Lead, once common for water pipes, was recognized as a health hazard and gradually replaced. Today copper, PEX and PVC are the familiar choices, each suited to certain jobs within a building. That shift from toxic metal to safer materials is one of the clearest improvements in the history of the trade.

When Did Indoor Plumbing Become Standard?

Indoor plumbing became standard gradually, with modern indoor systems and sanitary sewers developing in the 19th century, though adoption dates differ by country and community. For that reason, a single worldwide year cannot be given with confidence. Timing depended on when local water and sewer service arrived. Where public systems were built early, households connected sooner; elsewhere, wells and privies remained common for much longer. Any date you read should therefore be tied to a specific place.

The change was a move from outdoor privies and wells to supply pipes and drains located inside the home. Instead of carrying water from a yard pump and emptying waste outside, residents could draw water at a tap and flush waste into a sewer. This reduced daily labor and, just as importantly, kept human waste away from drinking water sources. The improvement in sanitation was as significant as the added convenience.

Public water systems were a major driver of adoption. A house cannot easily have indoor supply without a reliable source delivering clean water to its boundary. Sanitary sewers played the matching role by giving wastewater somewhere safe to go once it left the building. Plumbing built on one of these without the other would have solved only half the problem. Utility expansion and household plumbing therefore grew together.

Codes also shaped the transition by setting expectations for materials, installation and safe separation of supply and drainage. As standards spread, indoor plumbing shifted from a luxury to an expected feature of a habitable building. Rules about licensed work and approved methods helped make installations more consistent and safer over time. Even today, local codes and utility availability determine how a given property is plumbed.

What Are the Main Types of Plumbing Systems?

A home has two main plumbing systems, water supply and drainage, and they are kept separate for health and safety. Most municipalities, by contrast, operate three: potable water, sanitary drainage and stormwater drainage. Venting is a part of the drainage side, while hydronics adds a further subsystem where heating or cooling water circulates through pipes. The table below summarizes how these subsystems differ in purpose.

System Purpose
Potable water supply Delivers clean water
Sanitary drainage Removes wastewater
Venting Admits air, releases gases
Hydronics Heating and cooling circulation

Residential plumbing covers waste, drain and sewer lines, water heaters and fixtures, usually at a modest scale serving one household. Commercial buildings use the same principles across more fixtures, longer pipe runs and heavier demand, so planning and capacity matter more. The underlying logic does not change: pressurized clean water in, gravity-driven waste out. Larger systems simply multiply the number of connections and the importance of keeping them organized.

Keeping the systems separate prevents contamination. Clean supply pipes must never mix with drain lines carrying waste. Devices such as backflow preventers and traps reinforce this separation at points where the two sides come close, such as fixtures. Stormwater is handled apart from sanitary waste at the municipal level, so rain runoff does not overload sewage treatment. Understanding these divisions makes it easier to see why each pipe in a building has a specific role.

How Does the Water Supply System Work?

The water supply system uses pressure from a city main or private well to push clean water through pipes to fixtures. The main line enters the home, passes the water meter and then splits into separate hot and cold lines. Because the supply is pressurized, water can travel upward, around corners and to distant rooms rather than relying on gravity. That pressure is what makes a tap deliver water instantly when opened.

A shutoff valve sits before and after the water meter, letting you stop the flow into the house or isolate the meter. Knowing where the main shutoff is can limit damage if a pipe bursts or a fixture fails. Additional valves at individual fixtures allow smaller repairs without cutting water to the entire home. Pressure regulators and backflow preventers help keep delivery safe and controlled.

The hot branch runs to a water heater, which warms water to about 120 degrees before it travels on to showers, sinks and appliances. The cold branch bypasses the heater and serves fixtures directly, so both lines arrive at a faucet side by side. Each line remains sealed and pressurized until a valve opens, which is why a leak shows up as lost pressure or damp spots. Together the two lines give every fixture a controlled mix of hot and cold water.

How Does the Drainage System Work?

The drainage system moves wastewater away using gravity and venting rather than pressure. Drains begin at fixtures and run to the main drain. Pipes are sloped downward so water and waste keep moving toward the sewer or septic system. If a drain were level or tilted the wrong way, waste would linger, collect solids and eventually clog. Slope is therefore a basic design requirement, not a detail.

Air pressure works alongside gravity. Drain pipes need air behind the flowing water so it can move smoothly instead of creating suction. Vents supply that air and also release gases from the system, keeping flow steady and preventing slow, gurgling drains. Without balanced air, water leaving one fixture could pull water from the trap of another. Gravity alone is not enough; the system depends on air as well.

Traps are curved sections of pipe beneath fixtures that hold a small amount of water. This water seal blocks sewer gases from entering rooms. Every sink, tub and shower has one, and a toilet has a trap built into its design. Because the seal is just standing water, it can evaporate in rarely used drains, which lets odors escape. Running water periodically refills it and restores protection.

Cleanouts and stacks complete the drainage layout. A stack is a vertical pipe collecting waste from fixtures on different levels. Cleanouts are access points where a plumber can open the line to clear a stoppage or inspect it. Without them, reaching a blockage might require cutting into pipes or walls. Together, slope, traps, vents, stacks and cleanouts let wastewater leave a building reliably and with minimal odor.

What Is a Plumbing Vent and Why Does It Matter?

A plumbing vent is a pipe, usually running up through the roof, that admits air into the drain system and releases sewer gases. The drain vent system connects to the drain pipe and lets air in and out so pressure stays balanced. This keeps wastewater flowing and prevents trap siphoning, where moving water pulls the seal out of a trap. Venting also keeps sewer gas from entering living spaces.

A poorly vented system gives clear warning signs: slow drains, gurgling sounds, odors and traps that run dry. These symptoms occur because water cannot move freely and trap seals are drawn down or disturbed. Since the cause may be a blocked vent rather than a clogged drain, plain plunging or cleaning may not fix it. A plumber can trace the vent route and determine where airflow is restricted.

What Are the Key Components of a Plumbing System?

The key components of a plumbing system are pipes, valves, fittings, fixtures, traps, water heaters and backflow preventers, each with a distinct job. The supply system includes main supply lines, distribution pipes and pressure regulators that bring water in at a usable pressure. Drain lines carry waste out, with traps creating water seals beneath fixtures. The list below sums up what each part does.

  • Pipes: carry water and waste
  • Valves: control or isolate flow
  • Fittings: connect pipe sections
  • Fixtures: points of use
  • Traps: block sewer gas
  • Backflow preventers: protect clean water

Valves control flow and pressure and let you isolate sections for repairs, so one leaking fixture does not require shutting off the whole house. Fittings join pipe sections and change direction or size; common types include elbows, tees, connectors and reducers. They are commonly made of plastic, brass or copper, chosen to match the pipe they connect. Fixtures, by comparison, are the sinks, toilets and tubs where water is actually used.

Backflow preventers protect the potable supply from contamination by stopping water from reversing direction toward the clean source. Water heaters add the hot side of the supply, warming water for fixtures and appliances. Several of these parts are safety devices rather than conveniences, so they are required in specific situations by code. Understanding them helps owners describe problems accurately and recognize which part is involved.

Which Pipe Materials Are Used and Why?

Copper, PEX and PVC are the main modern pipe materials, each matched to a particular job, while lead was phased out for health hazards. Copper is durable and corrosion-resistant, so it is used for hot and cold supply lines. PEX is flexible and easy to install, making it suited to water supply runs. PVC is lightweight and easy to install, and it is used for drain, waste and vent systems.

Choosing a material depends on several factors: whether the pipe serves supply or drainage, whether it carries hot or cold water, and what local code approves. A material that works well for a drain may not be appropriate for pressurized supply. Ease of installation also influences choices, since flexible or lightweight pipe can speed work in tight spaces. The table gives a quick comparison.

Material Typical use
Copper Hot and cold supply
PEX Flexible supply lines
PVC Drain, waste and vent

Lead pipes were replaced because of the health hazards they posed to drinking water. Their long use dates to Roman times, which is why the metal gave plumbing its name. Modern materials avoid that risk, and codes steer installers toward approved options. Older buildings may still contain historic pipe, which is a reason to have aging plumbing evaluated by a professional.

How Does Plumbing Work Together in a Home?

Plumbing works together by bringing clean water to fixtures through the supply system and sending used water out through drains, traps, vents and the sewer. The main water line connects the home to the municipal supply or a private well. From there, pressurized hot and cold lines reach each point of use. Supply and drain systems meet only at fixtures, where water is used and then drained.

Follow one glass of water through the house: it enters through the main line, passes the meter, flows to a faucet and drops into the sink. The sink drain carries it through a trap, which holds a water seal, and into a drain pipe sloping toward the main drain. A vent lets air in so the water leaves smoothly, and the wastewater ends up in the sewer or septic system. Each part supports the next, so a fault in one can affect the others.

Kitchens and bathrooms often group fixtures close together so they can share drains and vent lines, which keeps pipe runs shorter and installation simpler. Installation follows stages, with rough-in placing pipes inside walls and floors before they are covered. The finish stage then adds fixtures like faucets, sinks and toilets and connects them to the waiting pipes. Planning layouts around grouped fixtures is one reason plumbing is concentrated in specific areas of a home.

Who Are Plumbers and What Codes Govern Plumbing?

Plumbers are tradespeople who install, maintain and repair plumbing systems, typically after completing an apprenticeship and earning certification. Their work spans new construction, repairs, fixture installation and the diagnosis of leaks, clogs and venting problems. Residential jobs often focus on household supply and drains, while commercial work involves larger systems. Regulations require plumbing work to be done by licensed professionals in many cases.

Plumbing codes in the United States are based on two national models: the International Plumbing Code (IPC) and the Uniform Plumbing Code (UPC). States adopt codes that are often based on one of them, adding regional requirements to suit local conditions. That means rules can differ between jurisdictions, and the local version is the one that applies to a project. Licensed plumbers are trained to work within those requirements.

The purpose of these codes is health, safety and efficiency. They specify how supply and drainage must be kept separate, which materials are acceptable and how systems should be installed. Following them protects drinking water from contamination and reduces risks like sewer gas entering rooms. They also support efficient use of water in both homes and commercial buildings. For owners, this is a strong reason to use qualified professionals for anything beyond minor tasks.

How Can You Maintain Plumbing and Spot Problems Early?

You can maintain plumbing by regularly checking pipes and fixtures for leaks and pressure changes, keeping drains clear and protecting equipment from wear and cold. Use strainers to catch debris, avoid flushing items that do not belong in a toilet, and drain the water heater as part of upkeep. In cold weather, protect exposed pipes from freezing. Run water occasionally in seldom-used tubs, sinks, showers and floor drains. That prevents dried-out traps, which let sewer gas seep out.

  • Check for leaks and pressure changes
  • Use drain strainers
  • Drain the water heater
  • Protect pipes in cold weather
  • Run water in unused drains

Warning signs include slow drains, repeated clogs, and water backing up in sinks, showers or toilets, as well as a sewer gas smell. These symptoms can point to blockages, venting problems or dry traps, so tracking which fixtures are affected helps narrow the cause. Call a plumber for extensive problems, such as backups in several fixtures or persistent odors. Early attention is usually simpler than repairing damage after a pipe fails.

What Are the Most Common Plumbing Problems?

The most common plumbing problems are clogged drains, leaks, running toilets, low water pressure, water heater issues, and frozen or burst pipes. Most start small and get more expensive the longer they continue.

Problem Typical cause Related guide
Clogged drain Hair, grease, soap scum, or foreign objects
Leaking pipe or fixture Worn washers, loose fittings, corrosion, or cracks
Running toilet Worn flapper or fill valve
Low water pressure Mineral buildup, a partly closed valve, or pipe corrosion
No hot water or lukewarm water Failed heating element, thermostat, or pilot light
Frozen or burst pipes Cold weather, poor insulation
Sewer backup Main line clog, tree roots, or pipe damage

Simple problems, like a minor clog or a dripping faucet, are often safe for homeowners to try fixing. Anything involving gas lines, the main sewer line, hidden leaks, or a failed water heater tank is better handled by a licensed plumber, since mistakes in those areas can cause serious damage or safety risks.

Frequently Asked Questions About Plumbing

What Is the Main Purpose of Plumbing?

The main purpose of plumbing is to deliver clean water to a building and remove wastewater safely. It supports drinking, cooking, bathing, laundry, and sanitation, and it protects health by keeping clean water and waste separate. A good system also protects the building from water damage.

What Are the Main Parts of a Plumbing System?

The main parts of a plumbing system are the water supply pipes, fixtures, valves, drain pipes with traps, vent pipes, and a water heater. Together they handle water coming in, hot water, drainage, and air balance, with the sewer or septic connection carrying waste away.

What Is the Difference Between Water Supply and Drainage?

Water supply brings clean water into a building under pressure, while drainage carries used water out by gravity. Supply pipes are sealed and pressurized, so they can run in any direction. Drain pipes slope downward and connect to vents so wastewater can flow freely.

How Long Does a Plumbing System Last?

A plumbing system’s lifespan depends mostly on pipe material, water quality, and maintenance. Copper supply pipes commonly last 50 to 70 years, PEX about 40 to 50 years or more, and cast iron drains 50 to 100 years. Galvanized steel often fails sooner, around 20 to 50 years.

What Does a Plumber Do?

A plumber installs, repairs, and maintains the pipes, fixtures, and appliances that make up a plumbing system. Typical work includes finding and fixing leaks, clearing clogs, installing water heaters and fixtures, and testing systems for leaks and proper operation. Licensing requirements vary by state and city.

What Does DWV Mean in Plumbing?

DWV stands for drain, waste, and vent. It describes the part of a plumbing system that carries wastewater out of a building and lets air in so drains flow properly. Drain and waste pipes carry the water, and vent pipes balance pressure and release sewer gases above the roof.

Who Sets the Rules for Plumbing Work in the United States?

Plumbing codes set the rules, and the two most widely used model codes are the Uniform Plumbing Code and the International Plumbing Code. States, counties, and cities adopt and amend them, so requirements for permits, materials, and inspections differ by location. A local building department can confirm what applies.

Is Plumbing the Same as Piping?

Not exactly. Plumbing focuses on water supply, drainage, and fixtures inside and around buildings, while piping is the broader term for any system of pipes carrying fluids or gases. Industrial settings often use piping for chemicals, steam, or process fluids, which falls outside typical building plumbing.

Get Professional Plumbing Help

If you’re dealing with a plumbing problem or want to understand what’s behind your walls, Anaheim Plumbing can inspect your system and explain your options.

Need help with plumbing systems?

Explore the relevant services available from Anaheim Plumbing.

Share this plumbing guide Send it to someone who may find it useful.
AP
Written by

Jerry Morrow

Jerry Morrow started Anaheim Plumbing back in 2006, bringing with him years of hands-on experience from the trade. His goal was straightforward: give homeowners a plumber they could actually trust, with upfront pricing, clear communication, and work done right the first time. These days, Jerry oversees the team's projects across Anaheim and the surrounding areas, from routine repairs and drain cleaning to full water heater installs and repiping jobs.