The present invention relates to organic electroluminescent devices which comprise aromatic nitrogen heterocyclic compounds, in particular in a hole-injection layer and/or in a hole-blocking layer and/or in an electron-transport layer and/or in an emitting layer.