Transcription factor activator protein 1 (AP1) plays an irreplaceable role in the response to a variety of external stimulants, such as cellar stress, bacterial and viral infections, and inflammatory cytokines. In this study, we identified a novel AP1 gene from Macrobrachium nipponense and named it MnAP1 , which has a full length of 1747 bp contains an 882 bp open reading frame, and encodes a protein with 293 amino acids. The MnAP1 protein contains Pfam and bZIP domains. MnAP1 is widely distributed in hemocytes, heart, hepatopancreas, gill, stomach, and intestinal tissues. The expression levels of MnAP1 in the gills and stomach were significantly upregulated after Vibrio parahaemolyticus and Staphylococcus aureus attacks. We studied the relationship between MnAP1 and the transcripts of antimicrobial peptides (AMPs) in gills through RNA interference. Interestingly, the regulatory effects of MnAP1 on the expression of different AMPs were different. We found that the expression levels of crustins, including Cru1 , Cru3, and Cru4 in the gills were evidently decreased, whereas the synthesis of Cru5 and anti-lipopolysaccharide factors (ALF 3 and ALF4) were obviously increased. We further explored the effect of MnAP1 on the expression of transcription factor relish from M. nipponense. The result showed that the knockdown of MnAP1 can remarkably upregulate the expression of MnRelish. Relish as a member of the nuclear factor κB family that regulates the expression of AMPs in the innate immunity of crustacean. Hence, we also detected the expression levels of Cru5 , ALF3 , and ALF4 in the gills of MnRelish -silenced prawns. The Data showed that the expression levels of these three AMPs were evidently reduced after MnRelish silencing. Our results indicated that MnAP1 plays a positive role in regulating the expression of AMPs, promotes the JNK/AP1 signaling pathway, and exerts a negative regulatory effect on the synthesis of AMPs by inhibiting the transcription of NF-κB factor in the innate immunity of M. nipponense. • A novel activator protein 1 (AP1) was identified from Macrobrachium nipponense. • The expression of MnAP1 was regulated by bacterial challenge. • MnAP1 could positive and negative regulate the expression of different AMPs. [ABSTRACT FROM AUTHOR]