In this review, we describe our recent studies on the induction of miR-21 expression by type I IFN, the role of the STAT3 and NFκB signaling pathways in IFN-induced miR-21 expression, the role of miR-21 in different cancers and the role of miR-21 in regulating the antiviral response. This evidence concerns the gene STAT3 and cancer.