An organic light emitting device comprising: an anode ; a cathode ; and one or more organic material layers provided between the anode and the cathode , wherein one or more layers of the organic material layers comprise a heterocyclic compound represented by any one of the following Chemical Formulae 2 to 6: in Chemical Formulae 2 to 6, X is S; O; NR; or CR'R"; R1 to R8 are the same as or different from each other, and each independently hydrogen; deuterium; a halogen group; -CN; a substituted or unsubstituted C1 to C60 alkyl group; a substituted or unsubstituted C2 to C60 alkenyl group; a substituted or unsubstituted C2 to C60 alkynyl group; a substituted or unsubstituted C1 to C60 alkoxy group; a substituted or unsubstituted C3 to C60 cycloalkyl group; a substituted or unsubstituted C2 to C60 heterocycloalkyl group; a substituted or unsubstituted C6 to C60 aryl group; a substituted or unsubstituted C2 to C60 heteroaryl group; -SiRR'R"; -P(=O)RR'; and an amine group unsubstituted or substituted with a C1 to C20 alkyl group, a C6 to C60 aryl group, or a C2 to C60 heteroaryl group; L is a direct bond, a substituted or unsubstituted C6 to C60 arylene group, or a C2 to C60 heteroarylene group; m is an integer of 0 to 4; n is an integer of 1 to 4; and R, R' and R" are the same as or different from each other, and each independently hydrogen; deuterium; -CN; a substituted or unsubstituted C1 to C60 alkyl group; a substituted or unsubstituted C3 to C60 cycloalkyl group; a substituted or unsubstituted C6 to C60 aryl group; or a substituted or unsubstituted C2 to C60 heteroaryl group, characterized in that Z of Formulae 2 to 6 is selected from among the following structural formulae: in the structural formulae, R9 is a C6 to C60 aryl group. an anode ; a cathode ; and one or more organic material layers provided between the anode and the cathode , wherein one or more layers of the organic material layers comprise a heterocyclic compound represented by any one of the following Chemical Formulae 2 to 6: in Chemical Formulae 2 to 6, X is S; O; NR; or CR'R"; R1 to R8 are the same as or different from each other, and each independently hydrogen; deuterium; a halogen group; -CN; a substituted or unsubstituted C1 to C60 alkyl group; a substituted or unsubstituted C2 to C60 alkenyl group; a substituted or unsubstituted C2 to C60 alkynyl group; a substituted or unsubstituted C1 to C60 alkoxy group; a substituted or unsubstituted C3 to C60 cycloalkyl group; a substituted or unsubstituted C2 to C60 heterocycloalkyl group; a substituted or unsubstituted C6 to C60 aryl group; a substituted or unsubstituted C2 to C60 heteroaryl group; -SiRR'R"; -P(=O)RR'; and an amine group unsubstituted or substituted with a C1 to C20 alkyl group, a C6 to C60 aryl group, or a C2 to C60 heteroaryl group; L is a direct bond, a substituted or unsubstituted C6 to C60 arylene group, or a C2 to C60 heteroarylene group; m is an integer of 0 to 4; n is an integer of 1 to 4; and R, R' and R" are the same as or different from each other, and each independently hydrogen; deuterium; -CN; a substituted or unsubstituted C1 to C60 alkyl group; a substituted or unsubstituted C3 to C60 cycloalkyl group; a substituted or unsubstituted C6 to C60 aryl group; or a substituted or unsubstituted C2 to C60 heteroaryl group, characterized in that Z of Formulae 2 to 6 is selected from among the following structural formulae: in the structural formulae, R9 is a C6 to C60 aryl group. <EOS>