Step 1
Cut the plug from the lamp cord with wire cutters. Remove 3 inches of insulating plastic from both strands of the cord with wire strippers. Wrap a section of electrical tape around the wire that was connected to the wider prong of the plug -- this is the neutral wire.
Step 2
Turn off the main power supply to the home to avoid electrical shock while hard-wiring the lamp. Remove the screw from the electrical outlet cover with a screwdriver and set the outlet cover and screw aside.
Step 3
Drill a 1/4-inch hole in the drywall, above the floor molding and beneath the electrical outlet, with a drill. Thread the lamp cord through the hole and up the wall into the punch-out hole in the bottom of the outlet box.
Step 4
Remove the electrical tape from the neutral wire and wrap it around the white wire in the electrical box. Screw a wire nut over the connection and wrap electrical tape around any remaining exposed section of the neutral wire.
Step 5
Connect the remaining wire to the black wire in the electrical outlet with a wire nut. Wrap electrical tape around any remaining exposed wiring.
Step 6
Replace the outlet cover by tightening the screw with a screwdriver. Turn on the power supply to your home to test the electrical connection.