Bathrooms – All bathroom receptacles should have GFCI outlets installed. Garages & Sheds – Any area inside or outside of the house that is not considered a "habitable" room should include GFCI outlets. … As a rule of thumb, any outlet within six feet of the sink should be a GFCI outlet.
Every bathroom must have at least one electrical outlet. It must be a GFCI, and it must be within 3 feet of the edge of the sink. Either behind or beside the sink is acceptable — across from the sink on an opposite wall is not. If the bathroom has two sinks, each must have an electrical receptacle within 3 feet.
HOW TO INSTALL A GFCI OUTLET
2017 NEC Changes: GFCI Protection for Personnel
GFCI Protection Requirements [210.8, 2020 NEC]
Frequently Asked Questions
Do you have to have a GFCI under the sink?
It must be a GFCI, and it must be within 3 feet of the edge of the sink. Either behind or beside the sink is acceptable – across from the sink on an opposite wall is not. If the bathroom has two sinks, each must have an electrical receptacle within 3 feet. Beside above, can you put an outlet under a sink?
Do you have to have a GD under the sink?
The code commentary explicitly says a fridge receptacle within 6' of the edge of the sink must be GFCI, so a GD certainly meets that test. Now, a hardwire GD would be exempt. I think 2014 requires outlets under the sink to be GFCI. Any outlet within 6' is required by 210.8 (7).
Do you have to be GFCI protected for a dishwasher?
There are no requirements in National Electrical Code (NEC) that a residential disposal must be GFCI protected. It also requires GFCI protection for receptacles within 6' of a sink, but only sinks not in a kitchen. The 2014 edition added 210.8 (D), which requires dwelling unit dishwashers to be GFCI protected. Can you put a socket under a sink?