Millers drawn against Swansea in Capital One CupRotherham United will travel to the Liberty Stadium in the Second Round of the Capital One Cup where they will face Swansea City of the Premier League.
The Millers will make the journey to Wales to play Garry Monk's Swans in the week commencing 25 August 2014.
The fixture will mark the first meeting between the two sides since 2007, when goals from Pawel Abbott and Lee Trundle helped the visitors to a 2-1 win at Millmoor, with Martin Woods scoring a 90th minute consolation for the hosts.
Steve Evans' side overcame local rivals Sheffield Wednesday in the first round of last year's competition before exiting the tournament at Villa Park where they were beaten 3-0 by Paul Lambert's Aston Villa.
Swansea City made it one stage further last time out but were beaten 3-1 by Birmingham City of the Championship in round three.