Most jurisdictions also allow this direct wiring to be protected within non-metallic flexible conduit or tubing.
The outlet is controlled by a wall switch, which is usually located on the wall near the sink.
Cords are not sold with disposals and must be purchased separately.
snyferok / Getty Images
Be sure to use a grounded cord with the appropriate voltage and amperage ratings for your garbage disposal.
On most units, the cover is secured with a single screw.
Remove the screw with a screwdriver and set the pieces aside (you will need them later).
The Spruce / Timothy Thiele
Install a Cord Clamp
Install a cord clamp into the hole near the wiring compartment.
You will have to reach through the wiring compartment to thread and tighten the nut onto the clamp.
If the wiring is solid copper, use the “solid” notches.
The Spruce / Timothy Thiele
Many cords have stripped wires; if so, it’s possible for you to skip this step.
Some cords also have a ground wire with a preinstalled ring connector; leave this intact.
Secure the cord in the clamp by tightening the two screws on the clamp.
Don’t overtighten; the cord should be held securely but not compressed or deformed by the clamp.
Tighten the ground screw with a screwdriver to secure the wire.
Gently tug on each wire to ensure it is secure.
With some disposals, the hot wire lead may be red rather than black.
If so, connect this red wire lead to the black wire in the appliance cord.
Reattach the Wiring Compartment Cover
Carefully tuck the wires into the wiring compartment.
Reinstall the compartment cover, securing it with its screw.
Test the operation of the disposal by flipping the wall switch while running water through the sink.
Running the electrical circuit to power that garbage disposal is another matter.