A nonmodel insect, Acrolepiopsis sapporensis, has been analyzed in immune responses. The total hemocytes in the fifth instar larvae were 2.33 × 106 cells/mL. These hemocytes comprised at least five different types and different relative ratios: 47% granulocytes, 26% plasmatocytes, 11% oenocytoid, 8% prohemocytes, and 5% spherulocytes. Upon bacterial challenge, some of the hemocytes exhibited typical hemocyte‐spreading behaviors, such as focal adhesion, and filopodial and lamellipodial cytoplasmic extensions. The hemocyte behaviors induced cellular immune responses demonstrated by nodule formation. In addition, the plasma collected from the immune‐challenged larvae exhibited humoral immune responses by bacterial growth inhibition along with enhanced phenoloxidase enzyme activity. These cellular and humoral immune responses were further analyzed by determining the immune‐associated genes from a transcriptome generated by RNA‐Seq. A total of about 12 Gb sequences led to about 218,116 contigs, which were predicted to encode about 46,808 genes. Comparative expression analysis showed 8392 uniquely expressed genes in the immune‐challenged larvae. Differentially expressed gene (DEG) analysis among the commonly expressed genes indicated that 782 genes were upregulated and 548 genes were downregulated in the expressions after bacterial challenge. These immune‐associated genes included pattern recognition receptors, immune mediation/signaling genes, and various immune effectors. Specifically, the genetic components of the Toll, IMD, and JAK/STAT immune signaling pathways were included in the DEG database. These results demonstrate the immune responses of A. sapporensis larvae and suggest the genes associated with the immune responses in this nonmodel insect.