In the recent decade, many investigations have been done in the framework of generalized uncertainty principle (GUP), but the phenomenology of models in this framework are less studied. In this work, the applications of Biot–Savart law in the presence of a minimal length scale are investigated. We obtain the modified magnetostatic field from an infinitely long, straight wire carrying current I. Also, the modified magnetostatic field from a circular loop carrying current I and the modified magnetostatic field of an ideal solenoid are found. It is interesting to note that in the limit a = √ 2β → 0, all of the modified magnetostatic fields become their usual forms.