To begin with though there is no code violation involved with having a receptacle in your attic space.
Do receptacles in the attic have to be gfci.
Chapter 2 of the national electrical code nec does not specifically exclude outlets.
Where gfcis are required.
Gfci protection is required for 125 volt to 250 volt receptacles supplied by single phase branch circuits rated 150 volts or less to the ground.
Gfci receptacles are required in bathrooms garages crawl spaces basements laundry rooms and areas where a water source is present.
Yep not only allowed it is required if you have hvac in the attic very common here.
Gfci protection can be provided by a gfci receptacle one receptacle will protect others downstream in the circuit and the other protected receptacles should be marked as gfci protected a gfci circuit breaker in the electric panel or a gfci dead front often used for indoor spa tubs and mounted on the wall in the bathroom or.
The nec requires gfcis on all exterior and bathroom receptacles.
The nec requires that all outlet receptacles in a bathroom be gfci protected.
Gfci protection is designed to prevent the shocks that might occur when a ground fault occurs and it can be provided by special gfci outlet receptacles or by a gfci circuit breaker that protects the entire circuit.
No requirement that it be gfci either.
That s because there is an access walkway to it at least there is supposed to be.