Amazon Cyber Monday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

How to Add Plumbing to a Cargo Container

Converting a shipping container into a cabin, workshop, or off-grid retreat is a popular project, and adding plumbing is what makes it truly livable. This guide walks you through the essential steps to install a functional water supply and drain system in a cargo container, from planning and prep to final connections. Before you start, you’ll need a clear layout of where your sink, toilet, shower, or utility connections will go, and you’ll need to know whether you’ll connect to municipal water/sewer or use a self-contained system with a water tank and septic or holding tank.

What You’ll Need

  • PEX or PVC pipe and fittings (PEX is easier for tight spaces and resists freezing better)
  • Pipe cutter or hacksaw
  • Pipe wrench and adjustable wrench
  • Drill with hole saw bits (for cutting through the container wall and floor)
  • Propane torch or heat gun (if using copper or for bending PEX)
  • Teflon tape or pipe thread sealant
  • Shut-off valves and a main shut-off
  • Water heater (tankless or small tank) if you want hot water
  • Gravity or pump-fed water tank (if off-grid)
  • Drain pipes (PVC) and a vent pipe
  • P-trap for each fixture
  • Insulation for pipes (especially in cold climates)
  • Sealant (silicone or polyurethane) for waterproofing penetrations
  • Hacksaw or reciprocating saw for cutting the container steel
  • Safety gear: gloves, safety glasses, and a respirator (if cutting steel)

Step-by-Step

  1. Plan your layout and check codes. Sketch where each fixture will go. Keep the bathroom and kitchen near each other to share a wet wall. Check local building codes for container homes; many require a licensed plumber for the final connection. Decide on your water source: a municipal hookup, a well, or a storage tank. For waste, you’ll need a septic system, a sewer connection, or a composting toilet (which simplifies things).
  2. Cut openings for pipes. Using a hole saw, cut holes through the container’s steel floor or walls where the water supply and drain lines will enter. For the drain, you’ll need a larger hole (about the size of a dinner plate) to accommodate the pipe and a rubber boot. For water lines, a couple of small holes will do. Always cut from the outside in to avoid jagged edges inside. Deburr the edges.
  3. Install the main water supply line. Run a main supply line from your water source to a central manifold or directly to fixtures. If using PEX, uncoil it and run it along the container’s interior walls, securing it with pipe clips every few feet. If connecting to municipal water, install a main shut-off valve right where the line enters the container. For a tank system, install a pump and a pressure tank before the main line.
  4. Run supply lines to each fixture. From the main line, run hot and cold supply lines to each fixture location. For a sink, you’ll need two lines (hot and cold); for a toilet, just one cold line. Use PEX crimp rings or push-fit fittings to connect to fixture valves. Install individual shut-off valves under each sink and behind the toilet for easy maintenance.
  5. Install the water heater. If you want hot water, mount a tankless water heater on a wall near the fixtures. Connect the cold water inlet and hot water outlet to the respective supply lines. If using a tank heater, place it on a sturdy platform and connect it. Ensure proper ventilation if it’s gas-powered; electric is simpler.
  6. Run the drain lines. For each fixture, install a P-trap and then run a drain pipe (PVC is standard) to a central drain stack. The stack should be at least the size of a standard toilet drain (about the width of a fist) and should slope downward at a gentle angle (about a quarter inch per foot) to allow gravity flow. Use a vent pipe that goes up through the roof or wall to allow air in and prevent siphoning.
  7. Connect the waste outlet. The main drain stack exits through the floor or wall you cut earlier. Connect it to your septic system, sewer line, or holding tank. If using a holding tank, install a macerator pump if the tank is below the drain level. Seal the penetration with a rubber boot and silicone to keep water out.
  8. Install fixtures. Set the sink, toilet, shower, or utility sink in place. Connect the supply lines to the fixture’s shut-off valves, and connect the drain to the P-trap. For a toilet, set it on a flange and bolt it down, then connect the supply line. Test each connection for leaks.
  9. Insulate and protect pipes. In cold climates, wrap all water lines with pipe insulation, especially those running along exterior walls. For the drain, ensure it’s pitched correctly and not prone to freezing. Consider adding heat tape to critical lines if temperatures drop below freezing.
  10. Test the system. Turn on the main water supply and check every joint for leaks. Run water through each fixture and check the drains for proper flow. Look for any drips under the container. Fix any leaks before finishing the interior.

Common Mistakes

  • Incorrect slope on drain pipes. If the drain doesn’t slope enough, water will pool and cause clogs. Too much slope can cause water to run too fast and leave solids behind.
  • Forgetting a vent. Without a vent, drains will gurgle and empty slowly, and sewer gases can enter the living space. Always install a vent that goes outside.
  • Not sealing penetrations. Holes cut in the container’s steel are entry points for water, insects, and rodents. Use a high-quality sealant and a rubber boot to make them watertight.
  • Using the wrong pipe type. PVC for hot water can warp; use CPVC or PEX for hot lines. Also, don’t mix copper and steel fittings without a dielectric union to prevent corrosion.
  • Overlooking freezing. In cold climates, pipes running along the container’s metal walls can freeze quickly. Insulate thoroughly and consider running pipes inside interior walls.
  • Not installing shut-off valves. If a fixture leaks, you’ll have to turn off the whole system. Individual shut-offs save time and water.

Tips

  • Use PEX for supply lines—it’s flexible, easy to run through tight spaces, and less likely to burst if frozen (though it can still split).
  • Keep a wet wall: group all plumbing fixtures on one side of the container to minimize pipe runs and simplify venting.
  • Install a pressure regulator if your municipal water pressure is high; it protects your pipes and fixtures.
  • Consider a tankless water heater to save space—they mount on the wall and heat water on demand.
  • Before cutting the container, check for any existing electrical wiring or structural reinforcements in the walls/floor.
  • Use a rubber grommet or boot around any pipe that passes through the steel to prevent chafing and leaks.
  • Label your shut-off valves so you know which fixture each one controls.

Troubleshooting

  • Leaks at connections. Tighten fittings gently; over-tightening can crack them. If a PEX crimp leaks, cut it out and redo the connection with a new ring. For threaded joints, apply more Teflon tape and ensure the threads are clean.
  • Low water pressure. Check for a clogged inlet filter or a partially closed shut-off valve. If you’re on a tank system, the pump pressure switch may need adjustment. Also, check for kinks in PEX lines.
  • Drains gurgle or smell. This usually means a dry P-trap or a blocked vent. Run water through every fixture to refill traps. If the vent is clogged, clear it from the roof.
  • Water doesn’t drain at all. Check the slope of the drain pipe—it may be sagging. Use a plumber’s snake to clear any obstruction. If the pipe is level, you’ll need to re-pitch it.
  • Frozen pipes. If a pipe freezes, do not use a torch to thaw it—use a hairdryer or heat tape. Leave the faucet open slightly to relieve pressure. Once thawed, check for cracks.
  • Water heater not producing hot water. For electric, check the breaker and the heating element. For gas, ensure the pilot light is lit. If the unit is new, it may need to be purged of air.

Related

Frequently Asked Questions

Q: Can I use PVC for all the plumbing?
A: PVC is fine for drain lines and cold water supply, but for hot water you need CPVC or PEX, as standard PVC can warp with heat.

Q: Do I need a permit to add plumbing to a cargo container?
A: Most jurisdictions require a plumbing permit for any permanent installation. Check with your local building department; they may also require an inspection.

Q: How do I handle waste if I’m off-grid?
A: You can use a composting toilet for black water, and a greywater system (like a leach field or a collection tank) for sink and shower water. Always check local regulations.

Q: Can I run plumbing through the container’s corrugated walls?
A: Yes, but you’ll need to cut through the steel and seal it well. It’s easier to run pipes along the interior wall and hide them in a chase or cabinet.

Q: What’s the best way to prevent pipes from freezing in a container?
A: Insulate all pipes, especially those near the metal skin. Use foam pipe insulation and consider adding heat tape. Also, keep the interior temperature above freezing.

Q: Do I need a vent for every fixture?
A: Not necessarily—you can use a single vent stack that serves multiple fixtures, as long as it’s sized correctly and runs to the outside. A licensed plumber can help you design it.

How to Add Plumbing to a Cargo Container
Scroll to top