The article proposes optimizing pallet control in mass-consumption companies through layout optimization. The study will be conducted in a Peruvian company that experiences an annual loss of $175,000 due to the absence of pallet traceability and management in its distribution centers. The methodology will be the SLP, precisely the quantity, distance, and effort matrix, to develop an appropriate layout design and implement a barcode system to manage and track pallets properly. The study aims to reduce pallet waste and save 32% on indirect materials supply at least annually. The implementation of an automated warehouse, which provides significant improvements to the processes of organizations and better traceability of pallet flows, will be proposed. The study also aims to identify the current management of pallets and their movement in the plant and implement the optimized flow within the plant, adapting it to the company's needs and specificities. The proposed design is expected to improve the company's gross profit and reduce the amount allocated to acquire pallets annually.