A coal pyrolysis pretreatment apparatus comprising a pretreatment vessel for holding a bed of coal particles, a preheater for heating the bed of coal particles to a temperature below the coal pyrolysis temperature range, an enclosure around the vessel for preventing air from contacting the bed of coal particles, an oxygen remover for removing the oxygen released from the heated coal particles and transporting it away from the enclosure so that the partial pressure of oxygen in the pretreatment region is kept low, further comprising a collector for collecting non-condensable combustible gases from coal pyrolysis, and a burner for partially burning the collected non-condensable combustible gases and supplying hot, partially combusted non-condensable gases from the burner to the bed of coal particles to serve as a sweep gas for heating and removing oxygen from the bed of coal particles.