No it s never a good idea to have any exhaust fan in your home dump all that hot moist air in your attic.
Exhaust fan into roof space.
It can cause you a lot of problems with mold and mildew forming on the underside of your rafters and decking as well as getting into your insulation.
Hot air exhaust vents located at the peak of the roof allow hot air to escape.
If you vent the bathroom exhaust fan to close to the soffit vents which are vented plates under your homes outer edge and roof your home the air can be sucked right back into the attic from the soffit.
Sometimes there s no choice but to do that especially in terrace homes where space is limited.
Certainly it is improper to terminate any exhaust vent directly into an attic or roof space.
Several different ways you can move that hot air to the outside.
Same thing with kitchen rangehoods.
Dumping bathroom exhaust into an attic or under roof space invites costly mold contamination frost under the roof in freezing climates moisture damage to roof sheathing possibly even plywood delamination or rot roof failures and shorter roof shingle life.
Also some readers have worried that discharging a bath exhaust vent down through a soffit will permit moisture to rise back up into the attic or roof space if the soffit and roof cavity are vented.
Looking forward to moving out of a rental that has the kitchen rangehood vented into the wall cavity.
As the air leaves it creates negative pressure behind it sucking in cool air from below into the soffits and creating a self repeating ventilation process.
This involves running ductwork from the fan usually though an attic and out through the roof.
Having a new house built and have found that the bathroom exhaust fans vent into the ceiling space.
Once inside the air heats up and rises higher ultimately exiting through venting at the roof s gables through ridge vents cut into the roof s apex or other vent holes in the roof.
In order to accomplish this the roof has to have a hole cut in it.
It may also violate a shingle warranty.
Intake vents located at the lowest part of the roof under the eaves allow cool air to enter the attic.