Balancing the carrier selectivity and extraction by the selective contacts is of vital importance to the performance of the nanowire solar cells. Here Oener et al. employ a permanent local gate to overcome this tradeoff and substantially increase the open-circuit voltage by 335 mV.