In this paper, we propose a new algorithm for BrainComputer Interface (BCI): the Spatially Regularized Common Spatial Patterns (SRCSP). SRCSP is an extension of the famous CSP algorithm which includes spatial a priori in the learning process, by adding a regularization term which penalizes spatially non smooth filters. We compared SRCSP and CSP algorithms on data of 14 subjects from BCI competitions. Results suggested that SRCSP can improve performances, around 10% more in classification accuracy, for subjects with poor CSP performances. They also suggested that SRCSP leads to more physiologically relevant filters than CSP.