A fully automated method for segmentation of neonatal skull in Magnetic Resonance (MR) images for source localization of electrical/magnetic encephalography (EEG/MEG) signals is proposed. Finding the source of these signals shows the origin of an abnormality. We propose a hybrid algorithm in which a Bayesian classifying framework is combined with a Hopfield Neural Network (HNN) for neonatal skull segmentation. Due to the non-homogeneity of skull intensities in MR images, local statistical parameters are used for adaptive training of Hopfield neural network based on Bayesian classifier error. The experimental results, which are obtained on high resolution T1-weighted MR images of nine neonates with gestational ages between 39 and 42 weeks, show 65% accuracy which consistently exhibits our scheme’s superiority in comparison with previous neonatal skull segmentation methods.