Abstract: Next generation sequencing methods represent the latest era of molecular genetic diagnostics. After a general introduction on primary immunodeficiencies, the author summarizes the importance of molecular genetic studies, especially next generation sequencing in the diagnosis of primary immunodeficiencies. Another purpose of the manuscript is to give a brief summary on the methodological basis of next generation sequencing. The author analyzes the advantages and disadvantages of primary immunodeficiency gene-panel sequencing and whole-exome and whole-genome sequencing. Primary immunodeficiency genes and diseases recognized by next generation sequencing is also summarized. Finally, the author emphasizes the indispensability of gene level diagnostics in primary immunodeficiencies and presents the results achieved in this field in Hungary. Orv Hetil. 2018; 159(49): 2095–2112.