Ambipolar fieldâeffect transistors allowing both holes and electrons transport can work in different states, which are attractive for simplifying the manufacture of circuits and endowing the circuits with reconfigurable multiâfunctionalities. However, conventional ambipolar transistors intrinsically suffer from poor switchingâoff capability because the gate electrode is not able to simultaneously deplete holes and electrons across the entire transport channel, which hurdles the practical applications. This study shows that the switchingâoff capability of polymer ambipolar transistor is significantly improved by up to three orders by introducing nonâuniformly distributed compensation potentials along the channel to synchronically tune the charge transport at different channel locations. The nonâuniform compensation potential is experimentally generated by the nonâuniformly distributed electret charges, which are preâinjected into the insulators from source and drain electrodes. By this method, both nâtype and pâtype operations with high mobility (2.2 and 0.8 cm2sâ1Vâ1 respectively) and high on/off ratio (105) are obtained in the same device, and the different states are reversibly switchable. Moreover, this method endows the device with diverse device characteristics and reconfigurable multiâfunctionalities, which promotes the application of ambipolar transistors in complementary metalâoxide semiconductorsâlike circuits and some emerging electronics, including reconfigurable devices, multiâlevel memories, and artificial synapses.