Question: are junction boxes allowed in attic?
Answer: Yes, junction boxes in attics, suspended ceilings and crawl spaces are legal. Basically, the rule is that ALL wire connections must be accessible. In other words, you can't cut a hole in a wall or ceiling and bury a junction box by covering it with drywall, paneling, tile, or whatever.