The invention discloses a tablet pressing machine in a pharmaceutical production line. The tablet pressing machine comprises a machine frame. The machine frame is provided with a pressing platform. The upper portion of the pressing platform is provided with a support. The upper portion of the support is provided with a lifting guide column. The lifting guide column is movably sleeved with a tablet pressing template. The uppermost end of the lifting guide column is fixedly provided with an upper pressing head. The support comprises two oppositely-arranged vertical plates and a horizontal plate arranged at the upper ends of the vertical plates. The vertical plates are fixedly connected with the horizontal plate. The pressing platform is provided with sliding grooves. The vertical plates are arranged in the sliding grooves and can slide left and right. Locking parts capable of limiting the vertical plates are arranged in the sliding grooves. The lower portion of the pressing platform is a hollow space. A bottom plate is fixed in the hollow space. According to the tablet pressing machine, the structure is simple, the upper pressing head can be used for carrying out table pressing treatment on medicine, a push piece is arranged in a storage groove, the storage groove can contain different doses of medicine through the push piece and an adjusting thread part, and therefore tablets with different thicknesses can be pressed.