A system and method for anchoring an electrode that stimulates a dorsal root ganglion. The anchoring device includes a screw, collet, and locking cap. The screw is inserted into bone of the pars interarticularis and the electrode is inserted through the screw and positioned next to the dorsal root ganglion for stimulation. The screw includes a recess that is shaped to fit the collet. The collet has flexible arms. When assembled, the locking cap forces the collet into the recess thereby moving the flexible arms inward radially, impinging on the electrode and holding the electrode in place adjacent the dorsal root ganglion.