On March 10, 2015, the Eagles traded Foles, a 2015 fourth-round pick, and a 2016 second-round pick to the St. Louis Rams in exchange for Sam Bradford and a 2015 fifth-round pick.
Foles signed a two-year, $24.5 million extension with the Rams on August 7, 2015.
Foles's first game with the team came against the division rival Seattle Seahawks, who had the league's No.
1 defense in 2013 and 2014.
Foles went 18 for 27 and passed for 297 yards in the game, and his lone passing touchdown came with 53 seconds left, bringing the game into overtime.
He also ran for 11 yards and 1 touchdown, which put the Rams in the lead in the middle of the second quarter.
In overtime, Foles threw a 22-yard pass to wide receiver Stedman Bailey, which set up the Rams' game-winning field goal over the defending NFC Champions.

Following the dramatic win, Foles struggled against his former divisional rival, the Washington Redskins.
Although he didn't turn the ball over, he only completed 17 passes out of 32 for 150 yards and the Rams lone touchdown as they lost 24–10.
Foles' accuracy improved the following week, going 19–28 for 197 yards, but he threw no touchdowns and his first interception as a Ram against the Pittsburgh Steelers, and the Rams dropped to 1–2.
Following the two losses, Foles bounced back, going 16–24 for 3 touchdowns and no turnovers to hand the 3–0 Arizona Cardinals their first loss of the season.
After that game, Foles' problems with turnovers from 2014 started to show, as he completed 11 passes out of 30 for 141 yards, 1 touchdown, and a career-high 4 interceptions against the Green Bay Packers.
On November 16 Foles was benched in favor of Case Keenum.
He won his starting job back two weeks later after Keenum was out with a concussion, but his struggles worsened.
In a loss against Cincinnati Bengals, he went 30–46 for 228 yards (his second highest total of the year) and 3 interceptions, and followed it up by going 15/35 for 146 yards and 1 interception in a 27–3 loss to the Arizona Cardinals.
Foles was again benched after Keenum returned from his concussion.

Upset that the now-Los Angeles Rams drafted quarterback Jared Goff with the first overall pick of the 2016 NFL draft, Foles requested and was granted a release on July 27, 2016.
On March 10, 2015, the Eagles traded Foles, a 2015 fourth-round pick, and a 2016 second-round pick to the St. Louis Rams in exchange for Sam Bradford and a 2015 fifth-round pick. Foles signed a two-year, $24.5 million extension with the Rams on August 7, 2015. Foles's first game with the team came against the division rival Seattle Seahawks, who had the league's No. 1 defense in 2013 and 2014. Foles went 18 for 27 and passed for 297 yards in the game, and his lone passing touchdown came with 53 seconds left, bringing the game into overtime. He also ran for 11 yards and 1 touchdown, which put the Rams in the lead in the middle of the second quarter. In overtime, Foles threw a 22-yard pass to wide receiver Stedman Bailey, which set up the Rams' game-winning field goal over the defending NFC Champions.
Following the dramatic win, Foles struggled against his former divisional rival, the Washington Redskins. Although he didn't turn the ball over, he only completed 17 passes out of 32 for 150 yards and the Rams lone touchdown as they lost 24–10. Foles' accuracy improved the following week, going 19–28 for 197 yards, but he threw no touchdowns and his first interception as a Ram against the Pittsburgh Steelers, and the Rams dropped to 1–2. Following the two losses, Foles bounced back, going 16–24 for 3 touchdowns and no turnovers to hand the 3–0 Arizona Cardinals their first loss of the season. After that game, Foles' problems with turnovers from 2014 started to show, as he completed 11 passes out of 30 for 141 yards, 1 touchdown, and a career-high 4 interceptions against the Green Bay Packers. On November 16 Foles was benched in favor of Case Keenum. He won his starting job back two weeks later after Keenum was out with a concussion, but his struggles worsened. In a loss against Cincinnati Bengals, he went 30–46 for 228 yards (his second highest total of the year) and 3 interceptions, and followed it up by going 15/35 for 146 yards and 1 interception in a 27–3 loss to the Arizona Cardinals. Foles was again benched after Keenum returned from his concussion.
Upset that the now-Los Angeles Rams drafted quarterback Jared Goff with the first overall pick of the 2016 NFL draft, Foles requested and was granted a release on July 27, 2016.
Nick Foles