The function of MED12 (mediator complex subunit 12, ENSG00000184634) is as follows. Component of the Mediator complex, a coactivator involved in the regulated transcription of nearly all RNA polymerase II-dependent genes. Mediator functions as a bridge to convey information from gene- specific regulatory proteins to the basal RNA polymerase II transcription machinery. Mediator is recruited to promoters by direct interactions with regulatory proteins and serves as a scaffold for the assembly of a functional pre-initiation complex with RNA polymerase II and the general transcription factors. This subunit may specifically regulate transcription of targets of the Wnt signaling pathway and SHH signaling pathway. {ECO:0000269|PubMed:16565090, ECO:0000269|PubMed:16595664, ECO:0000269|PubMed:17000779, ECO:0000269|PubMed:29440396}.