The size of wire you need for a sub panel depends on how many amps the sub panel can handle. The most common size wire for a sub panel is 12 gauge, but you may need to use a larger or smaller gauge wire depending on the amps of your sub panel.