You must vent the electric dryer to prevent health hazards. According to state laws, venting electric dryers is important to prevent health hazards.