A method for decoding pain perception from resting-state MEG is proposed. Intensity of endogenous pain can be predicted by temporal and spectral features. Pain-level prediction is accurate using cortical activity or sensor signals. Entropy-based indices calculated from MEG can be used to predict pain scores. Degree of right lateralization in brain complexity reveals the intensity of pain.