Disclosed is an organic electroluminescent device (organic EL device) which is improved in luminous efficiency, fully secured of driving stability, and simple in structure and also disclosed is a heterocyclic compound useful for the said device. Specifically, the heterocyclic compound is represented by the following general formula (I) and the organic EL device comprises an organic layer containing the said heterocyclic compound. In general formula (I), X1 and X2 respectively denote O, S, or N—R, R denotes a hydrogen atom, an alkyl group, or a substituted or unsubstituted aryl group, Ar1, Ar2, Ar3, and Ar4 respectively denote a substituted or unsubstituted aryl group, Ar1, Ar2, and the nitrogen atom bonded thereto or Ar3, Ar4, and the nitrogen atom bonded thereto may form a nitrogen-containing hetero ring, and m and n respectively denote an integer of 1 or 2.