A kind of coffee baking beans machine includes a shell, sets a roller, at least one first heating unit and at least one second heating unit in the what shell body and sets a gear unit of the what shell body. Wherein, the stack shell of the roller has a plurality of perforation. The gear unit is to drive the roller to rotate. First heating unit is set below the what roller, to generate the flame interaction what roller. Second heating unit is set below the what roller, and is arranged with the first heating unit interval, and second heating unit is to generate the infrared ray action what roller. Thereby, beans machine is dried through the coffee, the time of coffee bean baking can be effectively reduced, and baking the coffee bean completed, still there is traditional directly-firing coffee to dry the caramelization flavor that beans machine generates.一種咖啡烘豆機,包含有一殼體、設於該殻體中的一滾筒、至少一第一加熱單元與至少一第二加熱單元、以及設於該殻體的一傳動單元。其中,該滾筒的筒身具有複數個穿孔。該傳動單元用以驅動該滾筒轉動。該第一加熱單元設於該滾筒下方,用以產生火焰作用於該滾筒。該第二加熱單元設於該滾筒下方,且與該第一加熱單元間隔設置,該第二加熱單元用以產生紅外線作用於該滾筒。藉此,透過該咖啡烘豆機,可有效減少咖啡豆烘焙的時間,且烘焙完成的咖啡豆仍具有傳統的直火式咖啡烘豆機產生的焦糖化風味。