An automatic vending machine includes a product housing rack including a plurality of product housing shelves that are disposed in an up-down direction, a plurality of product housing paths corresponding to the plurality of product housing shelves, each product housing path being defined in the corresponding product housing shelf and configured to house products, a plurality of product discharge devices corresponding to the plurality of product housing shelves and the plurality of product housing paths, each product discharge device being configured to separate and discharge, one by one, the products that are housed in the corresponding product housing path. The product housing shelf includes a front side shelf member and a back side shelf member that are divided in the front-back direction, supported by support members, and detachably coupled with each other so that the front side shelf member is sandwiched by the back side shelf member.