Abdulrahman Hassan, 22, of Eden Street, Oldham, admitted two counts of rape, assault by penetration and voyeurism earlier at the same court.
The trial heard the victim was out with another woman at a club in Nantwich on 11 June, Cheshire Police said.
The pair were due to go home about 02:00 BST on 12 June but missed their lift and decided to stay until the club closed at 03:00.