The procedure will be done between two vertebra, and Ojeda expects to be back on the field within 2-3 days.
Infielder Darwin Barney has had a sensational spring and has all but won the backup shortstop job that he had been competing for with Ojeda, who has had just eight at-bats in seven games this spring.
Ojeda signed a minor league contract with the Cubs on Jan. 26. Although contractually obligated, it's uncertain whether the 36-year-old Ojeda would accept a minor league assignment.
Bruce Levine covers baseball for ESPNChicago.com and ESPN 1000.