Padres pitching prospect Max Fried will undergo Tommy John surgery next week, the team announced Friday.

Fried, who has been dealing with soreness in his pitching elbow all season, was diagnosed with a torn UCL in recent days after finishing a rehab assignment. He is set to have surgery Aug. 20 and will be out 12-14 months while recovering.

Fried, the team's first pick in the 2012 draft, allowed six runs in 10 2/3 innings of work between rookie-league and Class A before he was hsut down.