IL-5 is a key cytokine that plays an important role in the development of pathological conditions in allergic inflammation. Identifying strategies to inhibit IL-5 production is important in order to establish new therapies for treating allergic inflammation. We found that SH-2251, a novel thioamide-related small compound, selectively inhibits the differentiation of IL-5-producing Th2 cells. SH-2251 inhibited the induction of active histone marks at the Il5 gene locus during Th2 cell differentiation. The recruitment of RNA polymerase II, and following expression of the Th2 cell-specific intergenic transcripts around the Il5 gene locus was also inhibited. Furthermore, Th2 cell-dependent airway inflammation in mice was suppressed by the oral administration of SH-2251. Gfi1, a transcriptional repressor, was identified as a downstream target molecule of SH-2251 using a DNA microarray analysis. The Gfi1 expression dramatically decreased in SH-2251-treated Th2 cells, and the SH-2251-mediated inhibition of IL-5-producing Th2 cell differentiation was restored by transduction of Gfi1. Therefore, our study unearthed SH-2251 as a novel therapeutic candidate for allergic inflammation that selectively inhibits active histone marks at the Il5 gene locus.