The present invention relates to a pyrrolopyridine derivative represented by the Chemical Formula I, and a racemate or a stereoisomer thereof, or a pharmaceutically acceptable salt thereof, and relates to an antiviral composition including the same as an active ingredient. The compound of the Chemical Formula I has excellent antiviral activity and selectivity for wild type and resistant HIV-1, and thereby is useful as a therapeutic agent for acquired immune deficiency syndrome (AIDS).