The article describes the design of a universal simulation model of a voltage regulator for applications compatible with the globally used PSpice program. Users can create a model of any type of integrated switching voltage regulator that is currently available on the market by setting its individual parameters. The proposed connection of the regulator was applied in the connection of the buck DC–DC converter. The accuracy of the model was verified by comparing the results obtained by the simulation to other official models and to practical measurements taken on a real sample of the converter. The versatility of the model was proven by comparison with another type of converter with different parameters.