This paper presents a method for optimizing the time quantum in the Round Robin CPU scheduling algorithm using fuzzy logic and linguistic variables to improve system performance. By dynamically adjusting the time quantum based on average burst time and the number of processes, the proposed Mamdani fuzzy inference system (lrrtq) enhances turnaround and waiting times while reducing unnecessary context switches. Numerical analyses demonstrate the effectiveness of the approach compared to fixed time quantum strategies.