After the 2012 season, Rojas became a free agent and signed with the Los Angeles Dodgers organization.[3] He spent the 2013 season with the Chattanooga Lookouts of the Double–ASouthern League, where he hit .233 in 130 games.[4] In 2014, he received a non-roster invite to Major League spring training, where he was given a chance to compete for the vacant second base job.[5][6] The Dodgers assigned him to the Triple–A Albuquerque Isotopes to start 2014, where he hit .302 in 51 games.[4]
2014 season
The Dodgers promoted Rojas to the major leagues for the first time on June 6, 2014.[7] He made his major league debut that day as a late-inning defensive replacement.[8] His first hit was a single off Matt Belisle of the Colorado Rockies in his first start on June 8.[4]
Rojas finished the 2014 regular season hitting only .181 with one home run and nine RBIs in 85 games.[4] He frequently took over for Hanley Ramírez at shortstop late in games for defensive purposes. On June 18, he successfully made an extremely difficult defensive play to preserve a no hitter thrown by Clayton Kershaw in the 7th inning.[4]
In 2015, Rojas batted .282 with one home run and 17 RBI in 142 at-bats across 60 games.[4] This earned Rojas more playing time the next season as he appeared in 123 games, slashing .247/.288/.325 with one home run and 14 RBI.[10]
2017 season
In 2017, Rojas missed 62 games due to a broken thumb, but still appeared in 90 games, hitting for a .290.361/.375 batting line with one home run and 26 RBI in 272 at-bats.[4] Rojas also led all NL shortstops in September and October with a .354 batting average and .948 OPS.[11]
2018 season
In 2018, Rojas set career-highs in nearly every offensive category; games played (153), runs (44), hits (123), home runs (11), RBI (53), and stolen bases (6).[12]
2019 season
In 2019, Rojas batted .284/.331/.379, with the lowest isolated power in the National League (.095).[4][13] On September 23, 2019, Rojas agreed to a new two-year contract with the Marlins, worth $10.25 million.[14]
2020 season
In late July 2020, Rojas tested positive for COVID-19.[15][16][17] Despite testing positive, Rojas partnered with the company Stadium Custom Kicks during the 2020 season, branding the partnership as Miggy's Locker. The partnership allowed Rojas to design custom-made cleats to express his passion in shoes and basketball.[18] Overall in 2020, Rojas's batting line was all career-highs, with a .304/.392/.496 line on the year to go along with four home runs and 20 RBI.[4]
2021 season
In 2021, Rojas played in 132 games, collecting 131 hits, 48 RBIs, 13 stolen bases, and a career-high 37 walks.[4] On October 28, 2021, the Marlins signed Rojas to a two-year contract extension worth $10 million.[19]
2022 season
On October 3, 2022, it was announced that Rojas would undergo wrist surgery to repair a torn triangular fibrocartilage complex in his right wrist.[20] He underwent an additional procedure in January after another minor issue arose.[21]
Los Angeles Dodgers (second stint)
On January 11, 2023, Rojas was traded back to the Dodgers in exchange for Jacob Amaya.[22][23]
2023 season
On February 4, the Dodgers announced a contract extension with Rojas that would pay him $5 million for 2024 and included a $5 million club option for 2025.[24][25] While initially expected to be a utility player, Rojas wound up the starting shortstop when Gavin Lux went down with a season ending knee injury in spring training.[26] He played in 124 games, batting .236.[4] He had two hits in six at-bats in the 2023 NLDS.[4]
2024 season
Lux returned in 2024 but moved to second base and Mookie Betts took over at shortstop, leaving Rojas as utility player to start the season before returning to short when Betts was hurt at midseason.[27] He went on the injured list at the end of July with right forearm inflammation[28] and returned August 7.[29] He remained in the lineup until tearing his adductor muscle in late September.[30] For the season, Rojas batted .283 in 103 games.[4] The team voted Rojas the winner of the Roy Campanella Award, which exemplifies the spirit and leadership of the late Hall of Fame catcher.[31] He started at shortstop for the Dodgers to begin the 2024 NLDS, and had two hits in eight at-bats over the first three games of the series.[4] However, he aggravated a leg injury in the third game and did not play in the rest of the series and was left off the roster for the NLCS.[32] Rojas returned to the roster for the 2024 World Series, but only played in Game 2, where he was hitless in three at-bats.[4] He collected his first World Series championship when the Dodgers beat the New York Yankees in five games.[33] After the season, the Dodgers picked up his contract option for the 2025 season.[34]