It depends on the size of the connector. I might be able to fit the new connection inside the light base, but the existing cable is so short, it might have to stay in the wall. It is a hollow stud wall so the connector could drop inside the wall but still be accessible at a later date.