The present invention relates to an automatic confectionery apparatus, and more particularly, to an automatic confectionery apparatus having a work table on which a tray conveying module is connected to one side, A tray cover which is seated in a tray seating groove of the work table and which forms a plurality of cookie forming grooves filled with the cookie material between the tray body and the tray body A tray having a rotary member for rotating the tray cover with respect to the tray body, the tray being movable up / down at a corresponding position A tray up / down driving unit provided on the work table and selectively connected to the tray, for driving the tray up / down An upper electric rail disposed in the upper region of the work table along a horizontal direction A first movable bogie connected to the upper electric rail and being moved along the longitudinal direction of the upper electric rail A second movable bogie disposed independently of the first movable bogie, the second movable bogie being connected to the upper drive rail and being moved along the longitudinal direction of the upper drive rail And a dispenser for dispensing the cookie material from the cookie material tank and supplying the cookie material to the cookie forming groove of the tray, wherein the cookie material tank is provided at one side of the first movable carriage, A cookie material supply unit A cookie material cleaning unit arranged to be exposed from the first moving carriage and kneading the cookie material on the surface of the tray except for the cookie molding groove and a knife moving unit connected to the knife and moving the knife A surplus number of doughs provided at one side of the work table and in which excessive dough removed from the surface of the tray by the knife is collected Surplus dough suction pump A surplus kneading movement line connecting the surplus kneading water rejection pump and the surplus dough suction pump And an ornamental pattern forming