Build a Bathroom in a Shipping Container
This guide explains how to build a bathroom in a shipping container. It follows clear steps and includes safety and code notes. Each section gives simple details to help you understand and apply the information. Use this as a reference during every stage of your build.

Key Takeaways
- Plan carefully and get necessary permits before starting.
- Insulate and ventilate well to keep the bathroom comfortable and mold-free.
- Use durable plumbing and electrical materials that meet local codes.
- Reinforce container cuts to maintain structural strength.
- Choose space-saving fixtures and consider accessibility needs.
- Test plumbing pressure at 100–150 psi to avoid leaks.
- Connect utilities safely, whether grid-tied or off-grid.
- Maintain regularly to prevent common issues like mold and frozen pipes.
- Consider upgrades like solar water heating and humidity-sensing fans.
Check and Plan
- Inspect the container for rust, holes, frame damage, or weak floors. A damaged container may need repair before use.
- Decide if you need licensed workers for plumbing, wiring, or structural changes. Hiring professionals for complex work reduces risk.
- Gather tools: grinder, drill, level, welder, PEX tools, safety gear, voltage tester, and cutting blades.
- Plan your time. If supplies are ready, the job may take one to two weeks. A full bathroom build includes design, construction, and inspection.
- Sketch your layout on paper to visualize fixture placement and walking space.
Permits and Codes
- Get building, plumbing, and electrical permits before starting any work.
- Follow your local rules to avoid delays or fines. Contact your city or county office for clear information.
- USA: Use the IRC (International Residential Code) and NEC (National Electrical Code).
- Canada, EU, AU: Follow national or regional building codes and consult professionals if unsure.
- Expect checks at the foundation, plumbing rough-in, wiring rough-in, and final inspection stages. Each step must meet code.
Foundations and Site
- Base choices:
- Concrete slab offers full support, level floor, and easy drainage setup.
- Reinforced piers are better for sites with uneven ground or limited access.
- Level the ground and allow water to drain away from the container.
- Check if your site allows truck and crane access. Delivery may need 15–20 meters of clearance.
- Mark where pipes, sewer lines, and electric conduits will connect under or beside the container.
Layout
- A 20‑ft container is 6.06 m long, 2.44 m wide, and 2.39 m high inside. Know your exact interior dimensions.
- A high‑cube version gives 0.30 m more headroom, which helps with ventilation and lighting.
- Save space with a wall‑hung toilet and corner shower. These leave more open floor area.
- Use a pocket door instead of a swing door to avoid blocking usable space.
- Leave an 810 mm wide door for wheelchairs and easy access. Add grab bars for safety.
- Plan for shelves, towel hooks, and small cabinets to keep supplies organized.
Key Specs
Plumbing
| Item | Size |
|---|---|
| Main water line | 19 mm PEX |
| Branch line | 13 mm PEX |
| Soil stack | 76 mm PVC or ABS |
| Shower drain | 51 mm |
| Sink drain | 38 mm |
| Test pressure | 100–150 psi |
- Use PEX tubing for ease of installation. It bends easily and resists freezing.
- Use ABS or PVC for waste pipes depending on your region’s code.
Electrical
| Region | Voltage | Frequency |
|---|---|---|
| North America | 120/240 V | 60 Hz |
| Europe/Asia | 230 V | 50 Hz |
- Use a 20 A GFCI circuit for outlets. These protect against electric shock.
- Use a 15 A circuit for lights. Add GFCI if local code needs it, especially near water.
- A 30 A sub‑panel may not be needed unless the bathroom has extra power use like heated floors or large fans.
Insulation
| Part | Foam thickness | Approx. R‑value |
|---|---|---|
| Floor, ceiling | 50 mm | R‑12 to R‑14 |
| Walls | 75 mm | R‑18 to R‑21 |
- Use closed-cell spray foam for good moisture control and thermal resistance.
Ventilation
- Aim for 8 full air changes per hour to prevent moisture buildup.
- A 6 m² bathroom with a 2.4 m ceiling needs a fan rated 120 CFM or more.
- Choose a fan with a timer or humidity sensor for better control.
Build Steps
- Cut openings. Use a grinder or plasma cutter. Weld support around any cut longer than 300 mm to maintain container strength.
- Frame the walls with metal studs. These resist moisture better than wood and are easy to install.
- Add plywood to the floor and cement board to wet zones. These create a solid surface for tile or waterproof flooring.
- Install water and drain lines. Use pipe supports and avoid sharp bends. Test with 100–150 psi before covering the pipes.
- Run wires in conduit or behind the panels. Mount outlet boxes at correct heights. Label wires clearly.
- Seal walls in wet zones with waterproof coating. Tile or use vinyl panels for easy cleaning.
- Mount the toilet, sink, and shower. Follow the manufacturer’s instructions. Test all drains and supply lines.
- Paint the walls with mold‑resistant paint. Add mirrors, storage shelves, and lights to finish the space.
Connect Utilities
| Option | Water | Waste | Power |
|---|---|---|---|
| Grid | City line or well | Sewer or septic | Metered 120/240 V |
| Off‑grid | Rain tank with filter | Compost toilet + greywater bed | 2 kW solar with battery |
- Connect each utility safely. Use shut-off valves and check local codes for all utility work.
- Use certified parts to avoid problems or failed inspections.
Cost Guide (US dollars)
| Item | DIY | Contractor |
|---|---|---|
| Container | 2,500 | 2,500 |
| Foundation | 1,200 | 2,500+ |
| Insulation and framing | 1,200 | 2,200 |
| Plumbing parts | 700 | 1,500 |
| Electrical parts | 400 | 1,000 |
| Fixtures | 1,800 | 1,800 |
| Labor | 0 | 4,000+ |
| Total | 7,800 | 15,500+ |
- Costs vary by location, time of year, and labor availability. Always get several quotes.
- Buying used fixtures or doing basic work yourself can lower costs.
Safety Notes
- Use GFCI outlets. These shut off power quickly to prevent shock.
- Some codes also require GFCI lighting in wet areas. Check your local rules.
- Add shut‑off valves under each sink and behind the toilet. This allows fast repairs.
- Treat steel cuts with zinc primer and two coats of paint to prevent rust.
- Use fire‑resistant board for walls and ceiling near wiring or heating.
Maintenance
| Problem | Cause | Fix |
|---|---|---|
| Low flow | Blocked aerator | Clean or replace |
| Bad smell | Poor fan power | Upgrade to stronger fan |
| Frozen pipe | Pipes too close to surface | Add heat tape and insulation |
| Mold | Bad waterproofing | Re‑seal and check ventilation |
- Check fans monthly to keep airflow steady.
- Look for leaks under fixtures every season.
- Repaint or re‑seal areas that show wear.
Upgrades
- Fan with humidity sensor for automatic moisture control
- Solar hot water heater to reduce electric use
- Greywater system to reuse sink and shower water
- Floor with heating cables for comfort in cold areas
- LED lighting with motion sensors to save power
Case Snapshots
| Build | Location | Note |
|---|---|---|
| Surf shack | Australia | Uses rainwater and compost toilet for off‑grid use |
| Airbnb suite | Oregon | Needs extra permits due to short‑term rental rules |
| Mountain cabin | Colorado | Needed crane and frost‑proof piers due to snow load |
- Each example shows how location, climate, and purpose affect the build plan.
Frequently Asked Questions
Can I install a bathtub?
Yes. The floor must support 350 kg when full. Reinforce the floor under the tub using steel or extra joists. Use a compact tub to save space, and make sure your water heater can handle the volume.
Do I need permits?
Most plumbing and electric work needs permits in residential areas. Always check with your local building office before starting. Unpermitted work can lead to fines, delays, or removal orders.
How to stop rust on cuts?
Sand edges smooth. Use a zinc-based primer. Paint with two coats of exterior enamel. Re-check cuts every year and touch up paint if needed to keep moisture out.
What if I lose power?
Use a backup battery or solar panel system. Keep lights and fans on separate breakers. Install motion-sensor or battery-powered LED lights for emergency use.
Can I connect to a septic tank?
Yes. Make sure the slope of your drain lines is at least 2%. Check the size of your septic tank to ensure it can handle bathroom flow.
How do I prevent frozen pipes?
Use PEX piping with insulation. Install heat tape in cold climates. Keep the bathroom heated during winter to prevent burst pipes.
Is a composting toilet a good choice?
Yes, especially for off-grid builds. Choose a certified model. Follow cleaning and emptying instructions to avoid odor or hygiene problems.
What size water heater do I need?
A 20- to 30-liter tank is enough for one or two users. For showers, use an on-demand heater if space is limited or power supply is restricted.
Can I install a washing machine?
Yes, if you plan drainage and water supply carefully. Use a compact front-loading unit. Make sure the floor can support its weight and vibration.
Final Tip
Follow your plan step by step. Use quality materials. Check your work often. Do not rush. A container bathroom can be safe, strong, and long-lasting if built with care.
If you found this guide helpful, please share it with friends or family who might be planning a similar project. Got suggestions or questions? Drop a comment below—your feedback helps improve future guides.
