The ability of individual neurons to modulate the gain of their input-output function is important for information processing in the brain. In a recent study (Mitchell & Silver, 2003), shunting inhibition was found to modulate the gain of cerebellar granule cells subjected to simulated currents through AMPA receptor synapses. Here we investigate the effect on gain modulation resulting from adding the currents mediated by NMDA receptors to a compartmental model of the granule cell. With only AMPA receptors, the changes in gain induced by shunting inhibition decreased gradually with the average firing rate of the afferent mossy fibers. With NMDA receptors present, this decrease was more rapid, therefore narrowing the bandwidth of mossy fiber firing rates available for gain modulation. The deterioration of gain modulation was accompanied by a reduced variability of the input current and saturation of NMDA receptors. However, when the output of the granule cell was plotted as a function of the average input current instead of the input firing frequency, both models showed very similar response curves and comparable gain modulation. We conclude that NMDA receptors do not directly impair gain control by shunting inhibition, but the effective bandwidth decreases as a consequence of the increased total charge transfer.