Every big rain, I hear the same complaint: "the GFCI tripped and my basement flooded, why does code make me do this?" Here's how I explain it.
Current code editions want GFCI protection on basement receptacles, and the old exception that let a single dedicated sump receptacle skip it went away several cycles back. Check which code edition is in effect for your permit, because an older install may have been legal when it went in.
A GFCI that trips on a sump pump is usually telling you something. Pumps sit in water, and as they age the windings and cords leak current. That leak is exactly the thing that kills people in wet basements.
So the answer I give isn't "remove the GFCI." It's: put a high-water alarm in the pit, think hard about a battery backup pump, test the GFCI and the pump before storm season, and replace a pump that keeps tripping it. Not legal advice, just how I'd look at it after too many flooded basements.
Electrical inspector (former contractor) · 26 years · Ocean County, NJ
Mentor
Good question. Depending on the pump, the code edition and what your local office accepts, hardwiring can change the analysis, but most pumps are cord-and-plug so they can be swapped fast at 2am. Ask the inspector before you plan around it. I wouldn't treat it as a loophole.
Electrical Contractor · 22 years · Monmouth County, NJ
Mentor
Honestly I'm torn on this one and I'll say it. After Ida I had three customers with flooded basements, and every one was a tripped GFCI on the sump. I install it the way the code says, but I push the alarm and the backup pump hard, because a GFCI by itself is a bad plan in a basement that floods.
Plumber's side: half the pumps I pull that were tripping GFCIs have a cord that's been sitting in water or a motor on its way out. Replace the pump, check the check valve while you're there, and the trips go away. A good pump tripping a good GFCI is rare.