Q:

Adding a electrical outlet in a closet for wireless router

I want to move my wifi router to a central location in my home. The only ethernet jack is all the way at one end of my house. However I have a hall closet that is centered in the house and would be a perfect location but there is not an outlet in there. On the other side of the closet is the kitchen with an outlet. Can I run wire from that outlet through the attic and back down through the top plate of one of the other walls of the closet. I plan on putting the router fairly high in the closet (about one and half feet from the ceiling) on a shelf and have the outlet right next to it. I have the tools to do the work just not sure if it would be legal.

A:

I don't think it's legal to power an outlet that's not in the kitchen off of one of the 2 required kitchen branch circuits (i.e. counter outlets). I think it would be OK to tap off of the un-switched side of a light circuit for the kitchen.
Since you have access through the attic, is there another general purpose branch circuit (that is non-kitchen) that you can tap into for the closet outlet?
There may be exceptions to the "kitchen branch circuit" restriction in the code that I'm not aware of that would allow you to do what you want.

