5 Reasons Not to Run Extension Cords Through Walls
It violates electrical code Running an extension cord through a wall is almost certainly against electrical code in your area.
It creates a fire hazard Extension cords are designed for temporary, visible use. Trapped inside a wall, heat builds up, insulation can fail, and the cord can overheat and start a fire.
Damage goes undetected Pinching, staples, or rodent chewing can damage the cord inside the wall. You won’t see the damage until it’s too late.
It voids insurance coverage An inspector or insurance adjuster will flag a cord run through a wall immediately. If a fire starts, your claim may be denied.
Safer alternatives exist Install a new outlet with NM-B cable (Romex) and a junction box. Or use a surface-mounted raceway rated for in-wall use. Call an electrician if needed.