To obtain a DNI it is necessary to have Spanish citizenship, and all Spanish citizens have a right to obtain a DNI. Spanish citizens 14 years or older are required to hold a DNI if residing in Spain and for people who return to Spain for more than six months.