We study the thermopower of a disordered nanowire in the field effect transistor configuration. After a first paper devoted to the elastic coherent regime (Bosisio, Fleury and Pichard 2014 New J. Phys. 16 035004), we consider here the inelastic activated regime taking place at higher temperatures. In the case where the charge transport is thermally assisted by phonons (Mott Variable Range Hopping regime), we use the Miller–Abrahams random resistor network model as recently adapted by Jiang et al for thermoelectric transport. This approach, previously used to study the bulk of the nanowire impurity band, is extended for studying its edges. In this limit, we show that the typical thermopower is largely enhanced, attaining values larger than $...