Electrokinetic (EK) treatment is an innovative, cost-effective in situ ground modification technology. The EK treatment uses a combination of low-voltage direct-current, electrodes, and ionic solutions across problematic soil to improve the ground conditions. This study aims to model the effect of changing electrode length (le) on the performance of the EK treatment on the engineering properties of fine-grained problematic soils. The consideration of the changing electrode lengths (le), varying soil depths (ds), and lengthwise anode to cathode distances (dA↔E), in the soil block samples, is in the form of the laboratory model test tank. The significant performance of the experimental tests was with changing electrode lengths of 0.25le (7.5 cm), 0.50le (15.0 cm), 0.75le (22.5 cm), and 1.0le (30.0 cm). The study analyzed the test data obtained from the Atterberg limit and one-dimensional swelling tests at different extraction points of the EK treated soils in the test tanks. Furthermore, the study carefully analyzed the effect of changing electrode length (le) on the performance of the EK treatment. The results of the Design of Experiment (DOE) model analysis revealed that the effect of changing electrode length (le) on the plasticity index (PI), and swelling potential (SP) of the EK treated soils, was significant. For a specific soil depth (ds), the electrode lengths (le) of 0.50le and 0.75le were significantly effective in reducing the PI, and the SP of the EK treated soils. Unlike other studies in the literature, the use of DOE analysis in the present study enabled the detection of the significant input factors and their interactive effects on the PI and the SP, thus, enabling the practicing engineers to navigate accurate design models for large in situ applications.