On August 25, 2012, he was traded to the Los Angeles Dodgers (along with Adrián González, Carl Crawford and Nick Punto and $11 million in cash) for James Loney, Iván DeJesús, Jr.,  Allen Webster, and two players to be named later (Jerry Sands and Rubby De La Rosa).
He started seven games for the Dodgers after the trade and was 2–3 with a 2.93 ERA.

Beckett struggled in the early part of the 2013 season with an 0–5 record and 5.19 ERA in eight starts.
He was placed on the disabled list with a groin strain on May 15.
While on the disabled list he began to experience numbness and tingling in his hand so he went to see a nerve specialist and expressed doubt as to whether he would be able to pitch again.
The Dodgers shut him down from pitching for a month while he underwent a rigorous rehabilitation program in an effort to avoid season-ending surgery.
However, the tingling sensation returned when he attempted to resume his throwing program in late June.
He was diagnosed with thoracic outlet syndrome, which required him to undergo surgery on July 10, 2013 that ended his 2013 season.

Beckett's surgery, which included having a rib removed, made him a question mark for the Dodgers heading into 2014.
He returned to the Dodgers on April 9 and made his first start since the previous May, allowing four runs in four innings.
On May 13, he picked up his first win since 2012.

On May 25, 2014, Beckett pitched a no-hitter against the Philadelphia Phillies at Citizens Bank Park, the 21st no-hitter in Dodgers history, and the first since Hideo Nomo did so in the 1996 season.
He was also the first pitcher to no-hit the Phillies since Bob Forsch in 1978.
Beckett threw 128 pitches, struck out six, and walked three en route to the victory.
Beckett also became the oldest pitcher (34) to throw a no hitter since Randy Johnson (40) threw a perfect game in 2004.
He was honored as the National League Player of the Week as a result of that game.

On July 8, 2014, Beckett landed on the disabled list with a left hip impingement, an injury he said had gotten worse as the season went on.
He returned to the rotation on July 22, but struggled when he returned.
In a start on August 3, he was only able to pitch four innings against the Cubs.
Afterward, Beckett told the team that he had experienced renewed discomfort in his injured hip.
An MRI revealed that his hip impingement had resulted in a torn labrum and two cysts, possibly requiring season ending surgery.
He was placed back on the 15-day disabled list on August 8.
On September 3, 2014, Dodgers manager Don Mattingly told reporters that Beckett's season was likely over due to his injury.
A couple of days later, Beckett confirmed that he would not pitch again in 2014 and added that he was also considering retirement.
Beckett officially announced his retirement on October 7, 2014.
On August 25, 2012, he was traded to the Los Angeles Dodgers (along with Adrián González, Carl Crawford and Nick Punto and $11 million in cash) for James Loney, Iván DeJesús, Jr.,  Allen Webster, and two players to be named later (Jerry Sands and Rubby De La Rosa). He started seven games for the Dodgers after the trade and was 2–3 with a 2.93 ERA.
Beckett struggled in the early part of the 2013 season with an 0–5 record and 5.19 ERA in eight starts. He was placed on the disabled list with a groin strain on May 15. While on the disabled list he began to experience numbness and tingling in his hand so he went to see a nerve specialist and expressed doubt as to whether he would be able to pitch again. The Dodgers shut him down from pitching for a month while he underwent a rigorous rehabilitation program in an effort to avoid season-ending surgery. However, the tingling sensation returned when he attempted to resume his throwing program in late June. He was diagnosed with thoracic outlet syndrome, which required him to undergo surgery on July 10, 2013 that ended his 2013 season.
Beckett's surgery, which included having a rib removed, made him a question mark for the Dodgers heading into 2014. He returned to the Dodgers on April 9 and made his first start since the previous May, allowing four runs in four innings. On May 13, he picked up his first win since 2012.
On May 25, 2014, Beckett pitched a no-hitter against the Philadelphia Phillies at Citizens Bank Park, the 21st no-hitter in Dodgers history, and the first since Hideo Nomo did so in the 1996 season. He was also the first pitcher to no-hit the Phillies since Bob Forsch in 1978. Beckett threw 128 pitches, struck out six, and walked three en route to the victory. Beckett also became the oldest pitcher (34) to throw a no hitter since Randy Johnson (40) threw a perfect game in 2004. He was honored as the National League Player of the Week as a result of that game.
On July 8, 2014, Beckett landed on the disabled list with a left hip impingement, an injury he said had gotten worse as the season went on. He returned to the rotation on July 22, but struggled when he returned. In a start on August 3, he was only able to pitch four innings against the Cubs. Afterward, Beckett told the team that he had experienced renewed discomfort in his injured hip. An MRI revealed that his hip impingement had resulted in a torn labrum and two cysts, possibly requiring season ending surgery. He was placed back on the 15-day disabled list on August 8. On September 3, 2014, Dodgers manager Don Mattingly told reporters that Beckett's season was likely over due to his injury. A couple of days later, Beckett confirmed that he would not pitch again in 2014 and added that he was also considering retirement. Beckett officially announced his retirement on October 7, 2014.
Josh Beckett