There is no universal answer to this question, as different municipalities have different requirements when it comes to bathroom fans. In general, however, some codes require a bathroom fan if the bathroom reaches an indoor air quality specification that is lower than the regional indoor air quality standard.