The Baltimore Sun confirmed the report, but added that the deal has not been finalized.
Hanie spent last season with the Broncos, but spent most of the year inactive as the No. 3 quarterback in Denver behind Peyton Manning and Brock Osweiler.
Before signing with Denver, Hanie spent three seasons in Chicago (2009-11) where he started four games and played a central role in the 2010 NFC Championship game. Hanie was thrust into action in the third quarter of the title game when starter Jay Cutler and No. 2 quarterback Todd Collins both went down with injuries.
Hanie led the Bears on their only two scoring drives of the game, but he also threw a pick-6 to Packers defensive lineman B.J. Raji in Chicago's 21-14 loss.
All four of Hanie's career starts came in 2011 after Cutler went down with a thumb injury in Week 11. Hanie went 0-4 in those starts, throwing nine interceptions and only two touchdown passes.
In Baltimore, Hanie will most likely compete with Tyrod Taylor for the right to backup Joe Flacco. Taylor has been the Ravens' No. 2 quarterback since 2011 when Baltimore selected him in the sixth round of the NFL Draft.
Being Flacco's backup is generally a painless job. Since he became the Ravens starter in 2008, Baltimore's backup quarterbacks have only combined to throw 43 passes in five years -- and 29 of those came last season when Flacco was benched after two series in a meaningless Week 17 game against the Bengals.
Keep your eye on everything NFL by following John Breech on Twitter @JohnBreech.