The present invention describes carbazole, dibenzofuran, dibenzothiophene and fluorene derivatives which are substituted by electron-deficient heteroaryl groups, in particular for use as triplet matrix materials in organic electroluminescent devices. The invention furthermore relates to a process for the preparation of the compounds according to the invention and to electronic devices comprising these compounds.