Guard John Hart had been feeling pain in his right foot for about three weeks before an MRI revealed a stress fracture, coach Matt Painter said Monday.
It was announced on Sunday that Hart will have surgery this week and miss at least a month.
Hart was wearing a boot on his right foot after Purdue's victory over Alabama on Saturday. Painter said he didn't know when Hart had an MRI that revealed the extent of the injury.
Hart scored 12 points in 20 minutes against the Tide.
"You just have a choice whether you want to have surgery now or to continue to play," Painter said during a conference call with reporters Monday morning. "You continue to play, you're going to have a chance that that fifth metatarsal is going to pop at some time, and you would have a two-month rehab instead of the month rehab if you go ahead and have the surgery.
"John's done a good job for us. He's battled through this. It was a tough decision. The biggest upside was to have the surgery right now instead of playing through it. I thought he made the right decision."