Exposure to drugs of abuse induces alterations of dendritic spine morphology and density that has been proposed to be a cellular basis of long-lasting addictive memory and heavily depend on remodeling of its underlying actin cytoskeleton by the actin cytoskeleton regulators. However, the actin cytoskeleton regulators involved and the specific mechanisms whereby drugs of abuse alter their expression or function are largely unknown. Twinfilin (Twf1) is a highly conserved actin-depolymerizing factor that regulates actin dynamics in organisms from yeast to mammals. Despite abundant expression of Twf1 in mammalian brain, little is known about its importance for brain functions such as experience-dependent synaptic and behavioral plasticity. Here we show that conditioned morphine withdrawal (CMW)-induced synaptic structure and behavior plasticity depends on downregulation of Twf1 in the amygdala of rats. Genetically manipulating Twf1 expression in the amygdala bidirectionally regulates CMW-induced changes in actin polymerization, spine density and behavior. We further demonstrate that downregulation of Twf1 is due to upregulation of miR101a expression via a previously unrecognized mechanism involving CMW-induced increases in miR101a nuclear processing via phosphorylation of MeCP2 at Ser421. Our findings establish the importance of Twf1 in regulating opioid-induced synaptic and behavioral plasticity and demonstrate its value as a potential therapeutic target for the treatment of opioid addiction.