How do I safely conceal an a/c transformer in a wall?

I want to install a wireless security camera in the entryway of my building. I have the camera and it uses a small transformer (wall wart). There are no outlets nearby. I can wire my own outlet from the wiring to the outdoor light outside the door, but I would like to conceal the transformer if possible as it would stick out like a sore thumb in my otherwise empty entryway. What would be the best code-compliant way to install an outlet and plug in a transformer in my drywalled wall in such a way that the tranformer is as hidden as possible?
Related Blogs












If the transformer isn’t too big you could put it in a junction box. Any electrical connection you make will have to be accessible, to be code compliant. By cutting a hole in the sheetrock, next to a stud and installing a plastic junction box and painting the cover for the junction box the same as the hallway it will be concealed and will be accessible.
I am glad to see you are concerned about safety, and about remaining Code compliant.
The NEC requires all junction boxes to remain accessible; this means that you must be able access it without removing any of the building finishes. I suggest that you visit a home center and look into removable access panels. Another option is to install a return air grill over the junction box.
As far as concealing the transformer, check the installation instructions before installing it in a wall cavity. Transformers generate heat, and many manufacturers do not want them installed in any way that will not allow this heat to dissipate. If it can be installed in the wall cavity, it can be installed behind the same access panel.
Be careful about installing cord and plug connected appliances or devices where they are not readily accessible. Read the Installation Instructions carefully, and be sure the product has the Mark of an independent third party testing agency, such as UL on it. It should also (if it is a UL listed product) have a number on it that begins with the letter “E”. Go to the UL website, and check it out on their Regulatory Authorities page. In the search area, go to the UL Number search box and type in that number. If you get a “hit”, read all the info that is provided. If you do not find it there, call UL and find out if it is a listed product, or if a counterfeit Mark has been placed on it (common on many imports from China).
It also sounds like you are referring to an apartment or commercial establishment. Be careful about doing your own electrical work if it is. Most Jurisdictions do not allow owners to do their own electrical or plumbing work on anything more than a single family dwelling that is their principle residence. Call your Building Department to be sure.