The function of DGCR8 (DGCR8 microprocessor complex subunit, Ensembl gene identifier ENSG00000128191) is as follows. Component of the microprocessor complex that acts as a RNA- and heme-binding protein that is involved in the initial step of microRNA (miRNA) biogenesis. Component of the microprocessor complex that is required to process primary miRNA transcripts (pri-miRNAs) to release precursor miRNA (pre-miRNA) in the nucleus. Within the microprocessor complex, DGCR8 function as a molecular anchor necessary for the recognition of pri-miRNA at dsRNA-ssRNA junction and directs DROSHA to cleave 11 bp away form the junction to release hairpin-shaped pre-miRNAs that are subsequently cut by the cytoplasmic DICER to generate mature miRNAs (PubMed:26027739, PubMed:26748718). The heme- bound DGCR8 dimer binds pri-miRNAs as a cooperative trimer (of dimers) and is active in triggering pri-miRNA cleavage, whereas the heme-free DGCR8 monomer binds pri-miRNAs as a dimer and is much less active. Both double-stranded and single-stranded regions of a pri-miRNA are required for its binding (PubMed:15531877, PubMed:15574589, PubMed:15589161, PubMed:16751099, PubMed:16906129, PubMed:16963499, PubMed:17159994). Specifically recognizes and binds N6-methyladenosine (m6A)-containing pri-miRNAs, a modification required for pri-miRNAs processing (PubMed:25799998). Involved in the silencing of embryonic stem cell self-renewal (By similarity). Also plays a role in DNA repair by promoting the recruitment of RNF168 to RNF8 and MDC1 at DNA double- strand breaks and subsequently the clearance of DNA breaks (PubMed:34188037). {ECO:0000250|UniProtKB:Q9EQM6, ECO:0000269|PubMed:15531877, ECO:0000269|PubMed:15574589, ECO:0000269|PubMed:15589161, ECO:0000269|PubMed:16751099, ECO:0000269|PubMed:16906129, ECO:0000269|PubMed:16963499, ECO:0000269|PubMed:17159994, ECO:0000269|PubMed:25799998, ECO:0000269|PubMed:26027739, ECO:0000269|PubMed:26748718}.