The 21-year-old – who made two substitutes appearances for the Black Cats in the 2010-11 season – was released last month.
“He’s got a good pedigree after coming through a top-class academy at Sunderland,” said Dale’s assistant manager Chris Beech.
Promotion-chasing Rochdale are fourth in the League Two table.