This longitudinal mixed-methods study examines how task complexity affects Chinese primary school students’ L2 narrative writing performance (CAF) and investigates the mediating roles of writing motivation and anxiety. This research offers evidence-based insights for pedagogical practices in L2 writing task design, particularly for elementary-level L2 writing instruction.