The invention belongs to the technical field of photoelectric materials, and provides a
nitrogen-containing
heterocyclic compound and an organic electroluminescent element containing the
nitrogen-containing
heterocyclic compound. A
nitrogen-containing
heterocyclic compound having a structure # imgabs0 # represented by formula (1), in which X is selected from O or S, R1-R16 are each independently selected from
hydrogen,
deuterium,
halogen, cyano, substituted or unsubstituted C1-C10
alkyl, substituted or unsubstituted C3-C10 cycloalkyl, substituted or unsubstituted C2-C10 alkenyl, substituted or unsubstituted C6-C30
aryl, and substituted or unsubstituted C3-C30 heteroaryl, and in the formula (1), R1-R16 are each independently selected from
hydrogen,
deuterium,
halogen, cyano, substituted or unsubstituted C1-C10
alkyl, substituted or unsubstituted C3-C10 cycloalkyl, substituted or unsubstituted C3-C10 cycloalkyl, substituted or unsubstituted C6-C30
aryl, or substituted or unsubstituted C6-C30 heteroaryl, r1 to R16 independently exist, or two adjacent R1 to R16 are connected to form a ring. The organic electroluminescent element prepared by using the compound can realize reduced driving
voltage and durable service life, and the organic electroluminescent element has better performance.