The shal gene encodes the transient potassium current (IA) in neurons of the lobster stomatogastric ganglion. Overexpression of Shal by RNA injection into neurons produces a large increase in IA, but surprisingly little change in the neuron's firing properties. Accompanying the increase in IA is a dramatic and linearly correlated increase in the hyperpolarization-activated inward current (Ih). The enhanced Ih electrophysiologically compensates for the enhanced IA, since pharmacological blockade of Ih uncovers the physiological effects of the increased IA. Expression of a nonfunctional mutant Shal also induces a large increase in Ih, demonstrating a novel activity-independent coupling between the Shal protein and Ih enhancement. Since IA and Ih influence neuronal activity in opposite directions, our results suggest a selective coregulation of these channels as a mechanism for constraining cell activity within appropriate physiological parameters.