Hard wire an extension cord?


Old 04-04-18, 02:42 AM
Thread Starter
Join Date: Apr 2018
Posts: 2
Received 0 Votes on 0 Posts
Hard wire an extension cord?

Is it safe and legal to run a flexible extension cord from a junction box (via knock out and typical nmsc connector)?

I am working on a themed light fixture. There is a surface mounted metal junction box on the ceiling 11 feet up fed by metal shielded supply with lamp cord running from it to sockets with Edison bulbs inside suspended glass jugs.

I have an extra one foot of metal conduit coming off the junction box that will have a couple low voltage sparkling Christmas bulbs at the end of it simulating a sparking effect (as in the look of old faulty wiring).

I will power the bulbs with a simple 5v dc phone charger. The issue is how legally get power to the transformer.

-Of course I could place the small transformer inside the junction box, but this seems inappropriate code wise.

-I could face the junction box with an outlet as opposed a metal cover. I would like to avoid this for aesthetic reasons, keeping the parts looking old and transformer hidden from sight.

-I could add a porcelain socket to the face of the junction box, then a two prong adapter, and plug the charger into that. Again, this would be bad aesthetically.

-My preferred solution to provide power to the low voltage bulbs is to run a short 8 inch extension cord from the outlet where it could sit behind another object out of sight, allowing the small transformer to receive power. Its out of human reach and theoretically safer than if the charger were legally plugged into a cord sitting on the carpet.

Open to other ideas, but aesthetics are an important factor. Im an experienced artist and builder, but this a peculiar situation. I know any of my solutions above would be fine in practice, but I am seeking the most legal way since Im drawing attention to a faux dangerous situation.

Btw, the light is part of an urbex inspired installation. Visitors will know the sparking wire is intentional. Comments like why would you want to do this? Will be dealt with by a condescending raised eyebrow and slow head shake.

Last edited by Briankangaroo; 04-04-18 at 02:45 AM. Reason: Auto correct error
Sponsored Links
Old 04-04-18, 05:28 AM
Geochurchi's Avatar
Join Date: Nov 2012
Location: USA
Posts: 4,030
Received 18 Votes on 18 Posts
Good morning, some pics might be helpful so we can see what you are working with.


Last edited by ray2047; 04-04-18 at 05:35 AM. Reason: Add link.
Old 04-04-18, 06:17 AM
Group Moderator
Join Date: Mar 2003
Location: NC, USA
Posts: 21,052
Received 234 Votes on 214 Posts
Is it legal to hard wire an extension cord? NO

You can, with the proper box and fittings run flexible SJ cord to a device but that won't help you powering a wall wort transformer unless you put an enclosure on the end of the cord with a outlet.

Why not just plug your transformer into a regular wall outlet and run low voltage wire to the fixture?
Old 04-04-18, 10:21 AM
Forum Topic Moderator
Join Date: Sep 2005
Location: USA
Posts: 4,693
Received 28 Votes on 27 Posts
You can get an inline receptacle at your local hardware store. Use your existing lamp cord and just add the receptacle to the end. Then plug the charger/transformer into that.

Old 04-04-18, 11:54 AM
Thread Starter
Join Date: Apr 2018
Posts: 2
Received 0 Votes on 0 Posts
Thank you wise sages.

I appreciate all of the ideas. I may go the SJ route as this assembly is in the ceiling and any outlet would be 20 feet away and not switched to match the lights.

Love the inline receptacle idea. Sadly, I'm using a round braided lamp wire, making it next to impossible to identify where the wires would be oriented.

I wanted to post photos with original post, but inability to attach them put the kabosh on it.

I intend to update with photos later. In the meantime, thank you all.
Old 04-04-18, 12:15 PM
Group Moderator
Join Date: Mar 2003
Location: NC, USA
Posts: 21,052
Received 234 Votes on 214 Posts
Here is a link with how to attach pictures: https://www.doityourself.com/forum/e...-pictures.html

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Thread Tools
Search this Thread
Display Modes
Ask a Question
Question Title:
Your question will be posted in: