The Kue Lampit Ma'ruf Barokah MSME is a business engaged in the production of traditional food in the form of kue lampit or semprong with a thin and crispy texture, located in Karanganyar. The problem faced by this MSME is the fluctuating remaining end-of-period raw material inventory each year, both for tapioca flour, wheat flour, and brown sugar, which has the potential to increase storage costs.This study aims to analyze the optimization of raw material inventory cost control at the Kue Lampit Ma'ruf Barokah MSME, to analyze the application of the Economic Order Quantity (EOQ) and Just In Time (JIT) methods in optimizing raw material inventory cost control, as well as to analyze which method is optimal to be applied to the MSME. This study uses quantitative data with primary data sources. Data collection techniques were carried out through observation, interviews, and documentation. The analysis technique used is calculating the total raw material inventory cost based on the MSME owner's policy, the Economic Order Quantity (EOQ) method, and the Just In Time (JIT) method.Based on the calculation results, it is concluded that raw material inventory control based on the MSME owner's policy of Rp 1.191.832 has not been optimal, as the total raw material inventory cost based on the MSME owner's policy is greater than that of the EOQ method at Rp 850.239 saving 29% compared to the owner's policy. Meanwhile, the application of the JIT method yields a total raw material inventory cost of Rp 496.564 saving 58% from the owner's policy with a cost savings difference of Rp 695.268. Therefore, it can be concluded that the JIT method is the optimal method for controlling raw material inventory costs at the Kue Lampit Ma'ruf Barokah MSME in Karanganyar, so that the application of the JIT method is recommended as a more efficient inventory policy alternative for the business owner.