Yoshinobu Yamamoto will have two opportunities to opt out of his 12-year, $325 million contract with the Los Angeles Dodgers, with the timing tied to his pitching elbow's health.

If Yamamoto has Tommy John surgery or is on the injured list for a right elbow injury for 134 consecutive service days from 2024 to '29, he would have the right to opt out after the 2031 and 2033 World Series, according to a report.

If he avoids Tommy John surgery and doesn't miss that much time with an elbow issue during that window, he can instead opt out after the 2029 and 2031 World Series.

In the first scenario, the Dodgers would gain a $10 million conditional option for 2036 with no buyout.

Yamamoto does not have the right to block trades but could opt out of the contract after the end of any season in which he is traded.