In this paper, an H-infinity control with a cooperative weights neural network is proposed to realize the synchronization of two gap junction coupled chaotic FitzHugh-Nagumo (FHN) neurons. We first use a cooperative weights neural network to approximate the unknown nonlinear function. Then we employ the H-infinity control technique to attenuate the effects caused by unmodelled dynamics, disturbances and approximate errors. Finally, by Lyapunov method, the overall closed-loop system is shown to be stable and chaos synchronization is obtained. The control scheme is robust to the uncertainties such as unmodelled dynamics, ionic channel noises and external disturbances. The simulation results demonstrate the effectiveness of the proposed control method.