Many of the automatic sleep spindle detectors currently used to analyze sleep EEG are either validated on young subjects or not validated thoroughly. The purpose of this study is to develop and validate a fast and reliable sleep spindle detector with high performance in middle aged subjects. An automatic sleep spindle detector using a bandpass filtering approach and a time varying threshold was developed. The validation was done on sleep epochs from EEG recordings with manually scored sleep spindles from 13 healthy subjects with a mean age of 57.9 ± 9.7 years. The sleep spindle detector reached a mean sensitivity of 84.6 % and a mean specificity of 95.3 %. The sleep spindle detector can be used to obtain measures of spindle count and density together with quantitative measures such as the mean spindle frequency, mean spindle amplitude, and mean spindle duration.