The invention relates to a coke boiler which uses solid fuel, comprising a main body, a burner, a smoke discharger, a ventilator and an igniter. The main body is arranged with a medium room, a smoke tube, a fire box, a burning out room, and a burning room from up to down. The top and the bottom of the medium room are respectively arranged with a medium outlet and a medium inlet. The burner is formed by an air channel, an air chamber, a furnace bed, an ash chamber, and a base, while the air channel is around the air chamber and formed by front, back, left and right air channels, and front air channel is divided by the damping door into left and right air channels communicated with the outer annular air branches of left and right air channels, each outer annular air branch is arranged with a hole communicated with the air chamber. The bottom air branch and inner annular air branch of left and right air channels can guide the bottom air and inner annular air via the bottom air tube and inner annular air tube into preset area under the furnace bed. The invention has compact structure and low cost.