The 30-year-old has not played since winning her two matches to help the United States beat Belgium in their Billie Jean King Cup qualifier in April.
Pegula, who reached the third round at Roland Garros last year, has never advanced past the quarter-finals of a Grand Slam tournament in singles.
She expects to return for the grass season and be playing in the lead-up events to Wimbledon.
“I’m just about back to practising normal (haven’t had any issues for weeks) but played it super safe with recovery and return to play,” Pegula posted on Instagram.
“If I had another five to seven days I would have been there 100%. So I will definitely be back for a full grass season and the rest of the summer and grinding out the rest of the year.”
The first round of the French Open starts on Sunday in Paris.