For a dilute feed, a four-zone SMB with temperature gradient (4-zone TSMB-FC) can fractionate and simultaneously concentrate two solutes. Optimization of the operating parameters for this system, which include four zone flow rates and port switching time, is a major challenge because of the five variables. Initial choice of the variables using the triangle theory followed by a systematic search using rate model simulations is time-consuming. In this study, the SWD developed previously for isothermal systems is modified for the first time for a 4-zone TSMB-FC. The optimum operating parameters are determined with the new method. Only linear isotherm systems with significant mass transfer resistances are considered. For a dilute feed, a 4-zone SMB-FC can produce pure desorbent, in addition to extract and raffinate products with high purities. For the separation of p-xylene and toluene with silica gel in the temperature range from 0 to 80 °C, the enrichment factor in the linear region can be as high as 80 fold for an extract purity of 99.99 % and tenfold for raffinate purity of 99.8 %, while withdrawing the desorbent at a desorbent to feed flow rate ratio of 0.53 and 0.78, respectively.