The aim of this work is to show the current situation of Doctoral studies in Didactic of Mathematics in Spanish universities. These studies have gone trough considerable development since they began in the early 80's. The present work provides the general standards and legal requirements that must be met to submit a doctoral dissertation in Spain. In order to describe the process we have taken the Didactic of Mathematics doctoral program of the University of Granada as our model.