Yep not only allowed it is required if you have hvac in the attic very common here.
Do receptacles in the attic have to be gfci.
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.
The nec requires that all outlet receptacles in a bathroom be gfci protected.
Chapter 2 of the national electrical code nec does not specifically exclude outlets.
To begin with though there is no code violation involved with having a receptacle in your attic space.
No requirement that it be gfci either.
Where gfcis are required.
Gfci receptacles are required in bathrooms garages crawl spaces basements laundry rooms and areas where a water source is present.
Older homes are not required to have gfci outlets unless the wiring is being updated but it s a good idea to install them anyway.
Is that true in cases where there s hvac equipment in the attic.
That s because there is an access walkway to it at least there is supposed to be.
The nec requires gfcis on all exterior and bathroom receptacles.