In this study, the effects of end-distances and lengths of specimen (depths of cabinet) of ready-to-assemble (RTA) furniture on the bending moment resistance of corner joints were investigated and optimized by Artificial Neutral Networks (ANN). Melamine-coated particleboard (MCP) and melamine-coated fiberboard (MCP), cam fasteners, wooden dowels, and polyvinyl acetate (PVAc) adhesive were used for specimen construction as used in the furniture industry. For each of the specimens, five different lengths and four other illustrations which had diverse front and back end distances were prepared. Consequently, test results showed that the bending moment capacity went up when the distance is decreased and when the specimen length is increased. MCF moment values were 40 % higher than MCP moment values in the test results. According to ANOVA results for both MCP and MCF, significant differences were found in bending moment capacity with respect to the lengths of specimen and end distances. By ANN, the most appropriate boring plans for the end distance that belongs to 10 mm specimen lengths are introduced.