The team said the operation is set for Thursday in New York and that he is expected to be reevaluated in six weeks.
Washington acquired Miles, 32, from the Memphis Grizzlies this summer for center Dwight Howard. New general manager Tommy Sheppard said the Wizards' medical team has done a "fantastic job of proactively diagnosing C.J.'s condition and establishing a treatment protocol."
The veteran averaged 6.4 points per game last season with Toronto and Memphis. Miles played 838 regular-season NBA games for five teams before joining the Wizards.