Electrical – Removing light switch permanently

electricallightswitchwire

I have a light switch that powers an outlet when it's turned on. I want to remove the switch, connect the wires and make the power in the outlet permanently on. In that case, what am I supposed to do with the ground wire that goes into the switch? The outlet is already grounded so can I just cap off the ground wire that goes into the switch?

Best Answer

With the light connected to the outlet it would violate code not to have the switch, if you added a ceiling lamp that was switch controlled then this outlet could be wired hot without violating code.