Glass-forming ability (GFA) of the Gd20Dy20Er20Co20Al20 high-entropy bulk metallic glass (HE-BMG) was improved through microalloying Si element. The critical diameter of this rare-earth-based HE-BMG increases from 1.5 to 8.5 mm with 0.5 at.% Si addition without any deterioration of magnetocaloric property. Compared with the Si-free sample, the BMG with 0.5 at.% Si addition exhibits low driving force for crystallization, strong supercooled liquid behavior and sluggish crystallization kinetics, whereas excessive Si addition leads to reverse variations. Furthermore, microalloying Si can enhance nanoscale heterogeneity of elemental distribution, and thus facilitates the formation of local crystal-like structures. The connectivity and competition between icosahedra-like clusters and crystal-like structures promote the formation of stable network structure which frustrates crystallization. As Si content is excessive, icosahedra-like cluster is consumed by the further grown crystal-like structure, leading to the destruction of network and decreasing GFA. This work not only elucidates the underlying mechanism of the GFA enhanced by microalloying, but also sheds light on improving the GFA of HE-BMGs through altering nanoscale elemental distribution and structural heterogeneity.