Electrical synapses are ubiquitous in the mammalian CNS. Particularly in the neocortex, electrical synapses have been shown to connect low-threshold spiking (LTS) as well as fast spiking (FS) interneurons. Experiments have highlighted the roles of electrical synapses in the dynamics of neuronal networks. Here we investigate theoretically how intrinsic cell properties affect the synchronization of neurons interacting by electrical synapses. Numerical simulations of a network of conductance-based neurons randomly connected with electrical synapses show that potassium currents promote synchrony, whereas the persistent sodium current impedes it. Furthermore, synchrony varies with the firing rate in qualitatively different ways depending on the intrinsic currents. We also study analytically a network of quadratic integrate-and-fire neurons. We relate the stability of the asynchronous state of this network to the phase-response function (PRF), which characterizes the effect of small perturbations on the firing timing of the neurons. In particular, we show that the greater the skew of the PRF toward the first half of the period, the more stable the asynchronous state. Combining our simulations with our analytical results, we establish general rules to predict the dynamic state of large networks of neurons coupled with electrical synapses. Our work provides a natural explanation for surprising experimental observations that blocking electrical synapses may increase the synchrony of neuronal activity. It also suggests different synchronization properties for LTS and FS cells. Finally, we propose to further test our predictions in experiments using dynamic clamp techniques.