This digest proposes a new prediction horizon design method in a generalized predictive control-based DC/DC boost converter by establishing a closed-loop system model and analyzing the impact of different prediction horizons on the system’s stability. Unlike existing design methods, which rely on an empirical prediction horizon selection or incorporate non-linear observers, the proposed approach establishes a strict boundary for the prediction horizon to ensure the system’s stability. Through this method, a suitable prediction horizon is selected and effectively avoids excessively short prediction horizons that may lead to system instability, as well as avoids redundant long prediction horizons that impose heavy computational demands on the controller. Experimental results confirm the effectiveness of the proposed design method.