Much of the plumbing work in populated areas is regulated by government or quasi-government agencies due to the direct impact on the public's health, safety, and welfare. Plumbing installation and repair work on residences and other buildings generally must be done according to plumbing and building codes to protect the inhabitants of the buildings and to ensure safe, quality construction to future buyers. If permits are required for work, plumbing contractors typically secure them from the authorities on behalf of home or building owners.
Most plumbers, pipefitters, and steamfitters learn their trade through a 4- or 5-year apprenticeship. Apprentices typically receive 2,000 hours of paid on-the-job training, as well as some classroom instruction, each year. In the classroom, apprentices learn safety, local plumbing codes and regulations, and blueprint reading. They also study mathematics, applied physics, and chemistry. Apprenticeship programs are offered by unions and businesses. Although most workers enter apprenticeships directly, some start out as helpers. The Home Builders Institute offers a pre-apprenticeship training program in plumbing and other trades.