Most building codes require dryers to vent outside, but the rule depends on your dryer type and where you live
A standard vented dryer must push hot, moist air outside your home. This is not optional in most places—your local building code almost certainly requires it. The reason is practical: that exhaust carries lint, moisture, and heat. Trapping it indoors creates fire risk, mold risk, and efficiency loss. However, a few dryer types and a few specific situations create exceptions.
If you own a condenser dryer or heat pump dryer, you do not need outdoor venting at all—these models cool and recycle the air internally. If you own a standard vented dryer, you need an outdoor vent unless your local code explicitly permits an indoor alternative (rare). Before you assume your situation is an exception, check with your local building department or a licensed electrician who knows your jurisdiction's rules.
Key Takeaways
- Standard vented dryers must vent outside in nearly all U.S. jurisdictions because building code requires it for fire and moisture safety.
- Condenser and heat pump dryers do not need outdoor venting because they recycle air internally instead of exhausting it.
- Indoor venting into a laundry room or basement is not permitted by code in most places, even with a lint trap or moisture absorber.
- Venting into an attic, crawlspace, or garage is a fire hazard and violates code; the exhaust must exit the building envelope entirely.
- If outdoor venting is impossible in your space, switching to a condenser or heat pump dryer is the code-compliant solution.
Why building codes require outdoor venting for standard dryers
Dryer exhaust is not just warm air. It carries lint particles, moisture from wet fabric, and heat. When you trap that inside your home, three problems follow. First, moisture accumulates in walls, attics, and crawlspaces, creating conditions for mold and rot. Second, lint buildup in ducts and enclosed spaces becomes a fire hazard—dryer fires are among the most common appliance fires in homes. Third, the dryer works harder and uses more energy because it cannot exhaust the heat efficiently.
Building codes in most U.S. states and municipalities require vented dryers to terminate outside the building envelope—meaning the duct must exit through an exterior wall or roof, not into an attic, garage, basement, or laundry room. The International Residential Code (IRC), which many jurisdictions adopt, specifies this requirement. Your local code may be stricter but is unlikely to be looser. If you are unsure whether your area has adopted the IRC or has its own standard, contact your city or county building department.
When you do not need outdoor venting: condenser and heat pump dryers
Condenser dryers work differently from vented models. Instead of exhausting moist air outside, they pull air through the drum, cool it to condense the moisture, and recycle the dry air back into the dryer. The water drains into a tank or directly into a drain line. Because no air leaves the dryer, no outdoor vent is needed. These dryers are common in Europe and are increasingly available in North America.
Heat pump dryers operate on the same principle but with greater efficiency. They use a heat pump to recycle and reuse the thermal energy, which is why they run longer but use significantly less electricity than vented or condenser models. Like condenser dryers, they require no outdoor vent. Both types are code-compliant in any location because they do not exhaust moisture or heat into the home.
The trade-off is cost and drying time. Condenser and heat pump dryers cost more upfront than vented models and take longer to dry a load. However, if your home cannot accommodate an outdoor vent—such as in a condo with no exterior wall access or a basement laundry room far from the outside—one of these models is your code-compliant option.
Indoor venting is not permitted, even with a lint trap
Some people assume that venting a dryer into the laundry room, basement, or garage is acceptable if they add a lint trap or moisture absorber. This is not correct. Building codes do not permit venting a standard dryer indoors under any circumstances. A lint trap catches some particles but not all, and moisture will still accumulate in the room and the walls around it. Moisture absorbers and dehumidifiers can reduce humidity but cannot eliminate the problem or meet code requirements.
If a building inspector finds an indoor vent, you will be required to reroute it outside or replace the dryer with a condenser or heat pump model. It is not worth the risk of mold, fire, or a failed inspection when you are selling or renovating your home.
Venting into an attic, crawlspace, or garage is a code violation
Venting into an attic or crawlspace might seem like a shortcut to "outside," but it is not. The exhaust is still inside your home's building envelope, where it will cause moisture damage, mold, and rot in framing and insulation. Attics and crawlspaces are particularly vulnerable because air does not circulate well in those spaces. Venting into a garage is slightly better because garages are semi-conditioned, but it is still not code-compliant in most jurisdictions and still poses a moisture and fire risk.
The duct must exit the building entirely—through an exterior wall or roof—and terminate with a damper that closes when the dryer is off. This prevents outside air and pests from entering the duct when the dryer is not running.
How to check your local code and plan your vent route
Before you buy a dryer or plan a vent installation, contact your local building department and ask about dryer venting requirements. Tell them whether you have a vented, condenser, or heat pump dryer, and describe your laundry location. They can tell you whether outdoor venting is required and whether your planned vent route (through an exterior wall, for example) is permitted.
If you are renting, ask your landlord or property manager about the building's venting setup. If you are buying a home, have the inspector check whether the dryer vent is properly routed to the outside and whether the duct is in good condition. A poorly installed or damaged vent is a fire hazard and an efficiency problem.
What to do if outdoor venting is not possible
If your home layout makes it impossible to run a duct to the outside—for example, if your laundry is in a basement far from exterior walls, or if you live in a condo with no access to an exterior wall—your options are limited. You cannot legally vent indoors, and you cannot vent into an attic or garage. Your solution is to switch to a condenser dryer or heat pump dryer. Both are code-compliant in any location and require only a drain connection, not an outdoor duct.
This is also the best option if you are renovating a laundry space and want to avoid the cost and complexity of running a vent duct through walls or across your home. The higher purchase price of a condenser or heat pump dryer is often offset by lower energy use over time, and you gain the flexibility to place the dryer anywhere you have access to a drain and an electrical outlet.
Frequently Asked Questions
Can I vent my dryer into the basement if I use a dehumidifier?
No. Building code does not permit venting a standard dryer indoors, even with a dehumidifier running. A dehumidifier reduces humidity but does not eliminate the moisture or meet code requirements. The only code-compliant indoor option is a condenser or heat pump dryer, which does not exhaust moisture at all.
What happens if I vent my dryer into the attic?
Moisture from the exhaust will accumulate in the attic, causing mold, rot, and damage to framing and insulation. This is a code violation and a serious structural risk. The duct must exit the building entirely through an exterior wall or roof.
Do I need a permit to install a dryer vent?
Requirements vary by location. Some jurisdictions require a permit for any vent installation; others do not. Contact your local building department before you start work. If you hire a licensed contractor, they will handle the permit process.
Can I use a flexible duct for my dryer vent?
Flexible ducts are permitted in most codes, but they must be the correct type—rigid or semi-rigid metal ducts are preferred because they resist crushing and lint buildup better. Check your local code and the dryer manufacturer's instructions. The duct should be as short and straight as possible, with no more than two 90-degree bends.
How often should I clean my dryer vent?
Clean the lint trap after every load. Have the entire vent duct professionally cleaned once a year, or more often if you notice the dryer taking longer to dry clothes or if the exterior vent damper is not opening properly. A clogged vent is a fire hazard and reduces efficiency.