Boro will host Brighton & Hove Albion in the third round of the Emirates FA Cup.
Michael Carrick's side were drawn at home to the Premier League club on Monday evening.
Boro's last outing against Brighton was at the same stage of the FA Cup in 2018, the Seagulls edging it 1-0 thanks to a late goal from Glenn Murray.
The match will be played on the weekend of 7 January.