You can find the relevant application pages for all types of grounds for residence on newtodenmark.dk.
An application page on newtodenmark.dk contains all the necessary information on how to apply for a residence permit. Here you will also find the relevant application form, in addition to a step-by-step guide to successfully submit the application.
You can apply in your home country through a Danish mission – that is a Danish Embassy or a Danish Consulate General.
All non-EU/EEA citizens over the age of 18 applying for residence permits must have their biometric features (facial image and fingerprints) recorded in connection with the submission of the application.
If you apply for a residence permit based on work or study, your application will be processed by the Danish Agency for International Recruitment and Integration (SIRI).
If you apply for a residence permit based on family reunification, your application will be processed by the Danish Immigration Service.
You need a residence permit in order to get a civil registration number (CPR number).