Plant small RNAs play important roles in gene regulation during pathogen infection. Here we show that miR863-3p is induced by the bacterial pathogen Pseudomonas syringae carrying various effectors. Early during infection, miR863-3p silences two negative regulators of plant defence, atypical receptor-like pseudokinase1 (ARLPK1) and ARLPK2, both lacking extracellular domains and kinase activity, through mRNA degradation to promote immunity. ARLPK1 associates with, and may function through another negative immune regulator ARLPK1-interacting receptor-like kinase 1 (AKIK1), an active kinase with an extracellular domain. Later during infection, miR863-3p silences SERRATE, which is essential for miRNA accumulation and positively regulates defence, through translational inhibition. This results in decreased miR863-3p levels, thus forming a negative feedback loop to attenuate immune responses after successful defence. This is an example of a miRNA that sequentially targets both negative and positive regulators of immunity through two modes of action to fine-tune the timing and amplitude of defence responses.