You will most likely need a permit to add a subpanel to your electric panel. No matter whether you are a licensed electrician or a DIY homeowner, you will likely need a permit to get the work to pass inspection. In almost all states, you will need a permit to do any kind of major electrical work.